==> /sys/block/mmcblk0/device/cid <== 1b534d303030303010146d6df100bb00
==> /sys/block/mmcblk0/device/csd <== 400e00325b5900003b577f800a400000
==> /sys/block/mmcblk0/device/date <== 11/2011
==> /sys/block/mmcblk0/device/erase_size <== 512
==> /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/preferred_erase_size <== 4194304
==> /sys/block/mmcblk0/device/scr <== 0235800000000000
==> /sys/block/mmcblk0/device/serial <== 0x146d6df1
==> /sys/block/mmcblk0/device/type <== SD
==> /sys/block/mmcblk0/device/uevent <== DRIVER=mmcblk MMC_TYPE=SD MMC_NAME=00000 MODALIAS=mmc:block
$ sudo fdisk -l /dev/mmcblk0 -u
Disk /dev/mmcblk0: 7964 MB, 7964983296 bytes 91 heads, 18 sectors/track, 9497 cylinders, total 15556608 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 15556607 7774208 b W95 FAT32
$factor 7964983296 7964983296: 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 211
arnd@klappe2:~/git/flashbench$ sudo ./flashbench -a --blocksize=1024 /dev/mmcblk0 [sudo] password for arnd: align 805306368 pre 830µs on 1.04ms post 701µs diff 276µs align 536870912 pre 835µs on 1.1ms post 773µs diff 301µs align 402653184 pre 786µs on 1.07ms post 711µs diff 318µs align 268435456 pre 819µs on 1.1ms post 773µs diff 304µs align 201326592 pre 756µs on 1.06ms post 702µs diff 334µs align 134217728 pre 818µs on 1.08ms post 772µs diff 289µs align 100663296 pre 766µs on 1.06ms post 697µs diff 325µs align 67108864 pre 837µs on 1.1ms post 785µs diff 292µs align 50331648 pre 783µs on 1.05ms post 700µs diff 306µs align 33554432 pre 831µs on 1.1ms post 767µs diff 304µs align 25165824 pre 762µs on 1.03ms post 698µs diff 302µs align 16777216 pre 821µs on 1.12ms post 780µs diff 315µs align 12582912 pre 756µs on 1.03ms post 698µs diff 303µs align 8388608 pre 813µs on 1.08ms post 772µs diff 292µs align 6291456 pre 701µs on 992µs post 721µs diff 281µs align 4194304 pre 660µs on 943µs post 736µs diff 246µs align 3145728 pre 621µs on 713µs post 710µs diff 47.8µs align 2097152 pre 669µs on 929µs post 722µs diff 233µs align 1572864 pre 612µs on 710µs post 708µs diff 49.9µs align 1048576 pre 610µs on 718µs post 723µs diff 51.3µs align 786432 pre 615µs on 712µs post 707µs diff 50.7µs align 524288 pre 604µs on 707µs post 715µs diff 47.9µs align 393216 pre 618µs on 710µs post 708µs diff 47µs align 262144 pre 608µs on 717µs post 721µs diff 52.5µs align 196608 pre 618µs on 712µs post 708µs diff 49.3µs align 131072 pre 605µs on 708µs post 718µs diff 46.2µs align 98304 pre 614µs on 701µs post 710µs diff 39.4µs align 65536 pre 607µs on 705µs post 717µs diff 42.9µs align 49152 pre 612µs on 707µs post 717µs diff 43.2µs align 32768 pre 619µs on 711µs post 710µs diff 46.2µs align 24576 pre 622µs on 713µs post 723µs diff 40.8µs align 16384 pre 622µs on 718µs post 730µs diff 42.1µs align 12288 pre 681µs on 676µs post 668µs diff 2.15µs align 8192 pre 624µs on 704µs post 721µs diff 30.9µs align 6144 pre 650µs on 644µs post 638µs diff 276ns align 4096 pre 679µs on 675µs post 663µs diff 3.71µs align 3072 pre 694µs on 689µs post 680µs diff 1.95µs align 2048 pre 710µs on 700µs post 693µs diff -1114ns
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --findfat --blocksize=1024 /dev/mmcblk0 --fat-nr=8 --erasesize=$[1024*1024] 1MiB 8.01M/s 7.71M/s 7.68M/s 7.84M/s 7.82M/s 7.48M/s 3.51M/s 4.74M/s 512KiB 1.22M/s 3.41M/s 4.74M/s 4.76M/s 3.31M/s 4.66M/s 4.83M/s 5.51M/s 256KiB 473K/s 4.8M/s 4.78M/s 4.47M/s 7.81M/s 7.46M/s 7.97M/s 7.68M/s 128KiB 1.12M/s 4.8M/s 4.78M/s 4.48M/s 7.79M/s 7.45M/s 7.97M/s 7.68M/s 64KiB 3.51M/s 4.8M/s 4.78M/s 4.49M/s 7.77M/s 7.39M/s 7.95M/s 7.64M/s 32KiB 3.08M/s 4.01M/s 3.02M/s 5.51M/s 5.88M/s 5.69M/s 3.18M/s 4.11M/s 16KiB 809K/s 3.85M/s 3.8M/s 3.76M/s 3.87M/s 3.74M/s 3.76M/s 3.92M/s 8KiB 1.88M/s 1.9M/s 1.89M/s 1.89M/s 1.55M/s 1.25M/s 1.11M/s 1.18M/s 4KiB 590K/s 967K/s 950K/s 573K/s 964K/s 807K/s 522K/s 925K/s 2KiB 482K/s 483K/s 358K/s 325K/s 475K/s 482K/s 480K/s 355K/s 1KiB 207K/s 205K/s 237K/s 204K/s 238K/s 207K/s 238K/s 182K/s
1MiB 7.99M/s 7.7M/s 7.69M/s 7.92M/s 7.77M/s 7.46M/s 7.99M/s 7.52M/s 512KiB 376K/s 3.44M/s 4.73M/s 4.78M/s 6.81M/s 7.47M/s 8M/s 7.64M/s 256KiB 472K/s 4.8M/s 4.77M/s 4.47M/s 7.05M/s 7.44M/s 7.96M/s 7.62M/s 128KiB 1.12M/s 4.82M/s 4.78M/s 4.48M/s 7.77M/s 7.47M/s 7.97M/s 7.66M/s 64KiB 3.5M/s 4.81M/s 4.79M/s 4.48M/s 7.77M/s 7.46M/s 7.98M/s 7.65M/s
$ sudo ./flashbench --open-au --blocksize=3072 /dev/mmcblk0 --open-au-nr=1 --erasesize=$[6*1024*1024] 6MiB 5.98M/s 3MiB 2.33M/s 1.5MiB 2.33M/s 768KiB 2.33M/s 384KiB 2.33M/s 192KiB 3.04M/s 96KiB 3.99M/s 48KiB 6.1M/s 24KiB 4.15M/s 12KiB 1.85M/s 6KiB 1.11M/s 3KiB 519K/s
$ sudo ./flashbench --open-au --blocksize=3072 /dev/mmcblk0 --open-au-nr=2 --erasesize=$[6*1024*1024] 6MiB 7.5M/s 3MiB 5.78M/s 1.5MiB 7.76M/s 768KiB 7.73M/s 384KiB 7.76M/s 192KiB 7.73M/s 96KiB 6.65M/s 48KiB 6.09M/s 24KiB 4.19M/s 12KiB 1.59M/s 6KiB 909K/s 3KiB 541K/s
$ sudo ./flashbench --open-au --blocksize=3072 /dev/mmcblk0 --open-au-nr=3 --erasesize=$[6*1024*1024] 6MiB 7.57M/s 3MiB 5.11M/s 1.5MiB 2.92M/s 768KiB 2.24M/s 384KiB 1.56M/s 192KiB 1.48M/s 96KiB 1.1M/s 48KiB 1.11M/s
$ sudo ./flashbench --open-au --blocksize=3072 /dev/mmcblk0 --open-au-nr=2 --erasesize=$[3*1024*1024] 3MiB 3.81M/s 1.5MiB 3.6M/s 768KiB 4.33M/s 384KiB 4.34M/s 192KiB 4.34M/s 96KiB 3.95M/s 48KiB 2.68M/s 24KiB 2.91M/s 12KiB 1.99M/s
$ sudo ./flashbench --open-au --blocksize=3072 /dev/mmcblk0 --open-au-nr=4 --erasesize=$[3*1024*1024] 3MiB 4.72M/s 1.5MiB 2.66M/s 768KiB 1.23M/s 384KiB 621K/s 192KiB 311K/s