SD Card Benchmark

Serge Vakulenko edited this page Apr 17, 2016 · 34 revisions

SD and microSD cards are often used for embedded systems, due to their simple hardware interface. If you have an SPI port on your microcontroller, you can attach an SD card to it.

Most modern SD cards are not optimized for SPI interface. It's hard to tell which card is better, until you test it on a real system. Here I collect results of my measurements for various SD and microSD cards, obtained using diskspeed utility on LiteBSD system.

When invoked without parameters, diskspeed utility performs write and read tests of 8-Mbyte file using 4-kbyte blocks:

# diskspeed
Testing 4-kbyte block size.
Write speed: 8 Mbytes in 6.993 seconds = 1171 kbytes/sec
 Read speed: 8 Mbytes in 2.334 seconds = 3509 kbytes/sec

File scan timing was obtained using the following command:

time ls -lR / > /dev/null
Card Size Id Clock Write/Read speed, kbytes/sec File scan, sec
Delkin Devices microSD 256Mb BSA256SCH80MS 50MHz 2378 / 3783 10.70
Samsung microSDHC I EVO U1 (yellow) 16Gb MBMPAGVDDDCW-P 50MHz 2141 / 3315 6.96
Samsung microSDHC EVO (yellow) 16Gb MBMPAGVDDDCW-P 50MHz 2136 / 3357 7.26
Samsung microSDHC Class 6 (blue) 8Gb MBMS8GVCGBAW-C 50MHz 1730 / 3406 7.23
Lexar 300x microSDHC I Class 10 U1 16Gb 31404-C10-16GBBM A 50MHz 1559 / 3738 7.15
ADATA microSD 2Gb MMAUR02GUBCL-NJ 50MHz 1418 / 4057 5.30
PNY Turbo Performance microSDHC I U3 32Gb UDH32GU13R90SFMC4HA16FB 50MHz 1401 / 3583 9.15
ADATA microSDHC I U1 Class 10 8Gb G08G1207722855 50MHz 1342 / 3662 7.84
PNY microSDHC I U1 16Gb UD16GU1R90XMC2LB 50MHz 1266 / 3891 6.83
Kodak microSD 2Gb MMAGR02GUDCA-DB 50MHz 1231 / 3955 10.07
Lexar microSDHC Class 10 32Gb 31354-C10-32GBM C 50MHz 1213 / 3482 9.77
Lexar microSDHC Class 10 16Gb 31354-C10-16GOM B 50MHz 1204 / 3497 8.97
Sandisk Extreme Pro microSDHC I U1 8Gb 2452DC41H029 12MHz 1063 / 1353 32.3
Lexar microSDHC Class 10 8Gb 31464-C10-8GBBM A 50MHz 1028 / 3488 9.83
Samsung microSD 2Gb MBMS2GMAGFAA-U2 50MHz 987 / 3367 10.15
Nokia microSD 512Mb SDSDQ-512 12MHz 975 / 1296 22.09
Kodak microSDHC Class 4 4Gb 31281-4GBOM B 50MHz 959 / 3754 8.76
Sony microSDHC Class 10 U1 16Gb SR-16UY2 50MHz 827 / 3782 7.59
Lexar microSD 2Gb MM8GR02GUACY-NA 50MHz 690 / 3878 15.67