[Flashbench] Samsung Plus 8GB SDHC class 10 MB-SP8GA

Andrew Bradford andrew.bradford at omni-id.com
Mon Aug 6 17:37:24 UTC 2012

## Looks very similar to the microSD version I tested [1] recently and
the one Arnd mentioned in reply [2] to that.  This is the full size SD


andrew at brick:~/git/flashbench$ sudo fdisk -l /dev/mmcblk0  | grep Disk
Disk /dev/mmcblk0: 8068 MB, 8068792320 bytes
Disk identifier: 0x00000000
andrew at brick:~/git/flashbench$ factor $[8068792320/1024]
7879680: 2 2 2 2 2 2 2 2 2 2 3 3 3 3 5 19

andrew at brick:~/git/flashbench$ head /sys/block/mmcblk0/device/*
2>/dev/null | grep -v ^$ ==> /sys/block/mmcblk0/device/block <==
==> /sys/block/mmcblk0/device/cid <==  
==> /sys/block/mmcblk0/device/csd <==  
==> /sys/block/mmcblk0/device/date <==  
==> /sys/block/mmcblk0/device/driver <==
==> /sys/block/mmcblk0/device/erase_size <==  
==> /sys/block/mmcblk0/device/fwrev <==  
==> /sys/block/mmcblk0/device/hwrev <==  
==> /sys/block/mmcblk0/device/manfid <==  
==> /sys/block/mmcblk0/device/name <==  
==> /sys/block/mmcblk0/device/oemid <==  
==> /sys/block/mmcblk0/device/power <==
==> /sys/block/mmcblk0/device/preferred_erase_size <==  
==> /sys/block/mmcblk0/device/scr <==  
==> /sys/block/mmcblk0/device/serial <==  
==> /sys/block/mmcblk0/device/subsystem <==
==> /sys/block/mmcblk0/device/type <==  
==> /sys/block/mmcblk0/device/uevent <==  

andrew at brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 -a
--blocksize=1024 --count=100 align 2147483648	pre 919µs
on 1.24ms	post 1.08ms	diff 243µs align 1073741824
pre 931µs	on 1.27ms	post 1.11ms	diff 251µs align
536870912	pre 855µs	on 1.12ms	post 1.1ms
diff 142µs align 268435456	pre 843µs	on 1.12ms
post 1.08ms	diff 159µs align 134217728	pre 855µs
on 1.14ms	post 1.07ms	diff 177µs align 67108864
pre 847µs	on 1.14ms	post 1.08ms	diff 175µs align
33554432	pre 858µs	on 1.14ms	post 1.1ms
diff 158µs align 16777216	pre 859µs	on 1.14ms	post
1.1ms	diff 158µs align 8388608	pre 853µs	on
1.16ms	post 1.05ms	diff 207µs align 4194304	pre
835µs	on 1.13ms	post 1.07ms	diff 173µs align
2097152	pre 805µs	on 1.06ms	post 1.07ms
diff 120µs align 1048576	pre 815µs	on 1.07ms	post
1.05ms	diff 133µs align 524288	pre 792µs	on
1.06ms	post 1.06ms	diff 130µs align 262144	pre
822µs	on 1.06ms	post 1.06ms	diff 122µs align
131072	pre 820µs	on 1.08ms	post 1.07ms	diff
132µs align 65536	pre 806µs	on 1.04ms	post
1.06ms	diff 109µs align 32768	pre 804µs	on
1.05ms	post 1.06ms	diff 122µs align 16384	pre
824µs	on 1.05ms	post 1.04ms	diff 118µs align
8192	pre 812µs	on 1.05ms	post 1.07ms	diff
111µs align 4096	pre 969µs	on 940µs	post
920µs	diff -4540ns align 2048	pre 1.03ms	on
1.01ms	post 969µs	diff 8.94µs

## No clear erase block size there.  Possibly 4MiB.

andrew at brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 -f 
4MiB    9.65M/s  8.8M/s   9.62M/s  9.63M/s  9.65M/s  9.65M/s  
2MiB    9.66M/s  8.77M/s  9.66M/s  9.64M/s  9.64M/s  9.6M/s   
1MiB    9.63M/s  8.69M/s  9.61M/s  9.62M/s  9.61M/s  9.63M/s  
512KiB  9.61M/s  8.74M/s  9.59M/s  9.58M/s  9.66M/s  9.61M/s  
256KiB  9.58M/s  8.73M/s  9.57M/s  9.62M/s  9.56M/s  9.56M/s  
128KiB  9.52M/s  8.68M/s  9.55M/s  9.57M/s  9.5M/s   9.53M/s  
64KiB   9.39M/s  8.49M/s  9.44M/s  9.39M/s  9.48M/s  9.43M/s  
32KiB   6.6M/s   5.71M/s  6.63M/s  6.62M/s  6.57M/s  6.68M/s  
16KiB   4.67M/s  3.79M/s  4.67M/s  4.67M/s  4.69M/s  4.7M/s   

## 2nd erase block is a _little_ bit slower, consistently.

andrew at brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au
--blocksize=$[16*1024] --erasesize=$[4*1024*1024] --open-au-nr=1
4MiB    9.63M/s 2MiB    8.85M/s 
1MiB    8.74M/s 
512KiB  8.76M/s 
256KiB  8.74M/s 
128KiB  8.69M/s 
64KiB   8.49M/s 
32KiB   5.69M/s 
16KiB   3.8M/s  

andrew at brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au
--blocksize=$[16*1024] --erasesize=$[4*1024*1024] --open-au-nr=2
4MiB    9.19M/s 2MiB    9.14M/s 
1MiB    9.2M/s  
512KiB  9.18M/s 
256KiB  9.08M/s 
128KiB  9.13M/s 
64KiB   9.09M/s 
32KiB   6.1M/s  
16KiB   4.19M/s 

andrew at brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au
--blocksize=$[16*1024] --erasesize=$[4*1024*1024] --open-au-nr=7
4MiB    9.52M/s 2MiB    6.84M/s 
1MiB    9.49M/s 
512KiB  9.48M/s 
256KiB  9.44M/s 
128KiB  9.37M/s 
64KiB   9.29M/s 
32KiB   6.33M/s 
16KiB   4.41M/s 

andrew at brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au
--blocksize=$[16*1024] --erasesize=$[4*1024*1024] --open-au-nr=8
4MiB    9.53M/s 2MiB    5.45M/s 
1MiB    2.06M/s 
512KiB  1.11M/s 

## 7 linear open-au.

andrew at brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au
--blocksize=$[16*1024] --erasesize=$[4*1024*1024] --open-au-nr=7
--random 4MiB    4.51M/s 2MiB    8.23M/s 
1MiB    8.18M/s 
512KiB  4.49M/s 
256KiB  8.18M/s 
128KiB  4.45M/s 
64KiB   7.89M/s 
32KiB   3.57M/s 
16KiB   3.7M/s  
andrew at brick:~/git/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au
--blocksize=$[16*1024] --erasesize=$[4*1024*1024] --open-au-nr=8
--random 4MiB    4.57M/s 2MiB    4.06M/s 
1MiB    2.15M/s 
512KiB  1.12M/s 
256KiB  586K/s  

## 7 random open-au.


More information about the Flashbench-results mailing list