Ich möchte das dann hier zum Abschluss bringen, das NAS ist heute zusammengebaut worden. Hier zwei Fotos.
IMG_20200425_102156_ergebnis.jpg
IMG_20200425_102206_ergebnis.jpg
Kamil war mal endlich wieder fleißig Als ich heute nach Hause kam, gab es 4.18.0-rc3-1031-ayufan. Das erste 4.18er Release von Kamil. Installiert, getestet und PCIe funktioniert nicht mehr. Schnell mal geschaut ob Kamil anwesend ist und eine knappe Stunde später hat er das Problem gefixt.
4.18.0-rc3-1033-ayufan
An USB3 erhalte ich folgendes
rock64@rockpro64:/media$ sudo dd if=/dev/zero of=sd.img bs=1M count=4096 conv=fdatasync
4096+0 records in
4096+0 records out
4294967296 bytes (4,3 GB, 4,0 GiB) copied, 33,5913 s, 128 MB/s
An meiner PCIe-Platte
rock64@rockpro64:/mnt$ sudo dd if=/dev/zero of=sd.img bs=1M count=4096 conv=fdatasync
4096+0 records in
4096+0 records out
4294967296 bytes (4,3 GB, 4,0 GiB) copied, 17,3187 s, 248 MB/s
Das war schon mal schneller, oder!? Kontrolle mit iozone
rock64@rockpro64:/mnt$ sudo iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
[sudo] password for rock64:
Iozone: Performance Test of File I/O
Version $Revision: 3.429 $
Compiled for 64 bit mode.
Build: linux
Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
Al Slater, Scott Rhine, Mike Wisner, Ken Goss
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
Vangel Bojaxhi, Ben England, Vikentsi Lapa.
Run began: Tue Jul 3 18:12:06 2018
Include fsync in write timing
O_DIRECT feature enabled
Auto Mode
File size set to 102400 kB
Record Size 4 kB
Record Size 16 kB
Record Size 512 kB
Record Size 1024 kB
Record Size 16384 kB
Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Output is in kBytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 kBytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
random random bkwd record stride
kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
102400 4 49083 105362 114910 115946 49053 103581
102400 16 169898 277387 296134 298721 163070 274770
102400 512 588242 636139 608484 617745 556516 633581
102400 1024 619948 650514 617928 627797 595345 649651
102400 16384 508885 755782 766938 782370 779863 754333
iozone test complete.
Noch ein kurzer Test meiner SSD mit iozone am USB3 und am USB2-Anschluß
rock64@rockpro64:/media$ uname -a
Linux rockpro64 4.18.0-rc3-1033-ayufan-gd258212d8c0f #1 SMP PREEMPT Tue Jul 3 15:27:29 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
rock64@rockpro64:/media$ sudo iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Iozone: Performance Test of File I/O
Version $Revision: 3.429 $
Compiled for 64 bit mode.
Build: linux
Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
Al Slater, Scott Rhine, Mike Wisner, Ken Goss
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
Vangel Bojaxhi, Ben England, Vikentsi Lapa.
Run began: Tue Jul 3 21:04:07 2018
Include fsync in write timing
O_DIRECT feature enabled
Auto Mode
File size set to 102400 kB
Record Size 4 kB
Record Size 16 kB
Record Size 512 kB
Record Size 1024 kB
Record Size 16384 kB
Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Output is in kBytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 kBytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
random random bkwd record stride
kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
102400 4 23225 23688 30236 43705 17631 11938
102400 16 60901 48038 120371 121827 40316 38099
102400 512 260355 264172 234637 237762 234796 279171
102400 1024 262514 183559 129129 269448 267381 289946
102400 16384 128452 312479 301304 311866 360612 323572
iozone test complete.
rock64@rockpro64:/media$ sudo iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Iozone: Performance Test of File I/O
Version $Revision: 3.429 $
Compiled for 64 bit mode.
Build: linux
Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
Al Slater, Scott Rhine, Mike Wisner, Ken Goss
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
Vangel Bojaxhi, Ben England, Vikentsi Lapa.
Run began: Tue Jul 3 21:08:37 2018
Include fsync in write timing
O_DIRECT feature enabled
Auto Mode
File size set to 102400 kB
Record Size 4 kB
Record Size 16 kB
Record Size 512 kB
Record Size 1024 kB
Record Size 16384 kB
Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Output is in kBytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 kBytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
random random bkwd record stride
kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
102400 4 7923 7446 10083 10662 6661 7399
102400 16 17989 18746 23508 23140 17249 23853
102400 512 33339 33195 33530 33648 33301 33476
102400 1024 33750 30821 32604 34825 34629 33741
102400 16384 33651 34174 35672 35858 35787 34147
Kamil hat endlich das Reboot Problem hinbekommen. Fettes Danke schön!! Nun kann man endlich einfach
sudo reboot
eintippen und die Kiste lebt danach wieder Im Moment wird auch die NVMe SSD korrekt eingebunden.
rock64@rockpro64:/mnt$ uname -a
Linux rockpro64 4.18.0-rc3-1037-ayufan-gb95494bd8d0f #1 SMP PREEMPT Tue Jul 3 20:00:21 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
rock64@rockpro64:/mnt$ sudo iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Iozone: Performance Test of File I/O
Version $Revision: 3.429 $
Compiled for 64 bit mode.
Build: linux
Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
Al Slater, Scott Rhine, Mike Wisner, Ken Goss
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
Vangel Bojaxhi, Ben England, Vikentsi Lapa.
Run began: Wed Jul 4 14:33:19 2018
Include fsync in write timing
O_DIRECT feature enabled
Auto Mode
File size set to 102400 kB
Record Size 4 kB
Record Size 16 kB
Record Size 512 kB
Record Size 1024 kB
Record Size 16384 kB
Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Output is in kBytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 kBytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
random random bkwd record stride
kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
102400 4 54400 112108 122677 123147 48970 110305
102400 16 187878 333338 354818 358794 177519 330848
102400 512 950675 1041740 919524 941410 772637 1010119
102400 1024 985240 1039340 938399 961619 867759 1082360
102400 16384 693795 1359947 1338852 1388810 1376730 1356480
iozone test complete.
rock64@rockpro64:/mnt$ iperf3 -c 192.168.3.213
Connecting to host 192.168.3.213, port 5201
[ 4] local 192.168.3.3 port 43660 connected to 192.168.3.213 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 114 MBytes 956 Mbits/sec 0 335 KBytes
[ 4] 1.00-2.00 sec 112 MBytes 943 Mbits/sec 11 288 KBytes
[ 4] 2.00-3.00 sec 112 MBytes 941 Mbits/sec 11 320 KBytes
[ 4] 3.00-4.00 sec 112 MBytes 941 Mbits/sec 0 349 KBytes
[ 4] 4.00-5.00 sec 112 MBytes 942 Mbits/sec 11 315 KBytes
[ 4] 5.00-6.00 sec 112 MBytes 941 Mbits/sec 11 308 KBytes
[ 4] 6.00-7.00 sec 112 MBytes 942 Mbits/sec 11 322 KBytes
[ 4] 7.00-8.00 sec 112 MBytes 941 Mbits/sec 10 315 KBytes
[ 4] 8.00-9.00 sec 112 MBytes 941 Mbits/sec 10 338 KBytes
[ 4] 9.00-10.00 sec 112 MBytes 941 Mbits/sec 21 334 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 1.10 GBytes 943 Mbits/sec 96 sender
[ 4] 0.00-10.00 sec 1.10 GBytes 941 Mbits/sec receiver
iperf Done.
rock64@rockpro64:/mnt$ iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.3.213, port 40238
[ 5] local 192.168.3.3 port 5201 connected to 192.168.3.213 port 40240
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.00 sec 109 MBytes 913 Mbits/sec
[ 5] 1.00-2.00 sec 112 MBytes 942 Mbits/sec
[ 5] 2.00-3.00 sec 112 MBytes 941 Mbits/sec
[ 5] 3.00-4.00 sec 112 MBytes 941 Mbits/sec
[ 5] 4.00-5.00 sec 112 MBytes 941 Mbits/sec
[ 5] 5.00-6.00 sec 112 MBytes 940 Mbits/sec
[ 5] 6.00-7.00 sec 112 MBytes 941 Mbits/sec
[ 5] 7.00-8.00 sec 112 MBytes 941 Mbits/sec
[ 5] 8.00-9.00 sec 112 MBytes 941 Mbits/sec
[ 5] 9.00-10.00 sec 112 MBytes 942 Mbits/sec
[ 5] 10.00-10.03 sec 3.05 MBytes 939 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-10.03 sec 0.00 Bytes 0.00 bits/sec sender
[ 5] 0.00-10.03 sec 1.10 GBytes 938 Mbits/sec receiver
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
SSD SanDisk SSD plus 250GB
rock64@rockpro64:/mnt$ sudo su
root@rockpro64:/mnt# mount /dev/sda1 /media
root@rockpro64:/mnt# cd /media
root@rockpro64:/media# sudo iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Iozone: Performance Test of File I/O
Version $Revision: 3.429 $
Compiled for 64 bit mode.
Build: linux
Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
Al Slater, Scott Rhine, Mike Wisner, Ken Goss
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
Vangel Bojaxhi, Ben England, Vikentsi Lapa.
Run began: Wed Jul 4 14:41:21 2018
Include fsync in write timing
O_DIRECT feature enabled
Auto Mode
File size set to 102400 kB
Record Size 4 kB
Record Size 16 kB
Record Size 512 kB
Record Size 1024 kB
Record Size 16384 kB
Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Output is in kBytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 kBytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
random random bkwd record stride
kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
102400 4 25017 32476 45514 45759 17746 14057
102400 16 58424 97006 126970 129510 52868 51883
102400 512 276594 286436 260954 265792 261403 286173
102400 1024 301257 314764 282678 289621 279472 312712
102400 16384 307456 170212 193047 313594 380916 211619
iozone test complete.
Angeschlossen
Reboot ohne Probleme. Mehrmals ohne Probleme getestet.
So langsam wird das eine geile Kiste LOL
4.18.0-rc3-1046-ayufan released
beinhaltet eine Änderung für den ROCKPro64, irgendwas mit der SD-Karte.
Mit dem Unterbau 0.7.7, das Beste was ich bis jetzt hier hatte. Bei jedem Booten kein Problem, jedes mal wird die NVMe-Karte erkannt. Juhu. Weiter testen......
Kleines Problem - der Power-Button hat keine Funktion. Lt. Kamil liegt das am fehlenden Suspend-Modul im Mainline. Issue
4.18.0-rc5-1048-ayufan released
Dieses Release ist als Latest Release gekennzeichnet. Heißt, wir haben hier einen ausreichend stabilen Stand.
Auch hier gilt, Beiträge die ich mit kennzeichne könnt Ihr installieren, diese sind ausreichend getestet.
4.20.0-rc6-1075-ayufan released
Jede Menge Änderungen im dts File, die aber von Kamil noch nicht angepasst sind. Mein Testimage hier läuft mit PCIe NVMe SSD nicht. Also, noch abwarten!!
(19:26:49) FrankM: ayufan5: 4.20 without pcie ? nvm card don't recognized. with 4.4 no problem.
(19:31:02) ayufan5: FrankM: I did not yet fix dts
4.20.0-1077-ayufan released
Änderungen sind mir zur Zeit noch nicht bekannt. Test steht noch aus.
PCIe NVMe Karte geht wieder.
rock64@rockpro64:/mnt$ uname -a
Linux rockpro64 4.20.0-1077-ayufan-gdeb16128b458 #ayufan SMP PREEMPT Sun Dec 30 12:00:17 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
rock64@rockpro64:/mnt$ sudo iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Iozone: Performance Test of File I/O
Version $Revision: 3.429 $
Compiled for 64 bit mode.
Build: linux
Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
Al Slater, Scott Rhine, Mike Wisner, Ken Goss
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
Vangel Bojaxhi, Ben England, Vikentsi Lapa.
Run began: Sun Dec 30 13:50:15 2018
Include fsync in write timing
O_DIRECT feature enabled
Auto Mode
File size set to 102400 kB
Record Size 4 kB
Record Size 16 kB
Record Size 512 kB
Record Size 1024 kB
Record Size 16384 kB
Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Output is in kBytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 kBytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
random random bkwd record stride
kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
102400 4 105475 150901 165040 168152 55921 146649
102400 16 323077 419261 446377 452714 199703 418553
102400 512 1035241 1048622 962876 983026 776039 1044747
102400 1024 1066733 1024204 922389 946779 863405 1042164
102400 16384 942288 1384367 1395018 1457672 1446158 1372405
iozone test complete.
4.20.0-1081-ayufan & 4.20.0-1083-ayufan released
1081 & 1083
mmc: core: Add MMC Command Queue Support kernel parameter
This parameter offers a workaround for cards that report command queue
(CMDQ) support but don't work correctly when CMDQ is enabled. At least
some ROCKPro64 + Foresee (32GB) eMMC card combinations have trouble
working correctly. Setting mmc_cmdqueue=off in kernel command line
disables CMDQ support and may help with troublesome hardware.