andrew@brick:~/git/flashbench$ head /sys/block/mmcblk0/device/* 2>/dev/null | grep -v ^$ ==> /sys/block/mmcblk0/device/block <== ==> /sys/block/mmcblk0/device/cid <== 5d53424e31424e31062017a37000d900 ==> /sys/block/mmcblk0/device/csd <== 000e00325b5981e7b6dbff8312400000 ==> /sys/block/mmcblk0/device/date <== 09/2013 ==> /sys/block/mmcblk0/device/driver <== ==> /sys/block/mmcblk0/device/erase_size <== 512 ==> /sys/block/mmcblk0/device/fwrev <== 0x6 ==> /sys/block/mmcblk0/device/hwrev <== 0x0 ==> /sys/block/mmcblk0/device/manfid <== 0x00005d ==> /sys/block/mmcblk0/device/name <== N1BN1 ==> /sys/block/mmcblk0/device/oemid <== 0x5342 ==> /sys/block/mmcblk0/device/power <== ==> /sys/block/mmcblk0/device/preferred_erase_size <== 262144 ==> /sys/block/mmcblk0/device/scr <== 02b5000000000000 ==> /sys/block/mmcblk0/device/serial <== 0x2017a370 ==> /sys/block/mmcblk0/device/subsystem <== ==> /sys/block/mmcblk0/device/type <== SD ==> /sys/block/mmcblk0/device/uevent <== DRIVER=mmcblk MMC_TYPE=SD MMC_NAME=N1BN1 MODALIAS=mmc:block
andrew@brick:~/git/flashbench$ sudo fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 511 MB, 511442944 bytes, 998912 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 label type: dos Disk identifier: 0x00000000
Device Boot Start End Blocks Id System /dev/mmcblk0p1 235 998911 499338+ 6 FAT16
andrew@brick:~/git/flashbench$ sudo ./flashbench -a --blocksize=1024 --count=100 /dev/mmcblk0 align 134217728 pre 312µs on 466µs post 401µs diff 110µs align 67108864 pre 329µs on 471µs post 403µs diff 105µs align 33554432 pre 327µs on 479µs post 398µs diff 116µs align 16777216 pre 324µs on 477µs post 404µs diff 113µs align 8388608 pre 301µs on 442µs post 398µs diff 92.9µs align 4194304 pre 302µs on 445µs post 399µs diff 95.1µs align 2097152 pre 294µs on 441µs post 401µs diff 93.6µs align 1048576 pre 296µs on 436µs post 397µs diff 89.1µs align 524288 pre 293µs on 447µs post 404µs diff 98.5µs align 262144 pre 289µs on 442µs post 394µs diff 101µs align 131072 pre 278µs on 412µs post 394µs diff 75.7µs align 65536 pre 279µs on 417µs post 401µs diff 77.5µs align 32768 pre 280µs on 417µs post 397µs diff 78.5µs align 16384 pre 277µs on 413µs post 392µs diff 78.1µs align 8192 pre 283µs on 416µs post 392µs diff 78.7µs align 4096 pre 283µs on 412µs post 398µs diff 71.3µs align 2048 pre 363µs on 350µs post 310µs diff 13µs
andrew@brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au --erasesize=$[256*1024] --blocksize=$[4*1024] --open-au-nr=1 256KiB 9.88M/s 128KiB 3.98M/s 64KiB 9.86M/s 32KiB 8.92M/s 16KiB 7.67M/s 8KiB 5.99M/s 4KiB 4.23M/s
andrew@brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au --erasesize=$[256*1024] --blocksize=$[4*1024] --open-au-nr=2 256KiB 4.78M/s 128KiB 5.31M/s 64KiB 8.23M/s 32KiB 8.95M/s 16KiB 7.64M/s 8KiB 6.12M/s 4KiB 4.29M/s
andrew@brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au --erasesize=$[256*1024] --blocksize=$[4*1024] --open-au-nr=3 256KiB 3.54M/s 128KiB 5.19M/s 64KiB 8.56M/s 32KiB 8.97M/s 16KiB 7.47M/s 8KiB 5.98M/s 4KiB 4.15M/s
andrew@brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au --erasesize=$[256*1024] --blocksize=$[4*1024] --open-au-nr=4 256KiB 4.5M/s 128KiB 5.61M/s 64KiB 8.91M/s 32KiB 8.86M/s 16KiB 7.55M/s 8KiB 6.06M/s 4KiB 4.29M/s
andrew@brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au --erasesize=$[256*1024] --blocksize=$[4*1024] --open-au-nr=5 256KiB 5.06M/s 128KiB 4.34M/s 64KiB 2.64M/s 32KiB 1.27M/s 16KiB 608K/s 8KiB 289K/s 4KiB 145K/s
andrew@brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au --erasesize=$[256*1024] --blocksize=$[4*1024] --random --open-au-nr=1 256KiB 9.66M/s 128KiB 2.68M/s 64KiB 5.18M/s 32KiB 1.87M/s 16KiB 1.07M/s 8KiB 450K/s 4KiB 217K/s
andrew@brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --find-fat --erasesize=$[256*1024] 256KiB 9.76M/s 9.73M/s 9.72M/s 9.72M/s 9.69M/s 9.92M/s 128KiB 3.97M/s 9.87M/s 9.81M/s 9.84M/s 9.71M/s 10M/s 64KiB 7.18M/s 9.59M/s 9.57M/s 9.77M/s 9.77M/s 9.46M/s 32KiB 8.81M/s 8.8M/s 8.77M/s 8.57M/s 8.77M/s 8.6M/s 16KiB 7.45M/s 7.54M/s 7.42M/s 7.47M/s 7.38M/s 7.58M/s
-Andrew