www.roland-riegel.de

You are here: HomeMMC/SD/SDHC card libraryBenchmarks

MMC/SD/SDHC card library: Benchmarks

The following results show some benchmarks done with the sd-reader library. Please note that results vary greatly depending on the card being used. Also note that read rates do not include the processing of the data being read, the same applies to write rates and the generation of the data being written. So for a real application, data rates may be (much) lower.

FAT16

Read
release 20090330
Write
release 20090330
preallocated
Write
release 20090330
enlarging
Write
release 20100110
enlarging, delayed dir updates
Chunk size (Bytes) Time (s) Data rate (kB/s) Time (s) Data rate (kB/s) Time (s) Data rate (kB/s) Time (s) Data rate (kB/s)
204810.0204.810.5195.091.022.57029.3
102410.0204.810.5195.0125.016.47029.3
51210.0204.811.0186.2197.010.47029.3
25610.5195.019.5105.0363.05.678.526.1
12810.5195.020.0102.4669.03.17925.9
6411.5178.120.599.91244.01.679.525.8
3212.5163.822.093.18025.6
1615.0136.524.583.682.524.8
820.0102.429.569.48923.0

Test conditions: ATmega128 at 14.745 MHz, 128 MB SD card, FAT16-only configuration, 2 MB file, buffered access, without timestamps.

FAT32

Read
release 20090330
Write
release 20090330
preallocated
Write
release 20090330
enlarging
Write
release 20100110
enlarging, delayed dir updates
Chunk size (Bytes) Time (s) Data rate (kB/s) Time (s) Data rate (kB/s) Time (s) Data rate (kB/s) Time (s) Data rate (kB/s)
20488.5240.917.5117.043.047.628.073.1
10248.5240.917.5117.051.040.228.073.1
5129.0227.618.0113.865.031.528.073.1
2569.5215.626.577.3124.016.536.556.1
12810.5195.027.574.5229.08.937.554.6
6413.0157.530.068.3432.04.740.051.2
3218.0113.834.559.444.546.0
1627.574.543.547.154.037.9
847.043.662.532.873.028.1

Test conditions: ATmega128 at 14.745 MHz, 4 GB SDHC card, FAT32, 2 MB file, buffered access, without timestamps.

Last modification: 01-10-2010 12:29pm