What you never knew you didn’t know
Ever wonder what all those speeds and classifications mean when looking at different SD cards? Allyn explains.
While researching a few upcoming SD / microSD product reviews here at PC Perspective, I quickly found myself swimming in a sea of ratings and specifications. This write up was initially meant to explain and clarify these items, but it quickly grew into a reference too large to include in every SD card article, so I have spun it off here as a standalone reference. We hope it is as useful to you as it will be to our upcoming SD card reviews.
SD card speed ratings are a bit of a mess, so I'm going to do my best to clear things up here. I'll start with classes and grades. These are specs that define the *minimum* speed a given SD card should meet when reading or writing (both directions are used for the test). As with all flash devices, the write speed tends to be the more limiting factor. Without getting into gory detail, the tests used assume mostly sequential large writes and random reads occurring at no smaller than the minimum memory unit of the card (typically 512KB). The tests match the typical use case of an SD card, which is typically writing larger files (or sequential video streams), with minimal small writes (file table updates, etc).
Speed Class
In the above chart, we see speed 'Class' 2, 4, 6, and 10. The SD card spec calls out very specific requirements for these specs, but the gist of it is that an unfragmented SD card will be able to write at a minimum MB/s corresponding to its rated class (e.g. Class 6 = 6 MB/s minimum transfer speed). The workload specified is meant to represent a typical media device writing to an SD card, with buffering to account for slower FAT table updates (small writes). With higher bus speed modes (more on that later), we also get higher classes. Older cards that are not rated under this spec are referred to as 'Class 0'.
Speed Grade
As we move higher than Class 10, we get to U1 and U3, which are referred to as UHS Speed Grades (contrary to the above table which states 'Class') in the SD card specification. The changeover from Class to Grade has something to do with speed modes, which also relates with the standard capacity of the card being used:
U1 and U3 correspond to 10 and 30 MB/s minimums, but the test conditions are slightly different for these specs (so Class 10 is not *exactly* the same as a U1 rating, even though they both equate to 10 MB/sec). Cards not performing to U1 are classified as 'Speed Grade 0'. One final note here is that a U rating also implies a UHS speed mode (see the next section).
Read on as we decrypt all of the many specs and ratings present on SD and microSD cards!
With the classes and grades out of the way, we can get to the physical specs. Unlike the former, which dictate the minimum speed, Bus Modes dictate the maximum possible speed. Note that I said possible speed. We are talking about the maximum throughput over the physical interface to/from the SD card here:
As SD cards have progressed over the years, these upgraded physical specs have been added to improve throughput. The first few jumps in speed were accomplished by increasing the data clock and lowering the signal voltage, but the move to the UHS-II grades required a physical change to the SD cards, adding an additional row of contacts.
This additional row adds two differential pairs for data along with additional supply voltage and ground. The two differential pairs default to one pair for each direction (full duplex – 156 MB/s each direction). If the SD card and reader support it, even higher throughputs are possible by reconfiguring both pairs act in tandem (half duplex). This change can be done on-the-fly and fully doubles the maximum throughput to 312 MB/s. The catch is that the communication can only be in one direction at a time, but that is not really an issue with flash based storage, which is typically not mixing reads with writes simultaneously. Here is one more chart showing the various speeds graphically:
Finally, here is another table showing the approved logos associated with the various speed grades:
Commercial 'x' Speed Ratings
We've covered minimum rated and maximum theoretical speeds so far, but what do you look for when you just want to know how fast you can empty that SD card full of photos onto your PC? There is such a rating, though it is an unofficial figure that is not required per the SD card spec. These optional figures appear in two different ways:
- Commercial 'x' rating
- Optimal MB/s values
The 'x' rating is a throwback from CD-ROM days, where 1x = 150 KB/s. As these are optional specs, they vary by manufacturer. Some brands do not list optimal throughputs at all, while others (Lexar and Transcend) list both styles. In the above example, Panasonic went the extra mile by being the only manufacturer we saw listing read *and* write optimal throughputs directly on their SD card label (most others only list optimal read speeds, as optimal write speeds will typically be a lower value due to the way flash architecture works). The below table is a bit of a wrap up of all of the above, outlining all of the various ratings and where they fall on a MB/s scale. I've also included 'x' rating conversions for those values, but realize they are not nececssarily directly related to the Classes and Grades of a given card:
Photographer Note
One big photographer note on these speeds. Most cameras and other portable recording devices do not operate in UHS modes in the interest of power conservation, and many of them limit themselves to SDR25 or SDR50 for that same reason. This means cameras can empty their buffers only as fast as the maximum physical bus speed of the SD interface present in that camera. Most modern SD cards are capable of sustaining those maximums. This means that SD cards with crazy high optimal speed ratings may see no difference in continuous shooting on their expensive camera. Those faster cards will only see the added speed when unloading the card to a PC, or when using that SD card as a secondary storage device. Keep in mind the card reader must be capable of those higher bus speeds.
File Systems and Compatibility
The SD Card Association has mandated the above file systems for the corresponding SD card types. FAT file systems are standard across the board. exFAT is used in devices greater than 32GB, and while it requires a license to use, it remains part of the SDXC spec.
One final note on SD card speeds and readers. The issues you run into with forwards / backwards compatibility of SD readers and cards is usually related to the *logical* issue of addressing larger amounts of available storage. SD cards do their best to be backwards compatible *physically*, in that they will fall back to slower bus speed modes. This was why UHS-II's physical spec adds contacts and leaves the existing ones unaltered. Due to hardware similarities between SDHC and SDXC, it is possible for an SDXC card with an exFAT file system to become corrupted if inserted into an SDHC reader that only understands FAT32. Some SDHC devices may even auto-format the card (to a max 32GB Fat 32 capacity – 2GB FAT16 in even older devices). This is usually a quick format operation which would leave most of the content unaltered, but without the original File Allocation Table, that previously saved media would be inaccessible without the use of data recovery software. This warning also applies to older Operating Systems. Windows Vista and 7 users will need an exFAT Hotfix to be applied and might also need an SDXC specific driver installed. Be sure your hardware and software specifically supports SDXC prior to buying any SD cards greater than 32GB in capacity.
Properly Formatting SD Cards
You might have noted empty space before the first partition of an SD card. This space is actually a part of the SD specification and some cards treat this area differently than the rest of the flash on the card. Some people love to reformat their SD cards to get that tiny bit of extra space back, but this is not recommended for several reasons. Placing the 'improperly' formatted card into a camera or video recording device that has firmware optimized for 'standard' SD formats may corrupt the partition as it is not where it expects it to be. Improper partitioning may also result in the partition being physically misaligned with respect to the flash area, which may throw off any wear leveling routines and wear the flash at an accelerated rate. If you've reformatted all of your cards and are now getting that sinking feeling, don't worry, there's a way to get them back to where they are supposed to be:
The SD Card Association puts out their own format utility (download here). This utility is available for both Mac and Windows and contains the same standard code that sits on SD-compatible cameras. This means you will get the same 'correct' partition alignment and format with this utility as you would get when formatting in a camera, which also happens to match the shipping condition of these cards. If you have repartitioned your SD card, you should delete that partition prior to running the SDFormatter. This will force the creation of a new partition with an offset correct for the specifications of that particular card.
Wrap Up
Well that's about all of the information I can cram into this reference. We have some SD and microSD card reviews coming up to help fill in the performance numbers that may have been omitted by the manufacturers. Specification and rating related questions are welcome in the comments below.
“that sinking feeling…” So
“that sinking feeling…” So that’s what the little unallocated space is for. Strange it is not write protected. Thanks Allyn for a great write up as always.
With standards like these,
With standards like these, who needs standards?
Very enlightening stuff Allyn, nice work and thanks as always.
I was always wondering why
I was always wondering why Raspberry Pi’s on-boarding material asks me to format the SD card using this weird SDFormatter I’ve never heard of. Why not just do it in Windows?
Now I know… Thanks. That’s very handy information.
I wish I read this a week
I wish I read this a week ago… before raging at a micro-SD card that refused to work with anything except for the PC. This tool worked fine for me too
Ty for the detailed explanation @Allyn
When digital cameras first
When digital cameras first came out I had to use a Linux computer to reformat the cards as it kept the SD card Partition table. Windows would annihilate it!
Ok, it would work in Windows, but it wouldn’t work in the camera any more.
Was a right pain.
Thank heavens for the SD card formatter program we have now.
Well done and excellent article.
I have been looking at a new
I have been looking at a new SD card recently but got blindsided by the new UHS standard. e.g. Some cards are class 10 and others are class 10 and UHS-1. Thanks for explaining it 🙂
Now time to put uhs in cell
Now time to put uhs in cell phones instead of class 4-5 they seem to be using can’t wait for new snapdragon 820 phones to hit shelves then we’ll see if anyone is using fastest possible storage.
Excellent job Allyn,
Excellent job Allyn, bookmarking this for reference. Thanks!
One thing to keep in mind,
One thing to keep in mind, some devices that only officially support cards “up to 32GB” can actually use higher capacity cards if you’re willing to break standard (ie, format those high capacity SDXC cards to fat32, even though the standard dictates exfat). The backwards compatibility in the electrical interface between SDHC/SDXC means the only thing keeping many devices from operating with higher capacity cards is the formatted file-system (although admittedly many other devices can and do choke on such cards because they were never designed with such high capacities in mind).
I’ve got a ~6 year old camera that if you pop a new 64GB card into it it’ll complain and ask to reformat, letting it do so yields a 64GB fat32 partition that works perfectly to full capacity NOT the “max 2GB” that this article claims would happen under such circumstances. I’ve also got a couple of Android phones that do the same thing, no exfat support but pop a 64GB card in let it format to fat32 and you’ve got a 64GB card that works perfectly in my experience. That said I’ve also got a couple of old USB SDHC card readers that completely choke when you put an SDXC card in it regardless of file-system, that’s a case of genuine hardware incompatibility with such high capacities not a simple lack of file-system support.
There are reasons brought up in the article that I hadn’t really thought of as to why running a non-standard partition might not be advisable concerning performance and longevity (I never though wear-leveling was something SD cards even had, I always presumed that would require something a little more sophisticated like the controller hardware on an SSD). That said, it’s been a LONG time since I had a card die on me and maybe I’ve just been lucky but I’ve never noticed much of a performance difference between when a card is ‘incorrectly’ formatted as fat32 compared to when it’s been ‘correctly’ formatted as exfat using the official tool you’ve linked above (a tool that I have used occasionally over the years).
The 2GB partition would only
The 2GB partition would only occur in older devices that can't handle >2GB (FAT16) partitions. I tweaked the article to clarify the 2GB vs. 32GB potential issue. A few words of caution on those 64GB cards being used in SDHC devices:
The takeaway is that while an SDXC card might work in an SDHC device, there are device-specific issues that might crop up later in your usage. It looks like you were lucky with that camera (no roll over when going past 32GB), but based on all of the stern warnings present on SDXC card seller web sites, your camera may be the exception and not the norm. It's not often you see manufacturers advising *against* buying a particular product :).
a very useful one. Thank you!
a very useful one. Thank you!
Well done Allyn – very useful
Well done Allyn – very useful info! Now I understand why Nikon and many photographers always recommend formatting the card in-camera and not on a PC/Mac.
Wow, this article is insanely
Wow, this article is insanely valuable.
Thank you so much Allyn!
Hi,
You site was down this
Hi,
You site was down this afternoon. You may have to clarify the delete partition note:
While the site was down, I did use the SDformatter utility to reformat a SD card of 29,88Gb I had laying around for over a year. I do not remember if I formatted it the wrong way when I bought it. It did not showed before an unallocated space in disc management an none either after the long format.
Then I saw your mention to delete partitions to be sure before formatting. I use the diskpart command to delete ( CLEAN ) the partition without recreating one. Then the SD card did not showed up in SDformatter nor in This PC. I assigned a letter with Windows and got it recognized by SDformatter. Then a quick format and the same: no unallocated space for the drive, just 29.88gb in Fat32. Anything wrong?
Thanks, Rene
Nothing is wrong with your
Nothing is wrong with your card. Some smaller SD card will not require unallocated space prior to the partition.
SanDisk now seems to have a lot of names like Ultra, Extreme, Max, Pro, etc. that don’t seem to correlate with these classes. I’m looking at some “Extreme PLUS microSDXV UHS-1” cards (from Costco) and comparing to grades said to serve the “Sentry” mode in a Tesla car, i.e., recording and playback of video taken by the cars external cameras). The most obvious s=difference seems to be an “A2” rather than A1 rating, to the immediate right of the ‘3’ in a U-shape. There’s also a “V30” nexte to “microSD/XC 1” that I don’t understand. Are these things real ratings or mere branding?
https://www.sdcard.org/press/thoughtleadership/the-more-you-know-the-evolution-of-sd-ratings-for-new-applications/
🙂
In the top chart in the top left field it should not say “UHS Speed Class” but “UHS Speed Grade” as you explain in the paragraph that follows.
Sorry, I just realize that you had made a comment about this already, writing “contrary to the above table which states ‘Class'” – all good 😉