wiki:SD_kaarten

Version 6 (modified by ed, 11 years ago) ( diff )

--

Benchmark SD card

Testing is done with the script on the end of this page.

Testing hardware

MacBook Pro (Retina, 13-inch, Late 2013)
Processor 2,8 GHz Intel Core i7
Memory 8 GB 1600 MHz DDR3

Samsung MB-SS04D (4Gb)

Read Speed is: 460.111 MB/sec Write Speed is: 7.68433 MB/sec


Lexar Premium Series SDHC(16GB)

Read Speed is: 5316.95 MB/sec Write Speed is: 710.339 MB/sec


Test Script

#!/bin/bash
echo "---------------------"
echo "Write Test Running. Please Wait..."
write=$(dd if=/dev/zero bs=2048k of=tstfile count=1024 2>&1 | grep sec | awk '{print $1 / 1024 / 1024 / $5, "MB/sec" }')
purge
echo ""
echo "Read Test Running. Please Wait..."
read=$(dd if=tstfile bs=2048k of=/dev/null count=1024 2>&1 | grep sec | awk '{print $1 / 1024 / 1024 / $5, "MB/sec" }')
clear
echo ""
echo "Read Speed is: $read"
echo "Write Speed is: $write"
echo "---------------------"
echo "Cleaning up. Please Wait..."
purge
rm tstfile
echo ""
exit 0
Note: See TracWiki for help on using the wiki.