andrew@brick:~/git/flashbench$ head /sys/block/mmcblk0/device/* 2>/dev/null | grep -v ^$ ==> /sys/block/mmcblk0/device/block <== ==> /sys/block/mmcblk0/device/cid <== 094150414620554410110056f100d500 ==> /sys/block/mmcblk0/device/csd <== 005e00325b5983b9edb7ff9f16400000 ==> /sys/block/mmcblk0/device/date <== 05/2013 ==> /sys/block/mmcblk0/device/driver <== ==> /sys/block/mmcblk0/device/erase_size <== 512 ==> /sys/block/mmcblk0/device/fwrev <== 0x0 ==> /sys/block/mmcblk0/device/hwrev <== 0x1 ==> /sys/block/mmcblk0/device/manfid <== 0x000009 ==> /sys/block/mmcblk0/device/name <== AF UD ==> /sys/block/mmcblk0/device/oemid <== 0x4150 ==> /sys/block/mmcblk0/device/power <== ==> /sys/block/mmcblk0/device/preferred_erase_size <== 4194304 ==> /sys/block/mmcblk0/device/scr <== 0225800000000000 ==> /sys/block/mmcblk0/device/serial <== 0x110056f1 ==> /sys/block/mmcblk0/device/subsystem <== ==> /sys/block/mmcblk0/device/type <== SD ==> /sys/block/mmcblk0/device/uevent <== DRIVER=mmcblk MMC_TYPE=SD MMC_NAME=AF UD MODALIAS=mmc:block
andrew@brick:~/git/flashbench$ sudo fdisk -l /dev/mmcblk0 Disk /dev/mmcblk0: 1000 MB, 1000341504 bytes, 1953792 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 129 1953791 976831+ 6 FAT16
andrew@brick:~/git/flashbench$ factor 1000341504 1000341504: 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 53
andrew@brick:~/git/flashbench$ sudo ./flashbench -a --blocksize=1024 /dev/mmcblk0 --count=100 align 268435456 pre 970µs on 1.19ms post 1.03ms diff 190µs align 134217728 pre 946µs on 1.11ms post 1.04ms diff 122µs align 67108864 pre 945µs on 1.12ms post 1.04ms diff 131µs align 33554432 pre 954µs on 1.13ms post 1.04ms diff 128µs align 16777216 pre 948µs on 1.12ms post 1.03ms diff 132µs align 8388608 pre 954µs on 1.14ms post 1.04ms diff 138µs align 4194304 pre 951µs on 1.13ms post 1.05ms diff 128µs align 2097152 pre 935µs on 1.12ms post 1.04ms diff 128µs align 1048576 pre 954µs on 1.14ms post 1.05ms diff 137µs align 524288 pre 934µs on 1.05ms post 1.05ms diff 61.7µs align 262144 pre 938µs on 1.06ms post 1.06ms diff 60.5µs align 131072 pre 921µs on 1.04ms post 1.04ms diff 60.1µs align 65536 pre 932µs on 1.06ms post 1.05ms diff 64.9µs align 32768 pre 929µs on 1.04ms post 1.04ms diff 58.1µs align 16384 pre 923µs on 1.04ms post 1.04ms diff 63.3µs align 8192 pre 931µs on 1.06ms post 1.05ms diff 66.1µs align 4096 pre 931µs on 1.05ms post 1.06ms diff 58.6µs align 2048 pre 997µs on 989µs post 968µs diff 6.51µs
andrew@brick:~/git/flashbench$ sudo ./flashbench --open-au --blocksize=$[4*1024] --erasesize=$[1024*1024] /dev/mmcblk0 --open-au-nr=1 1MiB 9.36M/s 512KiB 9.31M/s 256KiB 9.53M/s 128KiB 9.26M/s 64KiB 9.19M/s 32KiB 7.87M/s 16KiB 6M/s 8KiB 4.26M/s 4KiB 1.53M/s andrew@brick:~/git/flashbench$ sudo ./flashbench --open-au --blocksize=$[4*1024] --erasesize=$[1024*1024] /dev/mmcblk0 --open-au-nr=2 1MiB 9.23M/s 512KiB 9.62M/s 256KiB 9.59M/s 128KiB 9.52M/s 64KiB 9.28M/s 32KiB 8.12M/s 16KiB 6.45M/s 8KiB 4.73M/s 4KiB 1.73M/s andrew@brick:~/git/flashbench$ sudo ./flashbench --open-au --blocksize=$[4*1024] --erasesize=$[1024*1024] /dev/mmcblk0 --open-au-nr=3 1MiB 9.33M/s 512KiB 9.6M/s 256KiB 9.48M/s 128KiB 9.37M/s 64KiB 9.12M/s 32KiB 7.8M/s 16KiB 5.94M/s 8KiB 4.13M/s 4KiB 1.51M/s andrew@brick:~/git/flashbench$ sudo ./flashbench --open-au --blocksize=$[4*1024] --erasesize=$[1024*1024] /dev/mmcblk0 --open-au-nr=4 1MiB 9.59M/s 512KiB 9.65M/s 256KiB 9.61M/s 128KiB 9.49M/s 64KiB 9.26M/s 32KiB 7.99M/s 16KiB 6.25M/s 8KiB 4.42M/s 4KiB 1.67M/s andrew@brick:~/git/flashbench$ sudo ./flashbench --open-au --blocksize=$[4*1024] --erasesize=$[1024*1024] /dev/mmcblk0 --open-au-nr=5 1MiB 9.64M/s 512KiB 7.96M/s 256KiB 9.66M/s 128KiB 9.58M/s 64KiB 9.39M/s 32KiB 8.13M/s 16KiB 6.59M/s 8KiB 4.61M/s 4KiB 1.75M/s andrew@brick:~/git/flashbench$ sudo ./flashbench --open-au --blocksize=$[4*1024] --erasesize=$[1024*1024] /dev/mmcblk0 --open-au-nr=6 1MiB 9.7M/s 512KiB 4.6M/s 256KiB 1.8M/s 128KiB 926K/s ^C
andrew@brick:~/git/flashbench$ sudo ./flashbench --open-au --blocksize=$[4*1024] --erasesize=$[1024*1024] /dev/mmcblk0 --random --open-au-nr=1 1MiB 9.69M/s 512KiB 4.29M/s 256KiB 9.59M/s 128KiB 9.36M/s 64KiB 9.1M/s 32KiB 7.92M/s 16KiB 6.12M/s 8KiB 4.26M/s 4KiB 1.47M/s andrew@brick:~/git/flashbench$ sudo ./flashbench --open-au --blocksize=$[4*1024] --erasesize=$[1024*1024] /dev/mmcblk0 --random --open-au-nr=2 1MiB 9.52M/s 512KiB 5.91M/s 256KiB 9.44M/s 128KiB 9.19M/s 64KiB 8.83M/s 32KiB 7.43M/s 16KiB 5.57M/s 8KiB 3.78M/s 4KiB 1.33M/s andrew@brick:~/git/flashbench$ sudo ./flashbench --open-au --blocksize=$[4*1024] --erasesize=$[1024*1024] /dev/mmcblk0 --random --open-au-nr=3 1MiB 7.1M/s 512KiB 9.38M/s 256KiB 9.32M/s 128KiB 9.06M/s 64KiB 8.91M/s 32KiB 7.34M/s 16KiB 5.49M/s 8KiB 3.78M/s 4KiB 1.33M/s andrew@brick:~/git/flashbench$ sudo ./flashbench --open-au --blocksize=$[4*1024] --erasesize=$[1024*1024] /dev/mmcblk0 --random --open-au-nr=4 1MiB 7.77M/s 512KiB 9.3M/s 256KiB 9.31M/s 128KiB 9.1M/s 64KiB 8.94M/s 32KiB 7.41M/s 16KiB 5.58M/s 8KiB 3.78M/s 4KiB 1.36M/s andrew@brick:~/git/flashbench$ sudo ./flashbench --open-au --blocksize=$[4*1024] --erasesize=$[1024*1024] /dev/mmcblk0 --random --open-au-nr=5 1MiB 8.16M/s 512KiB 9.31M/s 256KiB 9.24M/s 128KiB 9.16M/s 64KiB 8.89M/s 32KiB 7.43M/s 16KiB 5.56M/s 8KiB 3.78M/s 4KiB 1.35M/s andrew@brick:~/git/flashbench$ sudo ./flashbench --open-au --blocksize=$[4*1024] --erasesize=$[1024*1024] /dev/mmcblk0 --random --open-au-nr=6 1MiB 7.95M/s 512KiB 3.05M/s 256KiB 1.87M/s 128KiB 935K/s ^C
andrew@brick:~/git/flashbench$ sudo ./flashbench --find-fat --erasesize=$[1024*1024] /dev/mmcblk0 1MiB 4.39M/s 9.98M/s 10M/s 9.99M/s 9.99M/s 9.98M/s 512KiB 9.52M/s 4.38M/s 9.96M/s 9.96M/s 9.94M/s 9.97M/s 256KiB 9.55M/s 9.97M/s 9.97M/s 9.93M/s 9.92M/s 9.95M/s 128KiB 9.29M/s 9.88M/s 9.88M/s 9.89M/s 9.83M/s 9.85M/s 64KiB 9.18M/s 9.75M/s 9.79M/s 9.79M/s 9.81M/s 9.69M/s 32KiB 7.82M/s 8.66M/s 8.58M/s 8.66M/s 8.66M/s 8.64M/s 16KiB 5.9M/s 7.19M/s 7.18M/s 7.17M/s 7.21M/s 7.15M/s
Quite nice. -Andrew
flashbench-results@lists.linaro.org