Raspberry Pi Storage Benchmarks 2019 + Benchmarking Script

Pi Benchmark 2019 Contenders
Pi Benchmark 2019 Contenders

Storage options continue to advance at a very fast pace. We’ve seen a lot of changes in the past couple of years with viable storage options for your Pi. Solid state drives are now so cheap that it can be cheaper to outfit your Pi with a SSD than buy a MicroSD card! MicroSD cards also continue to evolve with the new “Application Class” A1 and A2 certifications.

This year I wanted to do something more than just benchmark my ever-growing pile of MicroSD cards and solid state drives. Although I have a wide variety of storage to test I don’t have everything! So this time I created a benchmark that gives you a easy to compare score and anonymously submits the storage specifications and the results to this site.

Running the benchmark is extremely easy. Run the following command on your Pi:

curl https://raw.githubusercontent.com/TheRemote/PiBenchmarks/master/Storage.sh | sudo bash

Current Benchmark Results

Total Results: 32 
ScoreUserBrandingClassModelCapacityM.DateRandWrite IOPSRandRead IOPSIO4kRandReadIO4kRandWriteIO4kReadIO4kWriteDD WriteDetails
2900jchambersSamsung PM871bSSD (2.5" SATA)SSDPM871b253G411033471170912812129931326433.5Details
2864jchambersSamsung 850 ProSSD (2.5" SATA)MZ-7KE256253G413131071121812723127491384433.2Details
2849testKingston A400SSD (2.5" SATA)KINGSTONSA400S37120G111,8G398430731153612702127821266333.4Details
2789jchambersHynixSSD (mSATA)SKhynixSH920127G42322612970712756129381253733.5Details
2628jchambersLITEONSSD (2.5" SATA)CV3-CE128-11SATA127G42022624103841129111390982533.9Details
2330jchambersSanDisk Extreme Pro USBSSD (USB SSD)SanDiskpSSD127G27282202833610270126561221535.2Details
1245jchambersSamsung EvoClass 10 U10000032G11/2015882309110183332010418310015.5Details
1157jchambersSamsung Pro+Class 10 U10000032G03/2015576304510120230110191248421.1Details
1103Anonymous()A1 Class 10 V30 U3SD25629.5G10/201810292130707237508699361813.1Details
1075AnonymousSandisk ProA1 Class 10 U1SC64G63G07/20187912334883930879327350911.0Details
1052AnonymousSamsung Evo SelectClass 10 U3GD4QT126G01/2019357304610913187610967278413.0Details
1039jchambersSanDisk Extreme ProA2 Class 10 V30 U3SR64G63G01/20198452240600331057789187621.3Details
1038jchambersSamsung EvoClass 10 U10000029.8G11/20155212638856525868656249416.4Details
999AnonymousSanDisk ProA1 Class 10 U1SC32G32G02/20188422229679229328155342814.2Details
984jchambersSanDisk ExtremeA2 Class 10 V30 U3SN64G63G01/20195122314627927447925219520.9Details
959AnonymousSanDisk UltraA1 Class 10 U1SC32G32G09/20187132292776922278864315514,2Details
955PeterSandisk ProA1 Class 10 U1SC32G29.7G11/20187022232722722997799330016.2Details
949jchambersSanDisk UltraA1 Class 10ACLCE63G03/2017593258782742730907319927.0Details
938SamsungSamsung Evo+Class 10 U3EB1QT32G10/20175512202741521447475265417.9Details
866AnonymousSamsung Evo+Class 10 U3EB1QT32G10/20172922204764018097741262415.5Details
812AnonymousSanDisk UltraClass 10SL64G63G04/20167211994650819157091258210.9Details
784AnonymousSanDiskA1 Class 10 U1ADLCD32G07/2017553207166381795752425869.8Details
751jchambersSeagateHDD (5400 RPM)ST500LM000-1EJ162493G511170700895113761087034.5Details
719AnonymousToshibaHDD (2.5" SATA)TOSHIBAMK2555GSXF232.9G3421554961200101741005032.9Details
648AnonymousPhilipsUSB FlashUSB Flash Drive57.7G2631378566782110797185912.9Details
632AnonymousSandisk UltraClass 10SMI7.5G11/2017135191269704787077130712.9Details
612AnonymousADataClass 10 U1SD14.7G08/20131791703590910725966116210.9Details
534jchambersFlash Blu30USB Flash Drive (3.0)16G23326373009605423984717.0Details
533jchambersEMTECClass 10 U1SD64G62G01/2016212088641320773942119.2Details
504AnonymousSanDiskClass 6SU16G16G10/201111914915135778604317167.0Details
500jchambersSamsung Evo+Class 10 U10000032G01/201719714154726777485010379.6Details
500jchambersEMTECClass 10 U1SD16G16G10/2016652030602625269902557.2Details


The benchmark heavily favors 4k random reads / writes. This is because for application and operating system performance this is by far the most important metric. Traditional benchmarking methods like dd write, hdparm read tests, etc. are very poor indicators of everyday performance. What matters is not how fast your storage can push through giant files but how fast it can respond to random input that asks it to read / write anywhere on the disk.

To understand why we need to think of what your Raspberry Pi is usually doing. Most applications and services are not constantly writing giant sequential files which is what traditional synthetic benchmarks measure. Your Raspberry Pi is usually updating log files, reading data from different parts of the disk for various applications and services, responding to user input, etc. To your disk drive this behavior is considered “random” since it has no idea what it will be asked to read / write next.

Storage devices doing large sequential I/O like transferring files utilize extensive caching and other techniques to speed up these kinds of operations. Unfortunately these techniques do not work when the operating system and storage device doesn’t know what users / applications / services might request next. The storage device has no way to know or prepare for what your application will want next so it has to read it raw from the disk and can’t rely on cache.

This is why in our benchmarking we want to look very hard at 4k random read / writes. This is what will determine how “snappy” the Pi feels as you perform various tasks. Fast 4k random IO devices feel and perform much better than a device with huge throughput but poor random I/O performance.

The current scoring method is:

(DDWriteSpeed * 1024 + fio4kRandReadIOPS * 4 + fio4kRandWriteIOPS * 10 + io4kRead + io4kWrite + IO4kRandRead * 4 + IO4kRandWrite * 10) / 100


The benchmark runs a few different tests in order to get a good overall idea of storage performance. It runs 4k read / write and random read / write in two separate benchmarks to verify the results and reduce variance. Here are the tests used in the benchmark:

FIO – An industry standard used for true storage benchmarking vs. just measuring throughput (like DD Write and HDParm — not considered true benchmarks). The benchmark tests 4k block size sequential read/write and random read/write. Gives a result in IOPS which stands for Input/Output Operations Per Second

IOZone – A very popular benchmarking program. We also test 4k block size sequential read / write and 4k random read / writes here to verify our results are close to the FIO results

DD Write – Basic throughput test of writing 0’s as fast as possible

HD Parm – Tests disk read throughput in direct mode (avoids caching)

Recommendations – 2019

The top recommendation this year for Pi storage will depend on your form factor. Let’s break it down:

My project is stationary (servers, media centers, etc.)

The best choice is a 2.5″ Solid State drive connected via USB. This is the highest performance choice and is very cheap (< $30). The benchmarks show that any solid state drive is so fast that it maxes out the Raspberry Pi’s USB 2.0 bus. I’ll talk about this more in the SSD analysis section below but basically it’s best to get the cheapest option while still picking a reliable brand.

Here is my current recommendation:

Kingston A400 SSD 120GB SATA 3 2.5” Solid State Drive

Sabrent USB 3.0 to SSD / 2.5-Inch SATA Adapter

My project moves around but can fit a USB drive

99% of USB drives are horrible choices for Pi storage media because they have very poor 4k random read / write performance. Micro SD cards are way faster than almost all of them. However, there is a special exception which in 2019 is much more reasonably priced.

There is a special USB drive by SanDisk that is actually a solid state drive on a stick. It has the same size / dimensions of a regular flash drive but uses solid state storage internally giving it great 4k random read / write performance. I own it and it benchmarked at 2330 putting it more than double any MicroSD card and only a couple hundred points below Samsung Pro 2.5″ SSDs.

SanDisk Extreme Pro 128GB USB Solid State Flash Drive

My project is small form factor and can’t use USB storage

There’s lots of cool projects out there that using any type of USB attached storage is not an option. For these projects Micro SD is still king. The good news is that Micro SD has had some recent developments such as the A1 / A2 application class cards. A2 is not supported by Raspberry Pi yet (or almost anything else really) so A1 is the important mark to hit.

I’ll cover Micro SD in depth in the Micro SD analysis section but here are the current recommendations:

SanDisk Extreme 32 GB

The SanDisk Extreme A1 is a good budget option. At time of writing it is only $10.94 for the 32GB version.

SanDisk Extreme Pro 64 GB – 400 GB

If you need higher capacity than 32GB it is cheaper to go with the A2 Extreme Pro version of the card. I own this version of the card and it benchmarked at a very high 1039. It had the highest 4k random write speed of any card I own.

SSD Analysis

SSD benchmarking so far has shown that there is not much of a difference between an older cheap SSD like a outdated mSATA Hynix drive and top of the line drives like the Samsung 850 Pro. The difference from the oldest cheap drives and top of the line was only about 100 points.

This is because the Pi has a USB 2.0 bus. Even the slowest oldest SSDs are so fast that they hit the maximum possible data transfer rate over USB 2.0. Because of this it makes sense to buy the cheapest SSD drive possible that is still reliable. See my recommendations section for ideas.

Micro SD Analysis

The Micro SD market has always been a difficult place for Raspberry Pi owners. Since there traditionally was no classification that indicated random read / write performance we simply had to buy different cards and benchmark them.

The problem with that was that Micro SD manufacturing processes change. They can even change from batch to batch. The 2015 Samsung Evo cards were a good example of this. We found a card with amazing 4k random read / write performance but one day they changed their process and the new ones are not even close.

Fortunately things have recently improved for us somewhat because of, well, smartphones! Let’s talk about the application class.

Micro SD A1 / A2 Application Class

Application class cards were created because smartphones have become one of the top use cases for SD cards. Many people run applications directly off their SD card or have applications that keep their active storage on there. Tech savvy smartphone users sick of slow performing cards demanded a speed class was created to measure this type of performance.

This is great for us Pi owners because this type of use is 4k random reads / writes and is exactly the same as what we do on the Pi. Thank you smartphone owners!

It’s important to note that right now the Pi (and pretty much everything else) cannot currently make use of the new A2 standard as it requires special driver support to take advantage of the new features. I have benchmarked both the SanDisk Extreme and the SanDisk Extreme Pro A2 cards in my benchmark results and they did not perform any better than the A1 cards because of this.

Lets look at the application class performance features:

The new A1 application cards are fantastic and performing very well on the benchmark. So far every application card benchmarked has hit the minimum A1 targets. If you are looking for a better performing SD card then A1 is the way to go.

Video Class (V30, etc) and U Class (U1 and U3)

These don’t matter for the Pi. Basically at all. They are measurements for maximum sequential I/O throughput. For example if you have a video camera that needs to record in 4k it will need a very high sequential I/O maximum transfer rate.

The Pi depends on 4k block size random I/O as I’ve explained in earlier sections and these classifications don’t measure that. Indeed, my 3 worst performers on the benchmark are all U1 cards and got easily stomped (nearly doubled in score) by a SanDisk Ultra Class 10.

This doesn’t mean U capable cards are bad. The Samsung Pro+ is a U1 class card and performed incredibly well on the benchmark. It just means that the Samsung Pro+ has much higher quality memory / a better controller inside it.

The conclusion is that unlike the application class these classifications will not tell you if your card is going to be good or awful for the Pi. You need to benchmark them to know!

The “Old Evo” Conundrum

You may have noticed that my top performing Micro SD card for this year was the 2015 Samsung Evo model. Again. Although the DD Write output throughput is a little lower than some of brand new cards it more than made up for it on the 4k random read / write performance.

This card’s random 4k read performance is so fast it actually beat several solid state drives. Only the Samsung Pro+ came close on read speed but got beat by a whopping 300 IOPS on the 4k random write letting it come out on top again.

The problem seems to be one of those “they don’t make them like this anymore” things. I bought the Samsung Evo+ (it should be better right?) and it occupies one of the worst performing cards in my arsenal all the way down with the EMTEC dollar store cards.

Other people have noticed this discrepancy too. At some point Samsung must have changed their manufacturing process and started using a different type of memory or on-board storage controller (likely to a cheaper one) for these cards.

This is a big reason why I created this benchmark. With a bigger sample size of cards we as a community can pool our card benchmarks together and figure out which manufacturers and lines of cards are getting the good memory / on-board storage controllers.

Manufacturers change their processes all the time (even from batch to batch) so to keep up we will need to watch the benchmark results and see where the “good stuff” is going and when the card quality quietly changes!


  • Use a solid state drive (SSD) if possible. Instructions on how to set one up with the Pi are in this article
  • The only sensible Micro SD cards to buy right now are application class (A1 or higher).
  • The Pi cannot utilize A2 so don’t pay extra for it (although sometimes the A2 versions are cheaper). A2 cards will run in A1 mode on the Pi
  • USB flash drives are terrible choices for Pi storage
  • Old “spinny disk” 5400 RPM and 7200 RPM HDDs underperform decent Micro SD cards

With the new benchmark we should be able to learn a lot more about storage on the Pi. Micro SD cards seem to be the area we need to learn the most about. As more people run the benchmark we’ll continue to analyze and revise recommendations based on what everyone finds!

Leave a Reply

Your email address will not be published.