==> /sys/block/mmcblk0/device/cid <== 02544d5341303447062263db5f00ac00
==> /sys/block/mmcblk0/device/csd <== 400e00325b5900001d6f7f800a400000
==> /sys/block/mmcblk0/device/date <== 12/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 <== 0x6
==> /sys/block/mmcblk0/device/hwrev <== 0x0
==> /sys/block/mmcblk0/device/manfid <== 0x000002
==> /sys/block/mmcblk0/device/name <== SA04G
==> /sys/block/mmcblk0/device/oemid <== 0x544d
==> /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 <== 0x2263db5f
==> /sys/block/mmcblk0/device/subsystem <== head: error reading `/sys/block/mmcblk0/device/subsystem': Is a directory
==> /sys/block/mmcblk0/device/type <== SD
Disk /dev/mmcblk0: 3951 MB, 3951034368 bytes 255 heads, 63 sectors/track, 480 cylinders, total 7716864 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 * 63 240974 120456 c W95 FAT32 (LBA) /dev/mmcblk0p2 240975 7132859 3445942+ 83 Linux
$ sudo ./flashbench -a /dev/mmcblk0 --blocksize 1024align 402653184 pre 1.51ms on 2.84ms post 1.66ms diff 1.25ms align 268435456 pre 1.49ms on 2.86ms post 1.66ms diff 1.28ms align 201326592 pre 1.51ms on 2.85ms post 1.66ms diff 1.26ms align 134217728 pre 1.53ms on 2.88ms post 1.68ms diff 1.28ms align 100663296 pre 1.52ms on 2.87ms post 1.67ms diff 1.27ms align 67108864 pre 1.52ms on 2.86ms post 1.66ms diff 1.26ms align 50331648 pre 1.53ms on 2.85ms post 1.66ms diff 1.26ms align 33554432 pre 1.52ms on 2.85ms post 1.66ms diff 1.26ms align 25165824 pre 1.52ms on 2.85ms post 1.66ms diff 1.26ms align 16777216 pre 1.51ms on 2.84ms post 1.66ms diff 1.25ms align 12582912 pre 1.51ms on 2.84ms post 1.66ms diff 1.25ms align 8388608 pre 1.42ms on 2.75ms post 1.66ms diff 1.21ms align 6291456 pre 1.54ms on 1.56ms post 1.55ms diff 14.4µs align 4194304 pre 1.41ms on 2.63ms post 1.54ms diff 1.15ms align 3145728 pre 1.55ms on 2.66ms post 1.55ms diff 1.11ms align 2097152 pre 1.54ms on 1.56ms post 1.55ms diff 14.2µs align 1572864 pre 1.54ms on 2.65ms post 1.54ms diff 1.11ms align 1048576 pre 1.54ms on 1.56ms post 1.54ms diff 16.2µs align 786432 pre 1.54ms on 2.65ms post 1.54ms diff 1.11ms align 524288 pre 1.54ms on 1.56ms post 1.54ms diff 15.8µs align 393216 pre 1.54ms on 2.65ms post 1.54ms diff 1.11ms align 262144 pre 1.54ms on 1.56ms post 1.54ms diff 15.6µs align 196608 pre 1.54ms on 2.65ms post 1.54ms diff 1.11ms align 131072 pre 1.54ms on 1.56ms post 1.54ms diff 16.1µs align 98304 pre 1.54ms on 2.65ms post 1.54ms diff 1.11ms align 65536 pre 1.54ms on 1.56ms post 1.54ms diff 16.1µs align 49152 pre 1.54ms on 2.64ms post 1.54ms diff 1.1ms align 32768 pre 1.54ms on 1.55ms post 1.54ms diff 15.5µs align 24576 pre 1.54ms on 2.65ms post 1.54ms diff 1.11ms align 16384 pre 1.54ms on 1.56ms post 1.54ms diff 15.6µs align 12288 pre 1.54ms on 1.54ms post 1.54ms diff -649ns align 8192 pre 1.54ms on 1.56ms post 1.54ms diff 15.7µs align 6144 pre 1.54ms on 1.54ms post 1.54ms diff 660ns align 4096 pre 1.54ms on 1.54ms post 1.54ms diff 458ns align 3072 pre 1.54ms on 1.54ms post 1.54ms diff -132ns align 2048 pre 1.54ms on 1.54ms post 1.54ms diff -1008ns
$ sudo ./flashbench --open-au --open-au-nr=1 --erasesize=$[4*1024*1024] --blocksize=512 /dev/mmcblk0 --offset=$[32 * 1024 * 1024] 4MiB 3.35M/s 2MiB 2.56M/s 1MiB 1.77M/s 512KiB 1.76M/s 256KiB 1.76M/s 128KiB 2.54M/s 64KiB 4.59M/s 32KiB 4.46M/s 16KiB 3.54M/s 8KiB 2.93M/s 4KiB 2.25M/s 2KiB 22.1K/s
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --open-au-nr=2 --erasesize=$[4*1024*1024] --blocksize=512 /dev/mmcblk0 --offset=$[32 * 1024 * 1024] 4MiB 4.17M/s 2MiB 2.76M/s 1MiB 1.38M/s 512KiB 700K/s 256KiB 355K/s ^C arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --open-au-nr=1 --erasesize=$[4*1024*1024] --blocksize=512 /dev/mmcblk0 --offset=$[32 * 1024 * 1024] --random 4MiB 3.05M/s 2MiB 1.18M/s 1MiB 1.4M/s 512KiB 556K/s 256KiB 310K/s 128KiB 141K/s ^C