Hello Arnd,
Here are the results for the Kingston CF 2GB (Assy in TAIWAN). The one marked with (Assy in Japan) have another size, and probabbly other characteristics. Could the size be related to the number of open-au's ?
Philippe
tmp179:~ # cat /proc/partitions major minor #blocks name
8 0 244198584 sda 8 1 2103296 sda1 8 2 20972544 sda2 8 16 1982232 sdb 8 17 1975963 sdb1 tmp179:~ # ./flashbench -a -b 1024 /dev/sdb sched_setscheduler: Operation not permitted align 67108864 pre 343µs on 370µs post 321µs diff 37.5µs align 33554432 pre 342µs on 367µs post 319µs diff 36.5µs align 16777216 pre 342µs on 368µs post 320µs diff 36.5µs align 8388608 pre 343µs on 368µs post 318µs diff 37.1µs align 4194304 pre 342µs on 368µs post 319µs diff 37.1µs align 2097152 pre 343µs on 368µs post 319µs diff 37µs align 1048576 pre 344µs on 370µs post 320µs diff 38.3µs align 524288 pre 322µs on 350µs post 344µs diff 17.1µs align 262144 pre 320µs on 349µs post 344µs diff 16.8µs align 131072 pre 321µs on 349µs post 344µs diff 16.9µs align 65536 pre 321µs on 350µs post 344µs diff 17.2µs align 32768 pre 323µs on 351µs post 344µs diff 18µs align 16384 pre 320µs on 326µs post 321µs diff 5.4µs align 8192 pre 321µs on 325µs post 320µs diff 5µs align 4096 pre 320µs on 326µs post 321µs diff 5.6µs align 2048 pre 320µs on 325µs post 321µs diff 4.85µs tmp179:~ # hdparm -i /dev/sdb
/dev/sdb:
Model=CF CARD 2GB, FwRev=20071116, SerialNo=CF 2GB 20051F71 Config={ HardSect NotMFM Fixed DTR>10Mbs } RawCHS=3933/16/63, TrkSize=0, SectSize=576, ECCbytes=4 BuffType=DualPort, BuffSize=1kB, MaxMultSect=1, MultSect=off CurCHS=3933/16/63, CurSects=3964464, LBA=yes, LBAsects=3964464 IORDY=no, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: *mdma0 mdma1 mdma2 AdvancedPM=no
* signifies the current active mode
tmp179:~ # for i in `seq 1 10`; do echo $i; ./flashbench --open-au --open-au-nr=$i --erasesize=$[1024 * 1024] --blocksize=16384 /dev/sdb; done 1 sched_setscheduler: Operation not permitted 1MiB 11M/s 512KiB 11.1M/s 256KiB 11M/s 128KiB 11M/s 64KiB 10.7M/s 32KiB 10M/s 16KiB 8.83M/s 2 sched_setscheduler: Operation not permitted 1MiB 11.1M/s 512KiB 11.1M/s 256KiB 11.1M/s 128KiB 11.1M/s 64KiB 10.7M/s 32KiB 10.1M/s 16KiB 8.87M/s 3 sched_setscheduler: Operation not permitted 1MiB 11.1M/s 512KiB 11.1M/s 256KiB 11.1M/s 128KiB 11.1M/s 64KiB 10.8M/s 32KiB 10.1M/s 16KiB 8.85M/s 4 sched_setscheduler: Operation not permitted 1MiB 11.1M/s 512KiB 8.32M/s 256KiB 4.56M/s 128KiB 2.39M/s ^C tmp179:~ # for i in `seq 1 10`; do echo $i; ./flashbench --open-au --open-au-nr=$i --erasesize=$[1024 * 1024] --blocksize=16384 /dev/sdb --random; done 1 sched_setscheduler: Operation not permitted 1MiB 11.1M/s 512KiB 11.1M/s 256KiB 7.38M/s 128KiB 6.18M/s 64KiB 6.12M/s 32KiB 6.47M/s 16KiB 7.04M/s 2 sched_setscheduler: Operation not permitted 1MiB 7.37M/s 512KiB 8.05M/s 256KiB 6.72M/s 128KiB 6.4M/s 64KiB 6.53M/s 32KiB 6.55M/s 16KiB 7.04M/s 3 sched_setscheduler: Operation not permitted 1MiB 8.66M/s 512KiB 9.11M/s 256KiB 6.79M/s 128KiB 5.55M/s 64KiB 4.24M/s 32KiB 4.05M/s 16KiB 3.92M/s 4 sched_setscheduler: Operation not permitted 1MiB 9.37M/s 512KiB 9.67M/s 256KiB 6.73M/s 128KiB 4.79M/s 64KiB 3.32M/s 32KiB 3.07M/s 16KiB 3.52M/s 5 sched_setscheduler: Operation not permitted 1MiB 9.8M/s 512KiB 7.8M/s 256KiB 4.75M/s 128KiB 4.21M/s 64KiB 2.99M/s 32KiB 2.46M/s 16KiB 2.75M/s 6 sched_setscheduler: Operation not permitted 1MiB 11.4M/s 512KiB 7.1M/s 256KiB 4.03M/s 128KiB 2.7M/s 64KiB 2.83M/s 32KiB 2.38M/s 16KiB 2.45M/s 7 sched_setscheduler: Operation not permitted 1MiB 11.4M/s 512KiB 6.71M/s 256KiB 3.73M/s 128KiB 2.43M/s 64KiB 2.49M/s 32KiB 2.07M/s 16KiB 2.11M/s 8 sched_setscheduler: Operation not permitted 1MiB 11.4M/s 512KiB 6.4M/s 256KiB 3.5M/s 128KiB 2.26M/s 64KiB 2.23M/s 32KiB 1.85M/s 16KiB 1.86M/s 9 sched_setscheduler: Operation not permitted 1MiB 11.4M/s 512KiB 6.18M/s 256KiB 3.33M/s 128KiB 2.1M/s 64KiB 2.04M/s 32KiB 1.65M/s 16KiB 1.66M/s 10 sched_setscheduler: Operation not permitted 1MiB 11.4M/s 512KiB 6M/s 256KiB 3.18M/s 128KiB 1.99M/s 64KiB 1.88M/s 32KiB 1.52M/s 16KiB 1.51M/s (reverse-i-search)`fat': ./flashbench --findfat --^Ct-nr=10 --erasesize=$[2 * 1024 * 1024] --blocksize=1024 /dev/sdb tmp179:~ # ./flashbench --findfat --fat-nr=10 --erasesize=$[1024 * 1024] --blocksize=1024 /dev/sdb sched_setscheduler: Operation not permitted 1MiB 4.32M/s 11.4M/s 11.4M/s 11.4M/s 11.4M/s 11.2M/s 11.3M/s 11.4M/s 11.3M/s 11.4M/s 512KiB 11.3M/s 11.4M/s 11.1M/s 11.4M/s 11.4M/s 11.4M/s 11.4M/s 11.4M/s 11M/s 11.4M/s 256KiB 11.4M/s 11.4M/s 11.2M/s 11.2M/s 11.2M/s 11.2M/s 11.3M/s 11.4M/s 11.4M/s 11.3M/s 128KiB 11.3M/s 11.3M/s 11.2M/s 11.4M/s 11.4M/s 11.4M/s 11.4M/s 11.2M/s 11.3M/s 11.4M/s 64KiB 11M/s 11M/s 11M/s 11M/s 10.8M/s 11M/s 11M/s 11M/s 11M/s 11M/s 32KiB 9.98M/s 10.3M/s 10.3M/s 10.3M/s 10.2M/s 10.1M/s 10.2M/s 10.2M/s 10.2M/s 10.3M/s 16KiB 8.99M/s 9.01M/s 9.01M/s 8.99M/s 8.94M/s 9.02M/s 9.03M/s 9.03M/s 9.01M/s 8.95M/s 8KiB 7.2M/s 7.23M/s 7.23M/s 7.22M/s 7.21M/s 7.23M/s 7.13M/s 7.23M/s 7.23M/s 7.22M/s 4KiB 4.98M/s 4.97M/s 4.83M/s 4.97M/s 4.97M/s 4.97M/s 4.92M/s 4.91M/s 4.93M/s 4.93M/s 2KiB 3.04M/s 3.06M/s 3.05M/s 3.06M/s 3.05M/s 3.06M/s 3.03M/s 3.06M/s 3.06M/s 3.06M/s 1KiB 1.26M/s 1.26M/s 1.26M/s 1.26M/s 1.25M/s 1.26M/s 1.26M/s 1.24M/s 1.26M/s 1.25M/s tmp179:~ # ./flashbench --findfat --fat-nr=10 --erasesize=$[1024 * 1024] --blocksize=1024 /dev/sdb sched_setscheduler: Operation not permitted 1MiB 11.2M/s 11.4M/s 11.4M/s 11.3M/s 11.4M/s 11.4M/s 11.4M/s 11.3M/s 11.4M/s 11.4M/s 512KiB 11.4M/s 11.2M/s 11.4M/s 11.4M/s 11.4M/s 11.4M/s 11.4M/s 11.4M/s 11.2M/s 11.3M/s 256KiB 11M/s 11.4M/s 11.4M/s 11.3M/s 11.4M/s 11.3M/s 11.1M/s 11.4M/s 11.4M/s 11M/s 128KiB 11.4M/s 11.2M/s 11.3M/s 11.4M/s 11.4M/s 11.3M/s 11.4M/s 11.3M/s 11.4M/s 11.3M/s 64KiB 11M/s 11M/s 11M/s 10.9M/s 11M/s 11M/s 11M/s 11M/s 11M/s 11M/s 32KiB 10.1M/s 10.2M/s 10M/s 10.4M/s 10.3M/s 10.3M/s 10.3M/s 10.3M/s 10.1M/s 10.3M/s 16KiB 9.03M/s 8.82M/s 9.02M/s 8.93M/s 8.94M/s 9.01M/s 9.03M/s 9M/s 9.02M/s 9.01M/s 8KiB 7.24M/s 7.22M/s 7.23M/s 7.21M/s 7.22M/s 7.17M/s 7.24M/s 7.23M/s 7.22M/s 7.23M/s 4KiB 4.97M/s 4.98M/s 4.92M/s 4.93M/s 4.84M/s 4.99M/s 4.97M/s 4.96M/s 4.97M/s 4.96M/s 2KiB 3.01M/s 3.06M/s 3.06M/s 2.97M/s 3.05M/s 3.03M/s 3.03M/s 3.05M/s 3.06M/s 3.05M/s 1KiB 1.26M/s 1.26M/s 1.26M/s 1.26M/s 1.26M/s 1.26M/s 1.26M/s 1.25M/s 1.24M/s 1.26M/s tmp179:~ #