==> /sys/block/mmcblk0/device/cid <== 03534453553136478000c1eec400c300
==> /sys/block/mmcblk0/device/csd <== 400e00325b59000076b27f800a404000
==> /sys/block/mmcblk0/device/date <== 03/2012
==> /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 <== 0x8
==> /sys/block/mmcblk0/device/manfid <== 0x000003
==> /sys/block/mmcblk0/device/name <== SU16G
==> /sys/block/mmcblk0/device/oemid <== 0x5344
==> /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 <== 0235800300000000
==> /sys/block/mmcblk0/device/serial <== 0x00c1eec4
==> /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=SU16G MODALIAS=mmc:block
Disk /dev/mmcblk0: 15.9 GB, 15931539456 bytes 255 heads, 63 sectors/track, 1936 cylinders, total 31116288 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 31116287 15554048 c W95 FAT32 (LBA)
$ sudo ./flashbench -a /dev/mmcblk0 --blocksize=1024 align 1610612736 pre 576µs on 683µs post 574µs diff 108µs align 1073741824 pre 574µs on 689µs post 568µs diff 118µs align 805306368 pre 578µs on 698µs post 575µs diff 121µs align 536870912 pre 570µs on 715µs post 564µs diff 148µs align 402653184 pre 578µs on 720µs post 573µs diff 145µs align 268435456 pre 573µs on 669µs post 568µs diff 97.9µs align 201326592 pre 582µs on 715µs post 577µs diff 135µs align 134217728 pre 581µs on 695µs post 576µs diff 116µs align 100663296 pre 570µs on 664µs post 565µs diff 96.5µs align 67108864 pre 572µs on 689µs post 569µs diff 118µs align 50331648 pre 568µs on 678µs post 569µs diff 109µs align 33554432 pre 581µs on 694µs post 578µs diff 114µs align 25165824 pre 549µs on 688µs post 562µs diff 132µs align 16777216 pre 569µs on 666µs post 554µs diff 105µs align 12582912 pre 579µs on 578µs post 576µs diff 618ns align 8388608 pre 574µs on 704µs post 569µs diff 133µs align 6291456 pre 573µs on 593µs post 572µs diff 20.7µs align 4194304 pre 581µs on 607µs post 571µs diff 30.5µs align 3145728 pre 571µs on 579µs post 576µs diff 5.44µs align 2097152 pre 580µs on 583µs post 580µs diff 3.2µs align 1572864 pre 574µs on 578µs post 575µs diff 3.63µs align 1048576 pre 582µs on 585µs post 579µs diff 4.77µs align 786432 pre 571µs on 577µs post 569µs diff 6.89µs align 524288 pre 573µs on 575µs post 572µs diff 2.2µs align 393216 pre 578µs on 581µs post 582µs diff 1.3µs align 262144 pre 574µs on 578µs post 570µs diff 6.3µs align 196608 pre 578µs on 578µs post 569µs diff 4.91µs align 131072 pre 572µs on 581µs post 574µs diff 7.64µs align 98304 pre 572µs on 574µs post 568µs diff 3.45µs align 65536 pre 571µs on 578µs post 567µs diff 9.32µs align 49152 pre 580µs on 579µs post 580µs diff -702ns align 32768 pre 569µs on 571µs post 568µs diff 1.98µs align 24576 pre 571µs on 569µs post 567µs diff -536ns align 16384 pre 568µs on 570µs post 570µs diff 696ns align 12288 pre 571µs on 569µs post 566µs diff 728ns align 8192 pre 566µs on 567µs post 569µs diff -846ns align 6144 pre 565µs on 566µs post 563µs diff 1.7µs align 4096 pre 573µs on 578µs post 574µs diff 4.31µs align 3072 pre 569µs on 568µs post 565µs diff 725ns align 2048 pre 572µs on 570µs post 573µs diff -2032ns
$ sudo ./flashbench --open-au --erasesize=$[8*1024*1024] /dev/mmcblk0 --ocksize=1024 --open-au-nr=9 8MiB 11.9M/s 4MiB 11.9M/s 2MiB 11.8M/s 1MiB 11.8M/s 512KiB 11.8M/s 256KiB 11.7M/s 128KiB 11.5M/s 64KiB 11.2M/s 32KiB 8.73M/s 16KiB 6.07M/s 8KiB 3.54M/s 4KiB 2.08M/s 2KiB 1.01M/s 1KiB 517K/s
sudo ./flashbench --open-au --erasesize=$[8*1024*1024] /dev/mmcblk0 --blocksize=1024 --open-au-nr=10 8MiB 11.9M/s 4MiB 9.3M/s 2MiB 5.01M/s 1MiB 2.69M/s
$ sudo ./flashbench --open-au --erasesize=$[8*1024*1024] /dev/mmcblk0 --ocksize=1024 --open-au-nr=1 --random 8MiB 8.13M/s 4MiB 7.72M/s 2MiB 4.87M/s 1MiB 2.57M/s 512KiB 1.29M/s 256KiB 639K/s
$ sudo ./flashbench --open-au --erasesize=$[8*1024*1024] /dev/mmcblk0 --ocksize=1024 --open-au-nr=1 --random 8MiB 8.13M/s 4MiB 7.72M/s 2MiB 4.87M/s 1MiB 2.57M/s 512KiB 1.29M/s 256KiB 639K/s 128KiB 602K/s 64KiB 513K/s 32KiB 2.44M/s 16KiB 3.39M/s 8KiB 1.75M/s 4KiB 893K/s 2KiB 425K/s 1KiB 222K/s
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --findfat --erasesize=$[2*1024*1024] /dev/mmcblk0 --ocksize=4096 --fat-nr=8 --random 2MiB 11.7M/s 11.9M/s 6.45M/s 7.19M/s 11.9M/s 12M/s 12M/s 11.9M/s 1MiB 3.38M/s 2.4M/s 2.02M/s 3.55M/s 5.74M/s 2.21M/s 2.66M/s 2.42M/s 512KiB 1.32M/s 1.16M/s 1.55M/s 3.9M/s 1.2M/s 1.2M/s 1.2M/s 1.19M/s 256KiB 1.32M/s 536K/s 1.98M/s 3.66M/s 692K/s 534K/s 532K/s 533K/s 128KiB 1.08M/s 770K/s 1.56M/s 5.08M/s 698K/s 773K/s 666K/s 665K/s 64KiB 1.25M/s 582K/s 2.36M/s 3.41M/s 568K/s 586K/s 586K/s 586K/s 32KiB 1.58M/s 953K/s 2.42M/s 4.28M/s 1.02M/s 1.03M/s 961K/s 960K/s 16KiB 2.27M/s 3.32M/s 3.3M/s 4.84M/s 1.41M/s 1.61M/s 1.91M/s 1.91M/s 8KiB 1.72M/s 1.87M/s 2.19M/s 1.49M/s 2M/s 2.01M/s 1.86M/s 1.83M/s 4KiB 796K/s 960K/s 576K/s 758K/s 1.04M/s 863K/s 861K/s 1.07M/s