the wombat
Posts: 2
Joined: Sun Oct 28, 2012 8:41 am

SD card speed?

Sun Oct 28, 2012 8:51 am

I see that the SD card needs to be at least Class 4 to work properly, but is there any benefit to going faster? Can the Pi max a Class 6? A Class 10? A Class 15?

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: SD card speed?

Sun Oct 28, 2012 3:14 pm

Some of the speed fiends advocate using Class 10. In the real world it won't make much odds, linux spends a lot more time reading than writing and class is all about write speed. They read a whole lot faster than write anyway.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

lb
Posts: 263
Joined: Sat Jan 28, 2012 8:07 pm

Re: SD card speed?

Sun Oct 28, 2012 3:16 pm

The class ratings are meaningless for usage in the Pi. Where did you read that class 4 is required? That is not correct.

the wombat
Posts: 2
Joined: Sun Oct 28, 2012 8:41 am

Re: SD card speed?

Mon Oct 29, 2012 9:31 am

From the beginners startup guide - "A brand-name (not generic) Class 4 card of 4GB or more is recommended. " While this is not an absolute prohibition on anything smaller/slower, I take it to be that it ill-advised to do so.

itimpi
Posts: 1090
Joined: Sun Sep 25, 2011 11:44 am
Location: Potters Bar, United Kingdom
Contact: Website

Re: SD card speed?

Mon Oct 29, 2012 9:41 am

It should also say that anything faster than Class 10 is not going to work, and some Class 10 seem to have problems. In fact in the early days of the Pi most Class 10 cards seemed to have problems although since then the firmware has improved and they tend to be more reliable. I have also heard that there may be an upper limit of 32GB in the size of cards that can be handled but have no experience of such large cards myself.

In my experience something like a Sandisk Ultra Class 6 seem to give the best mix of reliability, performance and price (although others may beg to differ :) )

User avatar
TideMan
Posts: 259
Joined: Fri Jun 22, 2012 8:08 am
Location: ChCh, NZ

Re: SD card speed?

Mon Oct 29, 2012 10:18 pm

You can check out the speed of your SD card reading, then writing using:

Code: Select all

dd if=/dev/zero of=~/test.tmp bs=500K count=1024
dd if=~/test.bmp of=/dev/null bs=500K count=1024
What I found to my surprise was:
Class 10:
Reading: 524 MB in 71.5 s = 7.3MB/s
Writing: 524 MB in 26.5 s = 19.8 MB/s
Class 4:
Reading: 524 MB in 40.99s = 12.9 MB/s
Writing: 524 MB in 25.09 s = 20.9 MB/s

So, for me, my Class 4 card is faster than the Class 10 card, both cards set up the same.
If you wish in this world to advance, your merits you're bound to enhance.
You must stir it and stump it and blow your own trumpet, or trust me you haven't a chance.
Ruddigore, G&S

User avatar
SN
Posts: 1014
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
Contact: Website

Re: SD card speed?

Mon Oct 29, 2012 11:50 pm

Don't use the cheapo Aldi 8Gb cards - they're excruciatingly slow :roll:
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?

User avatar
penguintutor
Posts: 386
Joined: Tue May 08, 2012 9:11 am
Location: UK
Contact: Website

Re: SD card speed?

Tue Oct 30, 2012 11:50 am

I have tried different SD cards from cheap ones to Sandisk Ultra II / Sandisk Extreme III

There may be a slight performance difference, but looking at startup and general useability there was no noticeable difference in actual usable performance.

That's not to say there isn't any benefit in faster cards, particularly if you are reading / writing a lot to the card, but that the difference in general use is not going to make a huge difference.

Return to “Beginners”