Hi,
./flashbench -a /dev/sdb2 --blocksize=1024
align 8589934592 pre 371µs on 736µs post 370µs diff 365µs
align 4294967296 pre 371µs on 739µs post 370µs diff 368µs
align 2147483648 pre 370µs on 737µs post 371µs diff 366µs
align 1073741824 pre 370µs on 740µs post 371µs diff 370µs
align 536870912 pre 371µs on 740µs post 369µs diff 370µs
align 268435456 pre 371µs on 752µs post 371µs diff 381µs
align 134217728 pre 371µs on 739µs post 370µs diff 368µs
align 67108864 pre 370µs on 738µs post 369µs diff 368µs
align 33554432 pre 389µs on 741µs post 370µs diff 361µs
align 16777216 pre 387µs on 737µs post 370µs diff 359µs
align 8388608 pre 370µs on 738µs post 370µs diff 368µs
align 4194304 pre 371µs on 736µs post 371µs diff 365µs
align 2097152 pre 384µs on 736µs post 370µs diff 359µs
align 1048576 pre 389µs on 736µs post 371µs diff 356µs
align 524288 pre 370µs on 734µs post 370µs diff 364µs
align 262144 pre 371µs on 735µs post 370µs diff 364µs
align 131072 pre 384µs on 734µs post 369µs diff 358µs
align 65536 pre 404µs on 737µs post 371µs diff 349µs
align 32768 pre 401µs on 743µs post 369µs diff 358µs
align 16384 pre 405µs on 485µs post 370µs diff 97.1µs
align 8192 pre 383µs on 439µs post 371µs diff 61.5µs
align 4096 pre 372µs on 415µs post 370µs diff 44.2µs
align 2048 pre 404µs on 425µs post 371µs diff 37.1µs
So, this appears to indicate that the erase block size of
Transcend TS32GSSD18M-M is 32kB.
Thanks for a very useful tool,
Andreas Mohr
Label on packaging:
Class 6
Read: Max 24MB/s
Write: Max 13 MB/s
Label on Card:
front (blue):
8 GB
back:
CE
MMBTR08GUBCA-ME
I CYG498GA 135
Made in TAIWAN
head /sys/block/mmcblk0/device/*
==> /sys/block/mmcblk0/device/cid <==
1b534d30303030301001952e5c00b900
==> /sys/block/mmcblk0/device/csd <==
400e00325b5900003b577f800a400000
==> /sys/block/mmcblk0/device/date <==
09/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 <==
0x01952e5c
==> /sys/block/mmcblk0/device/type <==
SD
==> /sys/block/mmcblk0/device/uevent <==
DRIVER=mmcblk
MMC_TYPE=SD
MMC_NAME=00000
MODALIAS=mmc:block
$ sudo fdisk -lu /dev/mmcblk0
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 15556608
15556608: 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 211
$ sudo ./flashbench -a /dev/mmcblk0 --blocksize=1024align 805306368 pre 817µs on 1.17ms post 784µs diff 373µs
align 536870912 pre 940µs on 1.24ms post 851µs diff 344µs
align 402653184 pre 835µs on 1.18ms post 797µs diff 363µs
align 268435456 pre 968µs on 1.23ms post 868µs diff 313µs
align 201326592 pre 833µs on 1.18ms post 780µs diff 371µs
align 134217728 pre 949µs on 1.24ms post 846µs diff 341µs
align 100663296 pre 820µs on 1.17ms post 784µs diff 371µs
align 67108864 pre 967µs on 1.27ms post 876µs diff 345µs
align 50331648 pre 834µs on 1.18ms post 778µs diff 373µs
align 33554432 pre 975µs on 1.24ms post 850µs diff 327µs
align 25165824 pre 839µs on 1.17ms post 782µs diff 362µs
align 16777216 pre 980µs on 1.27ms post 879µs diff 336µs
align 12582912 pre 812µs on 1.14ms post 781µs diff 348µs
align 8388608 pre 939µs on 1.22ms post 849µs diff 322µs
align 6291456 pre 749µs on 1.13ms post 809µs diff 347µs
align 4194304 pre 806µs on 1.06ms post 819µs diff 248µs
align 3145728 pre 696µs on 790µs post 783µs diff 50µs
align 2097152 pre 800µs on 1.04ms post 800µs diff 242µs
align 1572864 pre 693µs on 790µs post 792µs diff 48.4µs
align 1048576 pre 690µs on 803µs post 805µs diff 55.4µs
align 786432 pre 723µs on 821µs post 816µs diff 51.8µs
align 524288 pre 688µs on 790µs post 801µs diff 45.1µs
align 393216 pre 699µs on 796µs post 792µs diff 50.1µs
align 262144 pre 696µs on 807µs post 807µs diff 55.7µs
align 196608 pre 725µs on 822µs post 823µs diff 48.3µs
align 131072 pre 693µs on 794µs post 802µs diff 46.7µs
align 98304 pre 716µs on 820µs post 825µs diff 49.2µs
align 65536 pre 684µs on 790µs post 796µs diff 50.3µs
align 49152 pre 717µs on 813µs post 821µs diff 43.7µs
align 32768 pre 703µs on 806µs post 800µs diff 54.1µs
align 24576 pre 717µs on 810µs post 822µs diff 40.7µs
align 16384 pre 708µs on 801µs post 812µs diff 40.2µs
align 12288 pre 762µs on 756µs post 754µs diff -2647ns
align 8192 pre 718µs on 805µs post 821µs diff 36.1µs
align 6144 pre 737µs on 729µs post 721µs diff 535ns
align 4096 pre 777µs on 769µs post 761µs diff -199ns
align 3072 pre 774µs on 775µs post 753µs diff 10.8µs
align 2048 pre 788µs on 783µs post 773µs diff 2.25µs
$ sudo ./flashbench --open-au /dev/mmcblk0 --blocksize=$[3*8192] --erasesize=$[6*1024*1024] --open-au-nr=2
6MiB 7.73M/s
3MiB 6.04M/s
1.5MiB 7.7M/s
768KiB 7.68M/s
384KiB 7.68M/s
192KiB 7.67M/s
96KiB 6.56M/s
48KiB 6.05M/s
24KiB 4.04M/s
$ sudo ./flashbench --open-au /dev/mmcblk0 --blocksize=$[3*8192] --erasesize=$[6*1024*1024] --open-au-nr=3
6MiB 7.69M/s
3MiB 5.08M/s
1.5MiB 2.92M/s
768KiB 2.25M/s
384KiB 1.54M/s
192KiB 1.48M/s
96KiB 1.09M/s
48KiB 1.1M/s
24KiB 1.08M/s
$ sudo ./flashbench --open-au /dev/mmcblk0 --blocksize=$[3*8192] --erasesize=$[6*1024*1024] --open-au-nr=1 --random
6MiB 3.16M/s
3MiB 1.77M/s
1.5MiB 1.4M/s
768KiB 583K/s
384KiB 331K/s
192KiB 166K/s
Hi!
I've started using that great tool to figure out how I should partition some
cards but I'm not sure how to continue after the first results I've got and I'd
like some guidance.
Also I'd like to know if the card reader can influence the results since I've
tested with 2 different laptops internal SD card readers and noticed differences
in the times.
I also checked with 'dd' the speeds and found the writing speed limited up to
less than 10 MiB/s and a reading speed limited up to 14 MiB/s or so with chunks
of 32 kiB and 4 MiB.
Eventually I checked on an Android phone and got the writing speed limited up to
11 MiB/s or so and the reading speed limited up to less than 20 MiB/s.
To make sure I compiled flashbench to run on the phone and also found different
times than on the laptops.
#
# Product Page
#
http://www.transcend-info.com/products/Catlist.asp?LangNo=0&modno=320
#
# Details
#
$ head /sys/block/mmcblk0/device/* 2>/dev/null | grep -v ^$
==> /sys/block/mmcblk0/device/block <==
==> /sys/block/mmcblk0/device/cid <==
1b534d30303030301078944a9000c100
==> /sys/block/mmcblk0/device/csd <==
400e00325b590000e9e57f800a404000
==> /sys/block/mmcblk0/device/date <==
01/2012
==> /sys/block/mmcblk0/device/driver <==
==> /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 ## i.e. "SM"
==> /sys/block/mmcblk0/device/power <==
==> /sys/block/mmcblk0/device/preferred_erase_size <==
4194304
==> /sys/block/mmcblk0/device/scr <==
02b5800200000000
==> /sys/block/mmcblk0/device/serial <==
0x78944a90
==> /sys/block/mmcblk0/device/subsystem <==
==> /sys/block/mmcblk0/device/type <==
SD
==> /sys/block/mmcblk0/device/uevent <==
DRIVER=mmcblk
MMC_TYPE=SD
MMC_NAME=00000
MODALIAS=mmc:block
#
# Size
#
$ cat /sys/block/mmcblk0/device/block/mmcblk0/size
61315072
#
# Factor
#
$ factor 61315072
61315072: 2 2 2 2 2 2 2 2 2 2 2 7 7 13 47
Does it mean that the erase block size could be 7 MiB?
#
# Guess erase block and page sizes
#
## on Dell E6400
$ sudo ./flashbench -a /dev/mmcblk0 --blocksize=1024
align 8589934592 pre 198µs on 210µs post 199µs diff 11.3µs
align 4294967296 pre 185µs on 202µs post 187µs diff 15.6µs
align 2147483648 pre 184µs on 197µs post 184µs diff 12.9µs
align 1073741824 pre 187µs on 202µs post 187µs diff 15.7µs
align 536870912 pre 184µs on 197µs post 184µs diff 13.5µs
align 268435456 pre 217µs on 234µs post 187µs diff 32.1µs
align 134217728 pre 218µs on 247µs post 200µs diff 38.7µs
align 67108864 pre 219µs on 251µs post 202µs diff 40.5µs
align 33554432 pre 219µs on 267µs post 216µs diff 48.9µs
align 16777216 pre 208µs on 256µs post 216µs diff 43.7µs
align 8388608 pre 203µs on 242µs post 208µs diff 36.5µs
align 4194304 pre 212µs on 260µs post 216µs diff 45.8µs
align 2097152 pre 205µs on 242µs post 207µs diff 36.1µs
align 1048576 pre 212µs on 257µs post 217µs diff 42.4µs
align 524288 pre 203µs on 240µs post 206µs diff 36.1µs
align 262144 pre 211µs on 257µs post 217µs diff 43.2µs
align 131072 pre 205µs on 241µs post 207µs diff 35.5µs
align 65536 pre 209µs on 257µs post 217µs diff 43.7µs
align 32768 pre 201µs on 239µs post 207µs diff 35.3µs
align 16384 pre 213µs on 235µs post 210µs diff 23.9µs
##
align 8192 pre 211µs on 213µs post 214µs diff 868ns
align 4096 pre 212µs on 212µs post 217µs diff -2843ns
align 2048 pre 214µs on 212µs post 214µs diff -1985ns
## on Lenovo T400
$ sudo ./flashbench -a /dev/mmcblk0 --blocksize=1024
align 8589934592 pre 307µs on 737µs post 358µs diff 405µs
align 4294967296 pre 283µs on 724µs post 348µs diff 409µs
align 2147483648 pre 300µs on 712µs post 371µs diff 377µs
align 1073741824 pre 331µs on 857µs post 353µs diff 515µs
align 536870912 pre 340µs on 872µs post 354µs diff 525µs
align 268435456 pre 342µs on 843µs post 359µs diff 493µs
align 134217728 pre 292µs on 839µs post 364µs diff 511µs
align 67108864 pre 316µs on 843µs post 357µs diff 507µs
align 33554432 pre 344µs on 832µs post 367µs diff 476µs
align 16777216 pre 323µs on 862µs post 370µs diff 515µs
align 8388608 pre 324µs on 855µs post 365µs diff 510µs
align 4194304 pre 308µs on 772µs post 340µs diff 448µs
align 2097152 pre 334µs on 861µs post 367µs diff 510µs
align 1048576 pre 301µs on 794µs post 355µs diff 466µs
align 524288 pre 325µs on 830µs post 352µs diff 492µs
align 262144 pre 319µs on 795µs post 353µs diff 459µs
align 131072 pre 314µs on 863µs post 389µs diff 511µs
align 65536 pre 317µs on 813µs post 339µs diff 485µs
align 32768 pre 311µs on 845µs post 364µs diff 507µs
##
align 16384 pre 323µs on 464µs post 346µs diff 130µs
##
align 8192 pre 331µs on 338µs post 330µs diff 7.52µs
align 4096 pre 350µs on 357µs post 344µs diff 10.1µs
align 2048 pre 359µs on 354µs post 352µs diff -1566ns
## on Samsung GT-I8150
# ./flashbench -a /dev/block/mmcblk1 --blocksize=1024
align 8589934592 pre 222µs on 318µs post 283µs diff 65.4µs
align 4294967296 pre 227µs on 318µs post 279µs diff 65.4µs
align 2147483648 pre 231µs on 318µs post 275µs diff 65.4µs
align 1073741824 pre 279µs on 440µs post 405µs diff 98.1µs
align 536870912 pre 231µs on 340µs post 371µs diff 39.2µs
align 268435456 pre 240µs on 353µs post 288µs diff 89.4µs
align 134217728 pre 253µs on 506µs post 344µs diff 207µs
align 67108864 pre 231µs on 458µs post 292µs diff 196µs
align 33554432 pre 257µs on 475µs post 305µs diff 194µs
align 16777216 pre 235µs on 475µs post 318µs diff 198µs
align 8388608 pre 218µs on 453µs post 310µs diff 190µs
align 4194304 pre 248µs on 458µs post 296µs diff 185µs
align 2097152 pre 231µs on 445µs post 296µs diff 181µs
align 1048576 pre 244µs on 501µs post 327µs diff 216µs
align 524288 pre 240µs on 449µs post 301µs diff 179µs
align 262144 pre 231µs on 453µs post 310µs diff 183µs
align 131072 pre 227µs on 453µs post 301µs diff 190µs
align 65536 pre 253µs on 453µs post 310µs diff 172µs
align 32768 pre 244µs on 453µs post 327µs diff 168µs
##
align 16384 pre 253µs on 371µs post 318µs diff 85µs ##
align 8192 pre 283µs on 257µs post 240µs diff -4359ns
align 4096 pre 270µs on 262µs post 253µs diff 1ns
align 2048 pre 275µs on 275µs post 275µs diff 0ns
Should I understand that it has 16 kiB pages with multi-plane accesses
to read two pages simultaneously?
What do you suggest? How should I continue and with which device?
Thanks and regards,
Victor
To ensure delivery of these Emails to your inbox, please add gwenzhan(a)gk-ing.com to your email address book.
Dear Friend :
Long time no contact ,how are you?Time flies,next We will be in "July of 2012".Our colleague Hillary Wu already back to Hometown for wedding,Cheers.Next i will be in charge for her job.pls noted.
Do you have this kind of situation?want to buy Usb flash,but too many choices let you lost your judgement.after read below maybe you will know Why buy from us ?
Any question pls feel free to let me know.
Regards/Gwen
G&K.Ing "We make miracle" ?
Add:Rm 703.KingLihua Commercial Building,YiYuan Road,Bao"an ,ShenZhen,China
Tel: 86(0)755 22208877 Fax:86(0)755 22141877 Mobile:86-13714133320
E-mail:gwenzhan@gk-ing.com,MSN:gwenzhan@hotmail.com,Website: www.gk-ing.com
If you don't want to receive these Emails, please click unsubscribe.
As requested in the readme, I have used flashbench to test the card in
the topic. Here are my results, taken by a Debian Wheezy install (Linux
omega1 3.2.0-2-amd64 #1 SMP Mon Jun 11 17:24:18 UTC 2012 x86_64
GNU/Linux) on a
Transcend 3.0 USB reader running through a USB2 port:
sudo ./flashbench -a /dev/sdm --blocksize=1024
align 4294967296 pre 1.22ms on 1.42ms post 1.21ms diff 197µs
align 2147483648 pre 1.21ms on 1.49ms post 1.04ms diff 367µs
align 1073741824 pre 1.12ms on 1.41ms post 1.07ms diff 319µs
align 536870912 pre 1.19ms on 1.44ms post 1.03ms diff 330µs
align 268435456 pre 1.22ms on 1.44ms post 1.17ms diff 243µs
align 134217728 pre 1.19ms on 1.46ms post 1.02ms diff 354µs
align 67108864 pre 1.18ms on 1.44ms post 1.24ms diff 233µs
align 33554432 pre 1.19ms on 1.4ms post 1.23ms diff 187µs
align 16777216 pre 1.18ms on 1.43ms post 1.21ms diff 240µs
align 8388608 pre 1.14ms on 1.46ms post 1.21ms diff 280µs
align 4194304 pre 951µs on 1.12ms post 920µs diff 179µs
align 2097152 pre 981µs on 1.07ms post 993µs diff 78.1µs
align 1048576 pre 993µs on 1.09ms post 1.01ms diff 93.8µs
align 524288 pre 996µs on 1.09ms post 1.01ms diff 86.5µs
align 262144 pre 987µs on 1.09ms post 1ms diff 97.6µs
align 131072 pre 977µs on 1.09ms post 1ms diff 102µs
align 65536 pre 1.05ms on 1.1ms post 982µs diff 89.3µs
align 32768 pre 1.03ms on 1.07ms post 1.07ms diff 24.7µs
align 16384 pre 1.01ms on 1.08ms post 1.02ms diff 66.6µs
align 8192 pre 1ms on 1.08ms post 1.01ms diff 68.3µs
align 4096 pre 994µs on 1.07ms post 1.02ms diff 56.4µs
align 2048 pre 1.02ms on 1.08ms post 1.02ms diff 58.7µs