I am not subscribed to linaro-dev, so please Cc me in case you drop flashbench-results
mailinglist from receivers.
Hi Arnd, hi everyone!
For now quick and short.
A simple script to automate common steps on reporting flash medium test
results. It goes as far as read tests for erase block size and then suggests
some open au tests together with a warning that these write to the device.
I checked other flashbench-results posts as to what info would be
interesting.
Find it at:
git://gitorious.org/flashbench/flashbench.git
Example output is at:
[Flashbench] Samsung Plus MB-SPAGFFP Class 10 SDHC 16GB
Sat Dec 1 16:02:18 UTC 2012
http://lists.linaro.org/pipermail/flashbench-results/2012-December/000346.h…
Sorry that I occupied flashbench upstream name for project. I can look
into renaming it to "flashbench-martin" or something like that.
The script is in branch "flashreport".
In branch "defaultblocksize" you find a currently untested patch for
changing default block size to 1024.
I can try to send patches as mails via git, but I´d have to look it up first,
since I do this quite rarely.
Up to then please use the repo urls :)
Nice weekend,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
Salut,
for housing a debian chroot in my android phone, I want to set up a 2.5G
partition on this new micro sd card. For that, I want to figure out
which parameters to give to mke2fs, as in
> mkfs.ext4 -E stride=2,stripe-width=2048 -L debian_chroot /dev/sdb2
Now to figure out the internal erase block size, flashbench was
recommended. But I can not quite make sense of my result..
> # fdisk.distrib -l /dev/sdb
>
> Disk /dev/sdb: 15.9 GB, 15931539456 bytes
> 255 heads, 63 sectors/track, 1936 cylinders, total 31116288 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: 0x000604f9
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 2048 25890815 12944384 b W95 FAT32
> /dev/sdb2 25890816 31115263 2612224 83 Linux
> # flashbench -va /dev/sdb --blocksize=1024 |(echo "align,pre [µs],on [µs],post [µs],diff [µs]" && sed -r 's/\w+ //g;s/\t/,/g;s/[0-9]+ns*/0/g;s/µs//g')|tee flashbench-16gb-sandisk-extreme-microsdhc-blocksize-1024.csv
> # flashbench -va /dev/sdb --blocksize=$[3*1024] |(echo "align,pre [µs],on [µs],post [µs],diff [µs]" && sed -r 's/\w+ //g;s/\t/,/g;s/[0-9]+ns*/0/g;s/µs//g')|tee flashbench-16gb-sandisk-extreme-microsdhc-blocksize-$[3*1024].csv
resulting CSV files attached.. I created a spreadsheet chart showing a
drop.. does this mean the erasure block size is 128KB?
That would give a stripe-width of 128KB/(2*4KB)=16?
And I have not at all grokked the benefit/applicability of
open-au/open-au-nr for practical purposes..
Any clarification greatly appreciated.
#Regards!Marcel
nd forsake
Taitbout_, without being melted to tears. 'Eat, my kitten,' 'Drink, my lamb!' and such looks and endearments, and each so pleased with the other! One day he said to her: 'My kitten, your money does not bring you in what it ought; give me your scrip and in forty-eight hours I shall have doubled your capital.' She went softly to her cupboard and opening the glass doors, handed him her securities one by one with hands that trembled a little. "He took them unconcernedly and brought her a receipt the same evening bearing his uncle's signature. Three months after she was pocketing a very handsome income. The sixth month Adolphe disappeared. The old girl goes straight to the uncle with her screed of paper. 'I never signed that,' says the stockbroker, 'and my nephew never deposited any securities with me.' She flies like a mad-woman to the Commissary of Police, to learn that Adolphe, hammered at the Bourse, is off to Belgium, carrying with him a hundred and twenty thousand francs he had done another old woman out of. She never got over the blow; but we must say this of her, she brought up her daughter mighty strictly, and showed herself a very dragon of virtue. Poor Gabrielle must feel her cheeks burn to this day only to think of her years at the Conservatoire; for in those days her mother used to smack them soundly for her, morning and evening. Gabrielle, why I can see her now, in her sky-blue frock, running to lessons nibbling coffee-berries between her teeth. She was a good girl, that." "You knew her!" cried Jean, for whom these confidences formed the most exciti
Ing phase of romance; and our so-called re
Ave you, dear, I will go. Denham. Yes--for God's sake, go! (_She moves towards the door._) But, Blanche, don't leave the house. I can't bear this alone. Mrs. Tremaine. (_returns to him_) You know, dear, I am yours always. Oh, don't hate me! I dare to say it in this presence. (_She kisses his hand. He shrinks from her._) Now I can go. (_She goes to the door and looks back as Denham kneels and clasps the body in his arms._) Will he hate me now? (_Exit Mrs. Tremaine._) Denham. Constance! I meant to have kept you from all the thorns of life! It was fate! It was fate! CURTAIN. * * * * * Printed by Hazell, Watson, and Viney, Ld., London and Aylesbury. =THE INDEPENDENT THEATRE SERIES OF PLAYS.= EDITED BY J.T. GREIN. _Crown 8vo, 2s. 6d. net._ * * * * * The undermentioned are now ready:-- I. =WIDOWERS' HOUSES=. By GEORGE BERNARD SHAW, with a Preface by the Author, an Address to Dramatic Critics, and an Appendix treating of the discussion raised by the performance. II. =ALAN'S WIFE=. Anonymous. With a Preface by WILLIAM ARCHER. III. =THE HEIRS OF RABOURDIN=. By EMILE ZOLA. Translated by A. TEIXEIRA DE MATTOS. With a Preface by the Author. IV. =THE BLACK CAT=. By Dr. TODHUNTER. With an Introduction by the Author. * * * * * =DRAMA.= I. =THE GARDEN OF CITRONS=. By EMILIO MONTANARO. Translated by J.T. GREIN. With a Preface by JOHN GRAY. Paper Covers, 1s. net. II. =TWO PLAYS=. By MEYRICK MILTON. With a Preface by the Author. Crown 8vo, 2s. 6d. net. =ASK TO SEE A SPECIMEN COPY.= _NOW PUBLISHING._ THE NEW ART SERIAL. The Most Exhaustive Work ever Published. THE HISTORY OF MODERN PAINTING _OVER 2,300 PAGES AND 1,300 ILLUSTRATIONS._ Describes and Illustrates the Art of =ENGLAND=, =NORWAY & SWEDEN=, =HOLLAND=, =JAPAN=, =FRANCE=, =SCOTLAND=, =RUSSIA=, =BELGIUM=, =SPAIN=, =GERMANY=, =AMERICA=, =ITALY=, Etc. In 36 Monthly Parts, 1s. net, or 16 Monthly Parts Half-a-Crown net. Also in 3 Volumes, cloth gilt, Imperial 8vo, L2 15s. net, and Half Morocco, Library Edition, L3 15s. net. =WRITE FOR ILLUSTRATED PROSPECTUS.= _NOW READY._ NEW NOVEL BY JOHN OLIVER HOBBES. =THE GODS, SOME MORTALS AND LORD WICKENHAM=. _By the Author of "Some Emotions and a Moral," "The Sinners' Comedy," etc._ IN ONE VOL., 6s. * * * * * BY JOCELYN QUILP. =BARON VERDIGRIS:= =A ROMANCE OF THE REVERSED DIRECTION.= WITH A FRONTISPIECE BY AUBREY BEARDSLEY. _Crown 8vo, 3s. 6d._ * * * * * By ANTHONY DEANE. =HOLIDAY RHYMES=. From "Punch," "Pall Mall," "St. James's," and "Westminster Gazettes," etc. _Crown
Labels on the stick:
BM1312246878
SDCZ80-032G
Made in China
TAD-SDCZ80 D33724
http://www.sandisk.com/products/usb/drives/extreme/
# lsusb
Bus 001 Device 027: ID 0781:5580 SanDisk Corp. SDCZ80 Flash Drive
# hdparm -I /dev/sde
/dev/sde:
ATA device, with non-removable media
Model Number: SanDisk pSSD
Serial Number: 0b162fc61
Firmware Revision: 3
Transport: Serial, ATA8-AST, SATA Rev 2.6
Standards:
Used: ATA-8-ACS revision 2d
Supported: 8 7 6 5
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 61282631
LBA48 user addressable sectors: 61282631
Logical Sector size: 512 bytes
Physical Sector size: 512 bytes
device size with M = 1024*1024: 29923 MBytes
device size with M = 1000*1000: 31376 MBytes (31 GB)
cache/buffer size = unknown
Form Factor: 1.8 inch
Nominal Media Rotation Rate: Solid State Device
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 1 Current = 1
Advanced power management level: disabled
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
Write cache
Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
Advanced Power Management feature set
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* 64-bit World wide name
* WRITE_UNCORRECTABLE_EXT command
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Software settings preservation
* DEVICE CONFIGURATION SET/IDENTIFY DMA commands
* Data Set Management TRIM supported (limit 8 blocks)
* Deterministic read ZEROs after TRIM
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
2min for SECURITY ERASE UNIT. 2min for ENHANCED SECURITY ERASE
UNIT.
Logical Unit WWN Device Identifier: 5001b40062b161fc
NAA : 5
IEEE OUI : 001b40
Unique ID : 062b161fc
Checksum: correct
# fdisk -lu /dev/sde
Disk /dev/sde: 31.4 GB, 31376707072 bytes, 61282631 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/sde1 32 61282630 30641299+ c W95 FAT32 (LBA)
This is vendor partitioning which now lost. Is FAT params was unique to my
exemplar? Is there any sense to try get it from other owners?
# ./flashbench -a /dev/sde --blocksize=1024 -c 128
align 8589934592 pre 467µs on 592µs post 595µs
diff 61.1µs
align 4294967296 pre 468µs on 608µs post 596µs
diff 76µs
align 2147483648 pre 473µs on 608µs post 591µs
diff 76.4µs
align 1073741824 pre 493µs on 655µs post 633µs
diff 92µs
align 536870912 pre 462µs on 588µs post 594µs diff 59.6µs
align 268435456 pre 467µs on 598µs post 580µs diff 74.9µs
align 134217728 pre 458µs on 612µs post 596µs diff 84.6µs
align 67108864 pre 471µs on 612µs post 594µs diff 79.2µs
align 33554432 pre 474µs on 591µs post 572µs diff 68.1µs
align 16777216 pre 461µs on 584µs post 562µs diff 73µs
align 8388608 pre 469µs on 584µs post 563µs diff 68.1µs
align 4194304 pre 466µs on 584µs post 563µs diff 70µs
align 2097152 pre 472µs on 586µs post 581µs diff 59.8µs
align 1048576 pre 475µs on 593µs post 577µs diff 67.1µs
align 524288 pre 465µs on 585µs post 562µs diff 72.2µs
align 262144 pre 496µs on 617µs post 595µs diff 71.4µs
align 131072 pre 452µs on 598µs post 594µs diff 74.8µs
align 65536 pre 469µs on 476µs post 470µs diff 6.53µs
align 32768 pre 535µs on 576µs post 570µs diff 23.7µs
align 16384 pre 568µs on 576µs post 584µs diff -192ns
align 8192 pre 578µs on 578µs post 585µs diff -4057ns
align 4096 pre 581µs on 577µs post 580µs diff -2706ns
align 2048 pre 581µs on 577µs post 564µs diff 4.36µs
# ./flashbench -a /dev/sde --blocksize=$[8*1024] -c 96
--offset=$[240*1024*1024]
align 8589934592 pre 687µs on 779µs post 819µs
diff 26µs
align 4294967296 pre 708µs on 793µs post 888µs
diff -5055ns
align 2147483648 pre 676µs on 798µs post 847µs
diff 36.4µs
align 1073741824 pre 703µs on 783µs post 854µs
diff 4.35µs
align 536870912 pre 634µs on 746µs post 821µs diff 19.2µs
align 268435456 pre 621µs on 754µs post 787µs diff 50µs
align 134217728 pre 662µs on 781µs post 842µs diff 28.2µs
align 67108864 pre 652µs on 765µs post 839µs diff 18.7µs
align 33554432 pre 658µs on 762µs post 830µs diff 18.2µs
align 16777216 pre 654µs on 780µs post 839µs diff 33.3µs
align 8388608 pre 664µs on 778µs post 827µs diff 32.9µs
align 4194304 pre 668µs on 753µs post 819µs diff 9.58µs
align 2097152 pre 654µs on 760µs post 849µs diff 8.98µs
align 1048576 pre 661µs on 786µs post 826µs diff 42.4µs
align 524288 pre 624µs on 751µs post 799µs diff 38.9µs
align 262144 pre 645µs on 766µs post 834µs diff 26.4µs
align 131072 pre 695µs on 795µs post 824µs diff 35.9µs
align 65536 pre 739µs on 742µs post 685µs diff 30.1µs
align 32768 pre 804µs on 795µs post 795µs diff -4158ns
align 16384 pre 824µs on 825µs post 816µs diff 4.17µs
# ./flashbench -a /dev/sde --blocksize=$[4*1024] -c 96
--offset=$[240*1024*1024]
align 8589934592 pre 587µs on 704µs post 723µs
diff 48.8µs
align 4294967296 pre 599µs on 735µs post 748µs
diff 62µs
align 2147483648 pre 571µs on 761µs post 749µs
diff 101µs
align 1073741824 pre 593µs on 700µs post 691µs
diff 58.3µs
align 536870912 pre 559µs on 696µs post 710µs diff 61.7µs
align 268435456 pre 565µs on 689µs post 703µs diff 55.1µs
align 134217728 pre 515µs on 692µs post 698µs diff 85.1µs
align 67108864 pre 569µs on 700µs post 701µs diff 65µs
align 33554432 pre 555µs on 727µs post 713µs diff 93.2µs
align 16777216 pre 569µs on 702µs post 699µs diff 67.9µs
align 8388608 pre 539µs on 702µs post 711µs diff 76.9µs
align 4194304 pre 575µs on 700µs post 696µs diff 64.5µs
align 2097152 pre 564µs on 712µs post 708µs diff 76µs
align 1048576 pre 566µs on 708µs post 707µs diff 71.8µs
align 524288 pre 564µs on 692µs post 717µs diff 51.6µs
align 262144 pre 538µs on 704µs post 716µs diff 76.8µs
align 131072 pre 609µs on 737µs post 732µs diff 66.7µs
align 65536 pre 637µs on 628µs post 571µs diff 23.9µs
align 32768 pre 671µs on 724µs post 708µs diff 34.3µs
align 16384 pre 700µs on 698µs post 698µs diff -1761ns
align 8192 pre 713µs on 706µs post 691µs diff 4.35µs
# ./flashbench -a /dev/sde --blocksize=$[8*1024] -c 96
--offset=$[240*1024*1024]
align 8589934592 pre 674µs on 785µs post 849µs
diff 23.6µs
align 4294967296 pre 718µs on 817µs post 864µs
diff 26.1µs
align 2147483648 pre 666µs on 809µs post 855µs
diff 48.9µs
align 1073741824 pre 722µs on 784µs post 830µs
diff 7.87µs
align 536870912 pre 665µs on 762µs post 835µs diff 12µs
align 268435456 pre 669µs on 772µs post 827µs diff 24.4µs
align 134217728 pre 673µs on 780µs post 838µs diff 24.7µs
align 67108864 pre 683µs on 777µs post 831µs diff 19.6µs
align 33554432 pre 664µs on 779µs post 835µs diff 29.1µs
align 16777216 pre 646µs on 780µs post 836µs diff 39.2µs
align 8388608 pre 656µs on 772µs post 837µs diff 25.5µs
align 4194304 pre 661µs on 770µs post 837µs diff 21.2µs
align 2097152 pre 644µs on 773µs post 825µs diff 38.6µs
align 1048576 pre 659µs on 770µs post 819µs diff 31.4µs
align 524288 pre 644µs on 763µs post 816µs diff 33.9µs
align 262144 pre 648µs on 774µs post 812µs diff 44.2µs
align 131072 pre 688µs on 790µs post 830µs diff 30.8µs
align 65536 pre 735µs on 745µs post 695µs diff 30.2µs
align 32768 pre 784µs on 792µs post 794µs diff 2.74µs
align 16384 pre 837µs on 839µs post 819µs diff 11.3µs
Some of the flashbench test results which I performed in USB 2.0 port. They
totally unclear for me. May be they useless because of USB 2 bottleneck...
If so is there any way to discover under the hood of this stick with
flashbench in USB2 port? USB 3.0 I do not have.