Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

How can I test SD card speed?

To obtain the results , type the following lines at a command prompt

The dd command is the Linux block copy command. It reads from the if= file, in the first case a block of zeros, and writes to the of= file, in the first case the file named test.tmp in your HOME directory (the ~/ means your HOME directory). The bs= gives the size of the data, and the count= gives the number of times this is repeated. sync ensures that the filesystem cache is flushed to have more realistic data. Please run it multiple times, one sample is not scientific enough.

Write speed

sync; dd if=/dev/zero of=~/test.tmp bs=500K count=1024

Read speed

sync; echo 3 | sudo tee /proc/sys/vm/drop_caches
sync; time dd if=~/test.tmp of=/dev/null bs=500K count=1024

Delete the temporary file

rm ~/test.tmp

Source : http://elinux.org/RPi_SD_cards#SD_card_performance

Comments are closed.