==> /sys/block/mmcblk0/device/cid <== 1b534d303030303010047a97ac00b600 ==> /sys/block/mmcblk0/device/csd <== 400e00325b5900003c1d7f800a400000 ==> /sys/block/mmcblk0/device/date <== 06/2011 ==> /sys/block/mmcblk0/device/fwrev <== 0x0 ==> /sys/block/mmcblk0/device/hwrev <== 0x1 ==> /sys/block/mmcblk0/device/manfid <== 0x00001b ==> /sys/block/mmcblk0/device/name <== 00000 ==> /sys/block/mmcblk0/device/oemid <== 0x534d ==> /sys/block/mmcblk0/device/scr <== 0235800000000000 ==> /sys/block/mmcblk0/device/serial <== 0x047a97ac ==> /sys/block/mmcblk0/device/type <== SD ==> /sys/block/mmcblk0/device/uevent <== DRIVER=mmcblk MMC_TYPE=SD MMC_NAME=00000 MODALIAS=mmc:block
arnd@klappe2:~$ sudo fdisk -lu /dev/mmcblk0
Disk /dev/mmcblk0: 8068 MB, 8068792320 bytes 249 heads, 36 sectors/track, 1758 cylinders, total 15759360 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: 0x00000000
Device Boot Start End Blocks Id System /dev/mmcblk0p1 8192 15759359 7875584 b W95 FAT32
arnd@klappe2:~$ factor $[8068792320 / 1024] 7879680: 2 2 2 2 2 2 2 2 2 2 3 3 3 3 5 19 arnd@klappe2:~$ factor $[8068792320 / 1024 / 1024 / 3] 2565: 3 3 3 5 19
align 12582912 pre 818µs on 1.12ms post 1.05ms diff 181µs align 8388608 pre 842µs on 1.12ms post 1.08ms diff 163µs align 6291456 pre 808µs on 1.08ms post 1.06ms diff 147µs align 4194304 pre 809µs on 1.13ms post 1.05ms diff 199µs align 3145728 pre 775µs on 1.07ms post 980µs diff 194µs align 2097152 pre 763µs on 1.06ms post 1.04ms diff 164µs align 1572864 pre 777µs on 1.05ms post 1ms diff 159µs align 1048576 pre 734µs on 1.03ms post 1.04ms diff 142µs align 786432 pre 731µs on 1.05ms post 1.04ms diff 162µs
arnd@klappe2:~/git/flashbench$ sudo hexdump -C /dev/mmcblk0 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 82 |................| 000001c0 03 00 0b f8 e4 d4 00 20 00 00 00 58 f0 00 00 00 |....... ...X....| 000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| 00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00400000 eb 00 90 20 20 20 20 20 20 20 20 00 02 40 fc 10 |... ..@..| 00400010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 20 00 00 |........?.... ..| 00400020 00 58 f0 00 82 07 00 00 00 00 00 00 02 00 00 00 |.X..............| 00400030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00400040 80 00 29 a9 3d 30 fc 4e 4f 20 4e 41 4d 45 20 20 |..).=0.NO NAME | 00400050 20 20 46 41 54 33 32 20 20 20 00 00 00 00 00 00 | FAT32 ......| 00400060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 004001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| 00400200 52 52 61 41 00 00 00 00 00 00 00 00 00 00 00 00 |RRaA............| 00400210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 004003e0 00 00 00 00 72 72 41 61 ff ff ff ff 02 00 00 00 |....rrAa........| 004003f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| 00400400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 004005f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| 00400600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00400c00 eb 00 90 20 20 20 20 20 20 20 20 00 02 40 fc 10 |... ..@..| 00400c10 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 20 00 00 |........?.... ..| 00400c20 00 58 f0 00 82 07 00 00 00 00 00 00 02 00 00 00 |.X..............| 00400c30 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00400c40 80 00 29 a9 3d 30 fc 4e 4f 20 4e 41 4d 45 20 20 |..).=0.NO NAME | 00400c50 20 20 46 41 54 33 32 20 20 20 00 00 00 00 00 00 | FAT32 ......| 00400c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00400df0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| 00400e00 52 52 61 41 00 00 00 00 00 00 00 00 00 00 00 00 |RRaA............| 00400e10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00400fe0 00 00 00 00 72 72 41 61 ff ff ff ff 02 00 00 00 |....rrAa........| 00400ff0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| 00401000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 004011f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| 00401200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 0061f800 f8 ff ff 0f ff ff ff 0f ff ff ff 0f 00 00 00 00 |................| 0061f810 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 0070fc00 f8 ff ff 0f ff ff ff 0f ff ff ff 0f 00 00 00 00 |................| 0070fc10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| *
arnd@klappe2:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au --erasesize=$[4 * 1024 * 1024] --blocksize=512 --open-au-nr=7 4MiB 10.7M/s 2MiB 10.7M/s 1MiB 10.7M/s 512KiB 10.6M/s 256KiB 10.6M/s 128KiB 10.4M/s 64KiB 10.2M/s 32KiB 6.69M/s 16KiB 4.3M/s 8KiB 1.75M/s 4KiB 874K/s 2KiB 432K/s 1KiB 215K/s
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au /dev/mmcblk0 --blocksize=$[1024 * 16] --open-au-nr=8 4MiB 9.45M/s 2MiB 4.85M/s 1MiB 2.12M/s ^C arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au /dev/mmcblk0 --blocksize=$[1024 * 16] --open-au-nr=6 4MiB 8.99M/s 2MiB 7.82M/s 1MiB 10.6M/s 512KiB 10.5M/s 256KiB 10.5M/s ^C
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au /dev/mmcblk0 --blocksize=$[1024 * 16] --open-au-nr=1 --random 4MiB 9.59M/s 2MiB 4.88M/s 1MiB 9.51M/s 512KiB 4.88M/s 256KiB 9.63M/s 128KiB 4.88M/s 64KiB 9.45M/s 32KiB 3.82M/s 16KiB 4.33M/s
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au /dev/mmcblk0 --blocksize=$[1024 * 16] --open-au-nr=7 --random 4MiB 8.89M/s 2MiB 4.64M/s 1MiB 8.77M/s 512KiB 4.64M/s 256KiB 8.64M/s 128KiB 4.59M/s 64KiB 8.37M/s 32KiB 3.72M/s 16KiB 4.03M/s
flashbench-results@lists.linaro.org