Disk /dev/mmcblk0: 3976 MB, 3976200192 bytes 4 heads, 16 sectors/track, 121344 cylinders, total 7766016 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
==> /sys/block/mmcblk0/device/block <== head: error reading `/sys/block/mmcblk0/device/block': Is a directory
==> /sys/block/mmcblk0/device/cid <== 275048534430344730b00dd71400a900
==> /sys/block/mmcblk0/device/csd <== 400e00325b5900001d9f7f800a400000
==> /sys/block/mmcblk0/device/date <== 09/2010
==> /sys/block/mmcblk0/device/driver <== head: error reading `/sys/block/mmcblk0/device/driver': Is a directory
==> /sys/block/mmcblk0/device/erase_size <== 512
==> /sys/block/mmcblk0/device/fwrev <== 0x0
==> /sys/block/mmcblk0/device/hwrev <== 0x3
==> /sys/block/mmcblk0/device/manfid <== 0x000027
==> /sys/block/mmcblk0/device/name <== SD04G
==> /sys/block/mmcblk0/device/oemid <== 0x5048
==> /sys/block/mmcblk0/device/power <== head: error reading `/sys/block/mmcblk0/device/power': Is a directory
==> /sys/block/mmcblk0/device/preferred_erase_size <== 4194304
==> /sys/block/mmcblk0/device/scr <== 0235800001000000
==> /sys/block/mmcblk0/device/serial <== 0xb00dd714
==> /sys/block/mmcblk0/device/subsystem <== head: error reading `/sys/block/mmcblk0/device/subsystem': Is a directory
==> /sys/block/mmcblk0/device/type <== SD
==> /sys/block/mmcblk0/device/uevent <== DRIVER=mmcblk MMC_TYPE=SD MMC_NAME=SD04G MODALIAS=mmc:block
$ sudo ./flashbench -a /dev/mmcblk0 -b 1024 --count=30 align 402653184 pre 1.95ms on 2.87ms post 1.56ms diff 1.12ms align 268435456 pre 2.2ms on 3.04ms post 1.6ms diff 1.14ms align 201326592 pre 2.51ms on 2.99ms post 1.59ms diff 940µs align 134217728 pre 2.38ms on 2.94ms post 1.59ms diff 950µs align 100663296 pre 2.24ms on 3.01ms post 1.6ms diff 1.09ms align 67108864 pre 2.47ms on 2.87ms post 1.51ms diff 880µs align 50331648 pre 2.45ms on 2.97ms post 1.57ms diff 960µs align 33554432 pre 2.6ms on 2.96ms post 1.57ms diff 876µs align 25165824 pre 2.57ms on 2.94ms post 1.58ms diff 872µs align 16777216 pre 2.28ms on 2.99ms post 1.59ms diff 1.05ms align 12582912 pre 2.22ms on 2.92ms post 1.6ms diff 1.01ms align 8388608 pre 2.54ms on 2.93ms post 1.55ms diff 880µs align 6291456 pre 1.7ms on 1.86ms post 1.57ms diff 226µs align 4194304 pre 2.35ms on 2.82ms post 1.56ms diff 868µs align 3145728 pre 1.51ms on 1.67ms post 1.5ms diff 172µs align 2097152 pre 1.56ms on 1.72ms post 1.49ms diff 190µs align 1572864 pre 1.5ms on 1.67ms post 1.49ms diff 176µs align 1048576 pre 1.5ms on 1.67ms post 1.49ms diff 173µs align 786432 pre 1.5ms on 1.67ms post 1.49ms diff 173µs align 524288 pre 1.5ms on 1.67ms post 1.5ms diff 172µs align 393216 pre 1.5ms on 1.67ms post 1.49ms diff 169µs align 262144 pre 1.5ms on 1.67ms post 1.49ms diff 169µs align 196608 pre 1.5ms on 1.67ms post 1.5ms diff 174µs align 131072 pre 1.51ms on 1.67ms post 1.49ms diff 171µs align 98304 pre 1.51ms on 1.67ms post 1.49ms diff 176µs align 65536 pre 1.49ms on 1.67ms post 1.5ms diff 175µs align 49152 pre 1.5ms on 1.66ms post 1.49ms diff 169µs align 32768 pre 1.49ms on 1.66ms post 1.48ms diff 174µs align 24576 pre 1.5ms on 1.67ms post 1.49ms diff 173µs align 16384 pre 1.5ms on 1.67ms post 1.49ms diff 173µs align 12288 pre 1.49ms on 1.54ms post 1.49ms diff 45.8µs align 8192 pre 1.49ms on 1.67ms post 1.49ms diff 175µs align 6144 pre 1.49ms on 1.57ms post 1.52ms diff 65.2µs align 4096 pre 1.49ms on 1.53ms post 1.49ms diff 44.8µs align 3072 pre 1.49ms on 1.53ms post 1.49ms diff 42.1µs align 2048 pre 1.49ms on 1.53ms post 1.49ms diff 43.7µs
== > 4 MB erase block, 8 KB page ?
$ sudo ./flashbench --open-au --open-au-nr=1 /dev/mmcblk0 --blocksize=512 4MiB 6M/s 2MiB 3.71M/s 1MiB 3.72M/s 512KiB 3.73M/s 256KiB 3.77M/s 128KiB 5.7M/s 64KiB 11.7M/s 32KiB 8.8M/s 16KiB 6.57M/s 8KiB 4.01M/s 4KiB 1.33M/s 2KiB 563K/s 1KiB 10.2K/s 512B 8.54K/s
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au /dev/mmcblk0 --blocksize=2048 --open-au-nr=2 4MiB 8.35M/s 2MiB 6.47M/s 1MiB 2.89M/s 512KiB 1.4M/s 256KiB 697K/s 128KiB 348K/s 64KiB 174K/s
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --open-au-nr=1 /dev/mmcblk0 --blocksize=2048 --random 4MiB 5.74M/s 2MiB 2.5M/s 1MiB 1.45M/s 512KiB 802K/s 256KiB 560K/s 128KiB 279K/s
$ sudo ./flashbench --findfat --fat-nr=5 /dev/mmcblk0 --blocksize=2048 --random 4MiB 2.4M/s 2.78M/s 6.02M/s 11.7M/s 11.8M/s 2MiB 2.52M/s 2.77M/s 4.56M/s 3.76M/s 3.76M/s 1MiB 2.73M/s 2.51M/s 1.65M/s 1.59M/s 1.59M/s 512KiB 2.58M/s 2.77M/s 862K/s 855K/s 855K/s 256KiB 2.4M/s 2.73M/s 556K/s 528K/s 555K/s 128KiB 2.4M/s 2.74M/s 271K/s 271K/s 271K/s 64KiB 2.08M/s 2.5M/s 258K/s 258K/s 258K/s 32KiB 1.88M/s 2.31M/s 142K/s 142K/s 142K/s
flashbench-results@lists.linaro.org