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
Here are 4 full featured lists to help you with your email marketing needs.
==> This week choose any list below for just $99 or 3 lists for $199! <==
American Business List - 4 million emails in 9,000 SIC categories
USA Nurses and Therapists - 135,000 Emails with Full Data
USA Full Data Healthcare List - 230,000 emails in 365 Medical Specialties and Businesses
US Dentists - 75,000 Emails with both General Dentists and Specialists
Reply back for samples and more information.
If you prefer not to receive emails from us simply put "quit" in the SUBJECT heading in your reply.
Greg Parker
Infodatasource
Dear Recruiter,
We are proud to announce that we now have a new list of Nurses and Therapists for the USA. There are 135,000 total emails on this list with full contact data including email address. The list is BRAND NEW as of this month and you won't find it anywhere else - believe me we've been looking for a long time. As a special promotion we are offering the first dozen copies of this list for just $99 only until Friday. Please reply back for a sample and more details.
If you do not wish to receive our mail in the future please put the word "quit" in the subject and reply to this email.
2012 special If you experience issues with the display of this letter, click here to view it in your web browser.
Dear Valued Guest: We would like to invite you to come and enjoy our 2012 SPECIAL promotion, where you can find saving on some of our great offers for all your corporate needs. We provide services such as customize of corporate gift, printing and packaging and many other services that you will be able to find on our website www.1impress.com/sg/. At 1impress, we produce innovative and sleek corporate gifts ranging from USB Flash Drives, PC Accessories and Electronic Products.Please visit our E-catalogue now and get new gift ideashttp://www.incentive-gifts.eu/. Kindly speak to our friendly printing consultant now to get the best deal. Ivy TEO Sales Manager Mobile: (65) 9017 2000 Fax: (65) 6358 1059 Email: ivy1(a)1impress.com Download the Contact Info
Benefits of Recycle bags:1. 100% Recyclable - Biodegradable & Decomposes 2. Flexible fabric making them easy to fold and store3. Durable and Strong so they can withstand heavy weights 4. Eco Friendly Benefits of USBs: 1. Perfect Branding tools for your products/service2. Corporate Gifts for your client3. Easy to carry and it will be used often in private and public by your clients
Benefits of Tissue Pack: 1. Effective branding tool, which is at the same time functional. 2. Fully customized printing 3. Cost effective marketing solution Benefits of Plastic Folder: 1. Cost effective marketing tool 2. Large printing area3. Can be fully customized
Ivy TEO Sales Manager Mobile: (65) 9017 2000 Fax: (65) 6358 1059Email: ivy_teo(a)1impress.com Download the Contact Info
1impress is a global printing and corporate gift company, Please Download 1impress's Corporate Profile.
1impress Fungchoi Group (Pte) Limited Address: 998 Toa Payoh North Industrial Estate #02-05 Singapore 318993Tel: (65) 6777 7377 / 1800-4677377
Hi flashbench-results.
I'm trying to get the most from a Samsung 32Gb SDHC Class10 card.
I've run a flashbench (compiled for x86) on a Asus Eee PC 901.
I'm posting the results as an attached file to this message.
I guess the page size is 16Kb, but not sure about erase block. What do
you think?
Strangely the 4 Mb boundary is faster than bigger boundaries.
Regards
--
________________________________________________
Santiago Castillo Oli scastillo(a)aragon.es
Técnico de sistemas 976 71 50 06
Biblioteca de Aragón
To ensure delivery of these Emails to your inbox, please add sales1(a)gk-ing.com to your email address book.
Dear valued customers,
Have a nice day.Wish things go smoothly with you.
Have you been bothered by traffic accident?It's indeed a bad thing to meet such situation.But don't
worry,on March,we promote our GPS with special traffic recorder function to solve your problem.
*5 inch /7 inch GPS+Traffic Recorder+Bluetooth+FM+AVIN+4GB flash,A+screen
*Provide evidence for traffic accident.
*Prevent fraudulent insurance acts.
*Record the malicious behavior of scratching the car when parking the car.
*Best price:$63.68/pcs for 5 inch; $70.08/pcs for 7 inch.
Are you interested in above model?Any question just contact me freely for further discussion.
Sincerely,
Hillary wu
G&K.Ing,We make miracle.
Add:Rm 703.King Lihua Commercial Building,NO.1133 Yiyuan Road,Bao"an,Shenzhen,China
Tel: 86(0)755 2220 8877 Fax:86(0)755 2214 1877 Mobile: 86-15220242320
MSN: gking.sales1(a)hotmail.com E-mail: sales1(a)gk-ing.com
Website: www.gk-ing.com
If you want to receive more types of Emails, please click subscribe.
If you don't want to receive these Emails, please click unsubscribe.
IYou could share this Email to your friends, please click forward.
To ensure delivery of these Emails to your inbox, please add sales1(a)gk-ing.com to your email address book.
Dear valued customer,
Wish you a nice new week.Hillary from G&K.Ing bring news for you.
Original Sandisk TF card promotional price (500-1000pcs):
2GB:$2.88; 4GB:$3.20; 8GB:$4.48;
16GB:$10.72; 32GB:$24.72.
Price valid for 2 days.Our TF cards have fast reading and writng speed,can pass H2Testw software. Attached is picture for your preview.
There are far more items at our website,welcome to view at http://www.gk-ing.com/products.html.
Any interest or question pls contact me freely for further discussion.
Sincerely,
Hillary wu
G&K.Ing,We make miracle.
Add:Rm 703.King Lihua Commercial Building,NO.1133 Yiyuan Road,Bao"an,Shenzhen,China
Tel: 86(0)755 2220 8877 Fax:86(0)755 2214 1877 Mobile: 86-15220242320
MSN: gking.sales1(a)hotmail.com E-mail: sales1(a)gk-ing.com
Website: www.gk-ing.com
If you want to receive more types of Emails, please click subscribe.
If you don't want to receive these Emails, please click unsubscribe.
IYou could share this Email to your friends, please click forward.
To ensure delivery of these Emails to your inbox, please add sales(a)gk-ing.com to your email address book.
Dear Friend:
Thank for you support in the past 2011,Coming Christmas and New year day.G&K.ing wish you
Merry Christmas! Happy New Year!!
Quality,Service,Long Term Cooperation---Our Unremitting Pursuit!!!
Sincerely/Gwen
G&K.Ing,We make miracle.
Add:Rm 703.King Lihua Commercial Building,NO.1133 Yiyuan Road,Bao"an,Shenzhen,China
Tel: 86(0)755 2220 8877 Fax:86(0)755 2214 1877
Website : www.gk-ing.com
If you don't want to receive these Emails, please click unsubscribe.
If I'm reading my results correctly, this card is 2MB erase blocks and
8KB pages and it can only have 1 open segment at a time? It's not that
fast of a card, I have another one with ext3 running on a PandaBoard
with Emdebian Squeeze.
As this is my first usage of flashbench, if there's any other info that
would be useful, please let me know. This card was brand new before
testing.
Thanks,
Andrew
andrew@bradford:~/flashbench$ sudo head /sys/block/mmcblk0/device/*
2>/dev/null | grep -v ^$
==> /sys/block/mmcblk0/device/block <==
==> /sys/block/mmcblk0/device/cid <==
02544d534430344760b099f09300b400
==> /sys/block/mmcblk0/device/csd <==
400e00325b5900001d877f800a400000
==> /sys/block/mmcblk0/device/date <==
04/2011
==> /sys/block/mmcblk0/device/driver <==
==> /sys/block/mmcblk0/device/erase_size <==
512
==> /sys/block/mmcblk0/device/fwrev <==
0x0
==> /sys/block/mmcblk0/device/hwrev <==
0x6
==> /sys/block/mmcblk0/device/manfid <==
0x000002
==> /sys/block/mmcblk0/device/name <==
SD04G
==> /sys/block/mmcblk0/device/oemid <==
0x544d
==> /sys/block/mmcblk0/device/power <==
==> /sys/block/mmcblk0/device/preferred_erase_size <==
4194304
==> /sys/block/mmcblk0/device/scr <==
02b5800026025202
==> /sys/block/mmcblk0/device/serial <==
0xb099f093
==> /sys/block/mmcblk0/device/subsystem <==
==> /sys/block/mmcblk0/device/type <==
SD
==> /sys/block/mmcblk0/device/uevent <==
DRIVER=mmcblk
MMC_TYPE=SD
MMC_NAME=SD04G
MODALIAS=mmc:block
andrew@bradford:~/flashbench$ sudo fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 3963 MB, 3963617280 bytes
128 heads, 63 sectors/track, 960 cylinders
Units = cylinders of 8064 * 512 = 4128768 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 2 960 3866624 b W95 FAT32
andrew@bradford:~/flashbench$ sudo ./flashbench -a /dev/mmcblk0
--blocksize=1024
align 1073741824 pre 896µs on 1.05ms post 753µs diff 225µs
align 536870912 pre 959µs on 1.09ms post 731µs diff 241µs
align 268435456 pre 744µs on 867µs post 731µs diff 129µs
align 134217728 pre 744µs on 862µs post 731µs diff 125µs
align 67108864 pre 741µs on 878µs post 745µs diff 135µs
align 33554432 pre 742µs on 878µs post 746µs diff 134µs
align 16777216 pre 742µs on 874µs post 747µs diff 130µs
align 8388608 pre 739µs on 889µs post 754µs diff 143µs
align 4194304 pre 754µs on 894µs post 749µs diff 142µs
align 2097152 pre 764µs on 899µs post 752µs diff 141µs
align 1048576 pre 761µs on 791µs post 762µs diff 29.1µs ##
align 524288 pre 751µs on 793µs post 760µs diff 37.7µs
align 262144 pre 758µs on 788µs post 763µs diff 27.9µs
align 131072 pre 761µs on 799µs post 772µs diff 32.5µs
align 65536 pre 761µs on 792µs post 770µs diff 26.6µs
align 32768 pre 761µs on 789µs post 762µs diff 27.7µs
align 16384 pre 762µs on 789µs post 762µs diff 26.8µs
align 8192 pre 762µs on 787µs post 760µs diff 26µs
align 4096 pre 760µs on 761µs post 761µs diff 318ns ##
align 2048 pre 757µs on 757µs post 757µs diff 104ns
andrew@bradford:~/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au
--erasesize=$[2 * 1024 * 1024] --blocksize=$[8 * 1024] --open-au-nr=1
2MiB 8.46M/s
1MiB 8.28M/s
512KiB 8.42M/s
256KiB 8.11M/s
128KiB 8.42M/s
64KiB 8.15M/s
32KiB 7.71M/s
16KiB 5.47M/s
8KiB 3.32M/s
andrew@bradford:~/flashbench$ sudo ./flashbench /dev/mmcblk0 --open-au
--erasesize=$[2 * 1024 * 1024] --blocksize=$[8 * 1024] --open-au-nr=2
2MiB 5.82M/s
1MiB 4.82M/s
512KiB 2.23M/s
256KiB 1.09M/s
128KiB 545K/s
64KiB 273K/s
32KiB 136K/s
16KiB 68.2K/s
8KiB 622K/s
Dear Sir/Madam,I hope this email finds you well. Please allow me to introduce you about our company and our coorperate gifts - USB flash drives. Established in 1988, with almost 22 years of experience, 1impress is an award-winning corporate gift company that has the expertise, equipment and technology to provide a full suite of recuit item printing service. We have printing facility in Singapore, China and Malaysia. Our corporate profile is attached for your kind consideration or you can download it from http://www.1impress.com/pdf/1impress-Corp-Corporate-Profile.pdf. We provide services such as customize of corporate gift, printing and packaging and many other services that you will be able to find on our website www.1impress.com. At 1impress, we produce innovative and sleek USB Flash Drives. We would like to invite you to come and enjoy our USB Flash Drivers promotion, where you can find saving on some of our great offers for all your corporate needs. We are able to cater to short schedules and produce high quality jobs of varying scale and volumes.You can search on our website: http://www.1impress.com/thumb-drive.php for your favorite choice. Or click the picture below to view our newest eletronic product.Our track record of uncompromising quality, value and timely results has earned us the trust and confidence of leading players in the global media industry, including publishers, advertising agencies, commercial designers and MNCs across Singapore, Australia, New Zealand, Europe and the US. We are confident that we will be able to meet your company’s coorperate gifts needs and I am willing to meet you to further understand your requirements. Please call me at +65-65 9017 2000 or email me to make a appointment. Thank you for your attention, time and patience. Kindly give us an opportunity to quote for your next project and looking forward to serve you. ------------------------------------Yours Sincerely,Ivy TeoBusiness Development Executive1impress Fungchoi Group (Pte) Limited - Your Printing, Our Passion.Singapore Office:998 Toa Payoh North Industrial Estate, #02-05, Singapore 318993HP: +65 9017 2000|| Toll Free: 1800-4677377 || Office: +65 677 77377 || Fax: +65 6358 1059 || E: ivy_t(a)1impress.comwww.1impress.com