SDCard Testing: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This page discusses additional tests for SD Cards. The 'base' tests are described in [[NAND_Testing]]. |
This page discusses additional tests for SD Cards. The 'base' tests are described in [[NAND_Testing]]. |
||
= Test procedure = |
|||
== Preparations == |
|||
# On an XO with the latest stable OS release installed |
|||
# Download and compile flashbench from git://git.linaro.org/people/arnd/flashbench.git |
|||
# Download the flashbench wrapper script from http://dev.laptop.org/~martin/flashbench/flashbench_sdtest.sh , place it in the same directory as the flashbench executable |
|||
== Procedure == |
|||
# When booting the test bench machine, ensure no SD cards are present in the external slot |
|||
# Insert uSD card with adapter in the external slot |
|||
# Open a Sugar Terminal or GNOME Terminal |
|||
# run <code>flashbench_sdtest.sh /dev/mmcblk1</code> |
|||
# Copy output |
|||
= Cards tested = |
|||
=="A" SanDisk C2 4GB uSD== |
|||
NAME=SU04G |
|||
OEMID=0x5344 |
|||
MANFID=0x000003 |
|||
HWREV=0x8 |
|||
FWREV=0x0 |
|||
=="B" Toshiba C2 4GB uSD== |
|||
NAME=SD |
|||
OEMID=0x4144 |
|||
MANFID=0x00001d |
|||
HWREV=0x1 |
|||
FWREV=0x0 |
|||
=Results= |
=Results= |
Revision as of 16:37, 19 May 2011
This page discusses additional tests for SD Cards. The 'base' tests are described in NAND_Testing.
Test procedure
Preparations
- On an XO with the latest stable OS release installed
- Download and compile flashbench from git://git.linaro.org/people/arnd/flashbench.git
- Download the flashbench wrapper script from http://dev.laptop.org/~martin/flashbench/flashbench_sdtest.sh , place it in the same directory as the flashbench executable
Procedure
- When booting the test bench machine, ensure no SD cards are present in the external slot
- Insert uSD card with adapter in the external slot
- Open a Sugar Terminal or GNOME Terminal
- run
flashbench_sdtest.sh /dev/mmcblk1
- Copy output
Cards tested
"A" SanDisk C2 4GB uSD
NAME=SU04G OEMID=0x5344 MANFID=0x000003 HWREV=0x8 FWREV=0x0
"B" Toshiba C2 4GB uSD
NAME=SD OEMID=0x4144 MANFID=0x00001d HWREV=0x1 FWREV=0x0
Results
Segment size vs throughput.
The first and last examples are based on numbers provided by Arnd Bergmann
Size | Sample High perf card | SanDisk C2 4GB uSD "A" | Toshiba C2 4GB uSD "B" | Unusable card |
---|---|---|---|---|
4MiB | 8.86M/s | 3.14M/s | 5.84M/s | 15M/s |
2MiB | 6.3M/s | 4.09M/s | 3.6M/s | 9.47M/s |
1MiB | 5.02M/s | 2.84M/s | 2.21M/s | 4.47M/s |
512KiB | 5.16M/s | 1.33M/s | 1.3M/s | 1.61M/s |
256KiB | 4.69M/s | 868K/s | 701K/s | 849K/s |
128KiB | 3.78M/s | 556K/s | 363K/s | 441K/s |
64KiB | 4.62M/s | 297K/s | 186K/s | 226K/s |
32KiB | 2.71M/s | 155K/s | 92K/s | 115K/s |
16KiB | 2.38M/s | 76K/s | 47K/s | 57K/s |
8KiB | 1.24M/s | 38K/s | 23K/s | 23K/s |
4KiB | 907K/s | 19K/s | 11.8K/s | 8K/s |