hi
how stable is this card? is it a scsi harddisk? ;) ok, random is not that good
****************************************************** **** Apacer microSDHC mobile series class 2, 16GB **** ****************************************************** ==> /sys/block/mmcblk0/device/cid <== 03534453553136478070387aa500a200
==> /sys/block/mmcblk0/device/csd <== 400e00325b59000076b27f800a404000
==> /sys/block/mmcblk0/device/scr <== 0235800000000000
==> /sys/block/mmcblk0/device/fwrev <== 0x0
==> /sys/block/mmcblk0/device/hwrev <== 0x8
==> /sys/block/mmcblk0/device/cid <== 03534453553136478070387aa500a200
==> /sys/block/mmcblk0/device/manfid <== 0x000003
==> /sys/block/mmcblk0/device/oemid <== 0x5344
==> /sys/block/mmcblk0/device/serial <== 0x70387aa5
==> /sys/block/mmcblk0/device/erase_size <== 512
==> /sys/block/mmcblk0/device/preferred_erase_size <== 4194304
==> /sys/block/mmcblk0/device/name <== SU16G
==> /sys/block/mmcblk0/device/date <== 02/2010 clock: 33000000 Hz vdd: 20 (3.2 ~ 3.3 V) bus mode: 2 (push-pull) chip select: 0 (don't care) power mode: 2 (on) bus width: 2 (4 bits) timing spec: 2 (sd high-speed)
$ fdisk -lu /dev/sda
Disk /dev/sda: 15.9 GB, 15931539456 bytes 128 heads, 32 sectors/track, 7596 cylinders, total 31116288 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0x00000000
Device Boot Start End Blocks Id System /dev/sda1 1 614399 307199+ 83 Linux /dev/sda2 614400 819199 102400 83 Linux /dev/sda3 819200 1851391 516096 82 Linux swap / Solaris /dev/sda4 1851392 7364607 2756608 83 Linux
$ ./flashbench -a /dev/sda3 --count=100 --blocksize=2048 align 134217728 pre 740µs on 740µs post 741µs diff -643ns align 67108864 pre 736µs on 737µs post 736µs diff 1.03µs align 33554432 pre 738µs on 742µs post 740µs diff 3.61µs align 16777216 pre 827µs on 816µs post 738µs diff 33.7µs align 8388608 pre 789µs on 810µs post 775µs diff 28.5µs align 4194304 pre 737µs on 738µs post 738µs diff 24ns align 2097152 pre 736µs on 737µs post 739µs diff -234ns align 1048576 pre 736µs on 734µs post 734µs diff -1177ns align 524288 pre 735µs on 735µs post 737µs diff -1214ns align 262144 pre 739µs on 735µs post 731µs diff -224ns align 131072 pre 737µs on 737µs post 738µs diff -650ns align 65536 pre 738µs on 736µs post 736µs diff -689ns align 32768 pre 735µs on 738µs post 732µs diff 4.52µs align 16384 pre 737µs on 738µs post 737µs diff 534ns align 8192 pre 736µs on 737µs post 736µs diff 1.38µs align 4096 pre 738µs on 732µs post 735µs diff -4358ns
-> aeh?
$ ./flashbench /dev/sda3 --open-au-nr=1 -O --blocksize=2048 --erasesize=$[8*1024*1024] 8MiB 1.48M/s 4MiB 3.23M/s 2MiB 3.63M/s 1MiB 3.69M/s 512KiB 3.65M/s 256KiB 3.62M/s 128KiB 3.5M/s 64KiB 3.87M/s 32KiB 3.44M/s 16KiB 3.1M/s 8KiB 2.15M/s 4KiB 1.4M/s 2KiB 813K/s
$ ./flashbench /dev/sda3 --open-au-nr=1 -O --blocksize=2048 --erasesize=$[8*1024*1024] 8MiB 3.65M/s 4MiB 3.63M/s 2MiB 3.67M/s 1MiB 3.7M/s 512KiB 3.69M/s 256KiB 3.64M/s 128KiB 3.51M/s 64KiB 3.88M/s 32KiB 3.45M/s 16KiB 3.12M/s 8KiB 2.17M/s 4KiB 1.41M/s 2KiB 805K/s
$ ./flashbench /dev/sda3 --open-au-nr=1 -O --blocksize=2048 --erasesize=$[8*1024*1024] 8MiB 3.73M/s 4MiB 3.67M/s 2MiB 3.73M/s 1MiB 3.76M/s 512KiB 3.73M/s 256KiB 3.73M/s 128KiB 3.56M/s 64KiB 3.97M/s 32KiB 3.54M/s 16KiB 3.16M/s 8KiB 2.19M/s 4KiB 1.4M/s 2KiB 811K/s
$ ./flashbench /dev/sda3 --open-au-nr=1 -O --blocksize=2048 --erasesize=$[16*1024*1024] 16MiB 4.75M/s 8MiB 5.48M/s 4MiB 5.44M/s 2MiB 5.38M/s 1MiB 5.48M/s 512KiB 5.38M/s 256KiB 5.36M/s 128KiB 5.02M/s 64KiB 5.97M/s 32KiB 4.93M/s 16KiB 4.32M/s 8KiB 2.6M/s 4KiB 1.62M/s 2KiB 905K/s
$ ./flashbench /dev/sda3 --open-au-nr=1 -O --blocksize=2048 --erasesize=$[16*1024*1024] --offset=$[2*1024*1024] 16MiB 6.04M/s 8MiB 4.57M/s 4MiB 5.31M/s 2MiB 5.3M/s 1MiB 5.38M/s 512KiB 5.32M/s 256KiB 5.24M/s 128KiB 4.94M/s 64KiB 5.85M/s 32KiB 4.86M/s 16KiB 4.29M/s 8KiB 2.57M/s 4KiB 1.62M/s 2KiB 912K/s
./flashbench /dev/sda3 --open-au-nr=1 -O --blocksize=2048 --erasesize=$[16*1024*1024] --offset=$[512] 16MiB 5.13M/s 8MiB 5.4M/s 4MiB 5.41M/s 2MiB 5.33M/s 1MiB 5.47M/s 512KiB 5.39M/s 256KiB 5.28M/s 128KiB 4.83M/s 64KiB 6.39M/s 32KiB 4.44M/s 16KiB 3.45M/s 8KiB 1.96M/s 4KiB 1.35M/s 2KiB 823K/s
$ ./flashbench /dev/sda3 --open-au-nr=2 -O --blocksize=2048 --erasesize=$[16*1024*1024] 16MiB 5.69M/s 8MiB 5.66M/s 4MiB 5.57M/s 2MiB 5.23M/s 1MiB 5.56M/s 512KiB 5.47M/s 256KiB 5.42M/s 128KiB 5.1M/s 64KiB 5.52M/s 32KiB 5.02M/s 16KiB 4.31M/s 8KiB 2.51M/s 4KiB 1.58M/s 2KiB 908K/s
./flashbench /dev/sda3 --open-au-nr=5 -O --blocksize=2048 --erasesize=$[16*1024*1024] 16MiB 5.94M/s 8MiB 4.92M/s 4MiB 4.33M/s 2MiB 4.54M/s 1MiB 5.98M/s 512KiB 5.95M/s 256KiB 5.94M/s 128KiB 5.53M/s 64KiB 5.92M/s 32KiB 5.42M/s 16KiB 4.65M/s 8KiB 2.67M/s 4KiB 1.67M/s 2KiB 917K/s
$ ./flashbench /dev/sda3 --open-au-nr=10 -O --blocksize=2048 --erasesize=$[16*1024*1024] 16MiB 5.79M/s 8MiB 5.28M/s 4MiB 4.25M/s 2MiB 3.05M/s 1MiB 2.04M/s 512KiB 1.02M/s 256KiB 515K/s freezes
./flashbench /dev/sda3 --open-au-nr=6 -O --blocksize=2048 --erasesize=$[16*1024*1024] 16MiB 5.5M/s 8MiB 5.06M/s 4MiB 4.29M/s 2MiB 3.1M/s 1MiB 2.08M/s 512KiB 1.03M/s 256KiB 518K/s ^C
-> at least 5 blocks
./flashbench /dev/sda3 --open-au-nr=5 -O --blocksize=2048 --erasesize=$[16*1024*1024] --random 16MiB 5.22M/s 8MiB 5.04M/s 4MiB 4.14M/s 2MiB 3.09M/s 1MiB 2.19M/s 512KiB 1.13M/s 256KiB 605K/s 128KiB 300K/s ^C
./flashbench /dev/sda3 --open-au-nr=1 -O --blocksize=2048 --erasesize=$[16*1024*1024] --random 16MiB 4.65M/s 8MiB 4.69M/s 4MiB 4.65M/s 2MiB 4.71M/s 1MiB 3.66M/s 512KiB 1.75M/s 256KiB 1.28M/s 128KiB 819K/s 64KiB 542K/s 32KiB 262K/s 16KiB 127K/s 8KiB 64.4K/s
-> quite slow on small blocks
-> assuming 8GiB erase-size (?)
$ ./flashbench /dev/sda3 -f --erasesize=$[8*1024*1024] --blocksize=2048 8MiB 5.81M/s 6.2M/s 6.64M/s 6.8M/s 6.18M/s 4.83M/s 4MiB 5.77M/s 6.49M/s 6.39M/s 6.69M/s 6.51M/s 4.68M/s 2MiB 5.68M/s 6.45M/s 6.53M/s 6.52M/s 6.48M/s 4.8M/s 1MiB 5.9M/s 6.55M/s 6.61M/s 6.74M/s 6.6M/s 4.85M/s 512KiB 5.77M/s 6.55M/s 6.52M/s 6.58M/s 6.6M/s 4.81M/s 256KiB 5.72M/s 6.49M/s 6.46M/s 6.45M/s 6.52M/s 4.77M/s 128KiB 5.3M/s 6.04M/s 6M/s 5.97M/s 6M/s 4.51M/s 64KiB 6.51M/s 7.3M/s 7.37M/s 7.5M/s 7.37M/s 5.2M/s 32KiB 5.32M/s 5.98M/s 5.92M/s 5.9M/s 6M/s 4.45M/s 16KiB 4.54M/s 5.1M/s 5.04M/s 4.94M/s 5M/s 3.84M/s 8KiB 2.67M/s 2.8M/s 2.83M/s 2.84M/s 2.88M/s 2.48M/s 4KiB 1.67M/s 1.74M/s 1.73M/s 1.73M/s 1.74M/s 1.57M/s 2KiB 934K/s 956K/s 958K/s 953K/s 954K/s 884K/s
peter