arnd@klappe2:~/git/flashbench$ sudo ./flashbench -a /dev/mmcblk0 --blocksize=1024 align 3221225472 pre 1.26ms on 1.59ms post 1.22ms diff 351µs align 2147483648 pre 1.41ms on 1.68ms post 1.27ms diff 338µs align 1610612736 pre 1.49ms on 1.67ms post 1.25ms diff 301µs align 1073741824 pre 1.37ms on 1.65ms post 1.25ms diff 344µs align 805306368 pre 1.27ms on 1.55ms post 1.17ms diff 334µs align 536870912 pre 1.16ms on 1.56ms post 1.16ms diff 403µs align 402653184 pre 1.23ms on 1.52ms post 1.11ms diff 354µs align 268435456 pre 1.09ms on 1.48ms post 1.08ms diff 389µs align 201326592 pre 1.16ms on 1.4ms post 1.09ms diff 282µs align 134217728 pre 1.3ms on 1.56ms post 1.09ms diff 362µs align 100663296 pre 1.33ms on 1.54ms post 1.08ms diff 340µs align 67108864 pre 1.2ms on 1.54ms post 1.09ms diff 399µs align 50331648 pre 1.27ms on 1.45ms post 1.1ms diff 270µs align 33554432 pre 1.21ms on 1.5ms post 1.1ms diff 340µs align 25165824 pre 1.27ms on 1.5ms post 1.13ms diff 297µs align 16777216 pre 1.15ms on 1.47ms post 1.12ms diff 338µs align 12582912 pre 1.3ms on 1.52ms post 1.14ms diff 302µs align 8388608 pre 1.3ms on 1.63ms post 1.13ms diff 416µs align 6291456 pre 1.32ms on 1.56ms post 1.21ms diff 295µs align 4194304 pre 1.21ms on 1.48ms post 1.16ms diff 299µs align 3145728 pre 1.17ms on 1.27ms post 1.17ms diff 99.4µs align 2097152 pre 1.25ms on 1.58ms post 1.13ms diff 388µs align 1572864 pre 1.25ms on 1.39ms post 1.26ms diff 139µs align 1048576 pre 1.24ms on 1.37ms post 1.24ms diff 134µs align 786432 pre 1.24ms on 1.37ms post 1.24ms diff 136µs align 524288 pre 1.24ms on 1.37ms post 1.24ms diff 127µs align 393216 pre 1.25ms on 1.37ms post 1.24ms diff 127µs align 262144 pre 1.24ms on 1.39ms post 1.25ms diff 140µs align 196608 pre 1.25ms on 1.37ms post 1.24ms diff 127µs align 131072 pre 1.26ms on 1.4ms post 1.26ms diff 134µs align 98304 pre 1.25ms on 1.4ms post 1.26ms diff 140µs align 65536 pre 1.27ms on 1.39ms post 1.26ms diff 128µs align 49152 pre 1.27ms on 1.39ms post 1.24ms diff 141µs align 32768 pre 1.25ms on 1.38ms post 1.24ms diff 135µs align 24576 pre 1.22ms on 1.26ms post 1.22ms diff 42.4µs align 16384 pre 1.23ms on 1.35ms post 1.22ms diff 130µs align 12288 pre 1.23ms on 1.29ms post 1.25ms diff 48.3µs align 8192 pre 1.22ms on 1.26ms post 1.22ms diff 42.2µs align 6144 pre 1.22ms on 1.26ms post 1.22ms diff 43.4µs align 4096 pre 1.22ms on 1.26ms post 1.22ms diff 43.9µs align 3072 pre 1.22ms on 1.22ms post 1.22ms diff -844ns align 2048 pre 1.22ms on 1.26ms post 1.22ms diff 42.5µs
arnd@klappe2:~/git/flashbench$ head /sys/block/mmcblk0/device/* ==> /sys/block/mmcblk0/device/cid <== 275048534431364720e5000e12008b00 ==> /sys/block/mmcblk0/device/csd <== 400e00325b59000078377f800a400000 ==> /sys/block/mmcblk0/device/date <== 11/2008 ==> /sys/block/mmcblk0/device/erase_size <== 512 ==> /sys/block/mmcblk0/device/fwrev <== 0x0 ==> /sys/block/mmcblk0/device/hwrev <== 0x2 ==> /sys/block/mmcblk0/device/manfid <== 0x000027 ==> /sys/block/mmcblk0/device/name <== SD16G ==> /sys/block/mmcblk0/device/oemid <== 0x5048 ==> /sys/block/mmcblk0/device/preferred_erase_size <== 4194304 ==> /sys/block/mmcblk0/device/scr <== 0235000001000000 ==> /sys/block/mmcblk0/device/serial <== 0xe5000e12 ==> /sys/block/mmcblk0/device/type <== SD ==> /sys/block/mmcblk0/device/uevent <== DRIVER=mmcblk MMC_TYPE=SD MMC_NAME=SD16G MODALIAS=mmc:block
arnd@klappe2:~/git/flashbench$ sudo fdisk -ul /dev/mmcblk0
Disk /dev/mmcblk0: 16.1 GB, 16135487488 bytes 64 heads, 32 sectors/track, 15388 cylinders, total 31514624 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0008041b
Device Boot Start End Blocks Id System /dev/mmcblk0p1 * 32 31514623 15757296 c W95 FAT32 (LBA)
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --erasesize=$[4194304/2] --blocksize=8192 /dev/mmcblk0 --random --findfat --fat-nr=6 2MiB 2.69M/s 2.75M/s 2.66M/s 2.78M/s 10.5M/s 10.4M/s 1MiB 2.77M/s 2.79M/s 2.71M/s 2.69M/s 7.87M/s 5.76M/s 512KiB 2.66M/s 2.78M/s 2.74M/s 2.75M/s 4.06M/s 4.16M/s 256KiB 2.76M/s 2.76M/s 2.75M/s 2.69M/s 3.88M/s 3.88M/s 128KiB 2.71M/s 2.7M/s 2.8M/s 2.77M/s 3.78M/s 3.61M/s 64KiB 2.77M/s 2.81M/s 2.74M/s 2.7M/s 2.68M/s 2.68M/s 32KiB 2.25M/s 2.28M/s 2.22M/s 2.26M/s 3.12M/s 3.08M/s 16KiB 1.76M/s 1.8M/s 1.77M/s 1.77M/s 1.93M/s 1.95M/s 8KiB 1.05M/s 985K/s 925K/s 1.01M/s 1.02M/s 1.06M/s
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --erasesize=$[4194304/2] --blocksize=512 /dev/mmcblk0 --findfat --fat-nr=6 2MiB 3.87M/s 2.82M/s 2.78M/s 2.74M/s 3.96M/s 3.95M/s 1MiB 2.77M/s 2.7M/s 2.72M/s 2.73M/s 4.16M/s 4.14M/s 512KiB 2.77M/s 2.76M/s 2.17M/s 2.77M/s 3.92M/s 3.93M/s 256KiB 2.75M/s 2.72M/s 2.74M/s 2.75M/s 10.2M/s 10.2M/s 128KiB 2.72M/s 2.77M/s 2.75M/s 2.74M/s 10.6M/s 10.5M/s 64KiB 2.74M/s 2.77M/s 2.77M/s 2.75M/s 10.5M/s 10.5M/s 32KiB 2.29M/s 2.27M/s 2.27M/s 2.27M/s 8.75M/s 8.75M/s 16KiB 1.78M/s 1.79M/s 1.81M/s 1.77M/s 6.48M/s 6.46M/s 8KiB 970K/s 992K/s 986K/s 989K/s 1.53M/s 1.59M/s 4KiB 524K/s 521K/s 519K/s 510K/s 627K/s 647K/s 2KiB 263K/s 268K/s 263K/s 269K/s 318K/s 302K/s
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --erasesize=$[4194304] --blocksize=8192 /dev/mmcblk0 --open-au --open-au-nr=3 4MiB 7.2M/s 2MiB 8.34M/s 1MiB 9.02M/s 512KiB 10.5M/s 256KiB 10.3M/s 128KiB 10.5M/s 64KiB 10.3M/s 32KiB 8.72M/s 16KiB 6.48M/s 8KiB 1.35M/s
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --erasesize=$[4194304] --blocksize=8192 /dev/mmcblk0 --open-au --open-au-nr=4 4MiB 9.26M/s 2MiB 10.3M/s 1MiB 4.99M/s 512KiB 2.62M/s ^C
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --erasesize=$[4194304/2] --blocksize=8192 /dev/mmcblk0 --open-au --open-au-nr=3 2MiB 5.01M/s 1MiB 3.91M/s 512KiB 3.96M/s 256KiB 5.81M/s 128KiB 4.03M/s 64KiB 4.97M/s 32KiB 3.92M/s 16KiB 3.06M/s 8KiB 1.4M/s
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --erasesize=$[4194304] --blocksize=8192 /dev/mmcblk0 --open-au --open-au-nr=3 --random 4MiB 8.31M/s 2MiB 7.12M/s 1MiB 4.97M/s 512KiB 2.89M/s 256KiB 1.74M/s 128KiB 1.14M/s 64KiB 585K/s 32KiB 299K/s
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --erasesize=$[4194304] --blocksize=8192 /dev/mmcblk0 --open-au --open-au-nr=1 --random 4MiB 6.39M/s 2MiB 4.83M/s 1MiB 4.02M/s 512KiB 4.67M/s 256KiB 4.47M/s 128KiB 3.43M/s 64KiB 3.45M/s 32KiB 2.93M/s 16KiB 2.12M/s 8KiB 1.02M/s
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --erasesize=$[4194304] --blocksize=8192 /dev/mmcblk0 --open-au --open-au-nr=2 --random 4MiB 7.91M/s 2MiB 5.77M/s 1MiB 4.62M/s 512KiB 3.03M/s 256KiB 1.85M/s 128KiB 1.2M/s 64KiB 598K/s 32KiB 305K/s
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --erasesize=$[4194304 / 2] --blocksize=8192 /dev/mmcblk0 --open-au --open-au-nr=2 --random 2MiB 5.97M/s 1MiB 4.54M/s 512KiB 3.52M/s 256KiB 3.98M/s 128KiB 3.3M/s 64KiB 3.61M/s 32KiB 2.72M/s 16KiB 2.08M/s 8KiB 1.03M/s