==> /sys/block/mmcblk0/device/block <== ==> /sys/block/mmcblk0/device/cid <== 02544d53413032470520cddb0600a900 ==> /sys/block/mmcblk0/device/csd <== 002e00325b5aa3acffffff800a800000 ==> /sys/block/mmcblk0/device/date <== 09/2010 ==> /sys/block/mmcblk0/device/driver <== ==> /sys/block/mmcblk0/device/erase_size <== 512 ==> /sys/block/mmcblk0/device/fwrev <== 0x5 ==> /sys/block/mmcblk0/device/hwrev <== 0x0 ==> /sys/block/mmcblk0/device/manfid <== 0x000002 ==> /sys/block/mmcblk0/device/name <== SA02G ==> /sys/block/mmcblk0/device/oemid <== 0x544d # "TM" -> Toshiba ==> /sys/block/mmcblk0/device/power <== ==> /sys/block/mmcblk0/device/preferred_erase_size <== 4194304 ==> /sys/block/mmcblk0/device/scr <== 0225800001000000 ==> /sys/block/mmcblk0/device/serial <== 0x20cddb06 ==> /sys/block/mmcblk0/device/subsystem <== ==> /sys/block/mmcblk0/device/type <== SD ==> /sys/block/mmcblk0/device/uevent <== DRIVER=mmcblk MMC_TYPE=SD MMC_NAME=SA02G MODALIAS=mmc:block
arnd@klappe2:~/git/flashbench$ sudo fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 1973 MB, 1973420032 bytes # 1,927,168KB
# 2 MB erase block size: align 6291456 pre 1.81ms on 2.39ms post 1.31ms diff 834µs align 4194304 pre 2.07ms on 2.39ms post 1.31ms diff 702µs align 3145728 pre 1.33ms on 1.49ms post 1.32ms diff 162µs align 2097152 pre 2.03ms on 2.4ms post 1.3ms diff 729µs align 1572864 pre 1.34ms on 1.5ms post 1.33ms diff 162µs align 1048576 pre 1.41ms on 1.57ms post 1.33ms diff 195µs align 786432 pre 1.36ms on 1.52ms post 1.35ms diff 165µs
#linear access, one erase block arnd@klappe2:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au --open-au-nr=1 --blocksize=512 4MiB 5.49M/s 2MiB 4.07M/s 1MiB 4.1M/s 512KiB 4.12M/s 256KiB 4.13M/s 128KiB 5.77M/s 64KiB 9.5M/s 32KiB 8.54M/s 16KiB 6.48M/s 8KiB 3.94M/s 4KiB 1.28M/s 2KiB 543K/s 1KiB 2K/s
# random access, one erase block: cannot do random access arnd@klappe2:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au --open-au-nr=1 --random --blocksize=2048 4MiB 7.61M/s 2MiB 2.27M/s 1MiB 2.86M/s 512KiB 1.19M/s 256KiB 553K/s 128KiB 309K/s 64KiB 255K/s 32KiB 135K/s
# linear access, two erase blocks: cannot be handled either: arnd@klappe2:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au --open-au-nr=2 --blocksize=2048 4MiB 7.21M/s 2MiB 9.44M/s 1MiB 4.45M/s 512KiB 1.95M/s 256KiB 944K/s 128KiB 464K/s
flashbench-results@lists.linaro.org