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

ScoreUserBrandLinkHost ModelClassManuf.ModelSize (GB)M. DateDD WriteRandW IOPSRandR IOPSRand WriteRand ReadIO ReadIO WriteIO Rand ReadIO Rand WriteHDParm DiskProductDateHost OSArch
1965AnonymousSanDisk UltraView Product3B+ 1.3A1 Class 10 U1SanDiskSL16G1602/201834.026351846105427387968973596870834822.02SDHC2019-03-21 2:26 PMRaspbian GNU/Linux 9 (stretch)armv7l
1427AnonymousPhisonView Product4B 1.1A1 Class 10 V10 U1PhisonSD16G1605/201826.913732568549310274954445507483471639.85SDHC2019-06-27 10:37 PMRaspbian GNU/Linux 10 (buster)armv7l
8905jchambersLite-On M.2 SATA SSDView Product4B 1.1SSD (M.2 SATA)Lite-OnLJH-256V2G-11256N/A1931257922634503199053936785305011572434640300.28SSD2019-06-28 5:15 PMRaspbian GNU/Linux 10 (buster)armv7l
9189jchambersSamsung 950 Pro NVMEView Product4B 1.1SSD (M.2 NVME)SamsungLJH-256V2G-11256N/A1931242719497497087798937018306662044136957327.76SSD2019-06-28 8:43 PMRaspbian GNU/Linux 10 (buster)armv7l
9618jchambersSamsung 950 Pro NVMEView Product4B 1.1SSD (M.2 NVME)Samsung256N/A2001212123104484849241838206319842659236682299.35SSD2019-06-30 5:00 PMRaspbian GNU/Linux 10 (buster)armv7l
1624AnonymousSanDisk ExtremeView Product4B 1.1A1 Class 10 V30 U3SanDiskAFGCE6404/201738.4105036634201146531013329619708460440.97SDXC2019-07-02 1:59 PMRaspbian GNU/Linux 10 (buster)armv7l
1359AnonymousSamsung Evo SelectView Product4B 1.1Class 10 U3SamsungGD4QT12805/201924.58883172355312689740039318919422440.14SDXC2019-07-07 12:23 PMRaspbian GNU/Linux 10 (buster)armv7l
9044jchambersCrucial MX200View Product4B 1.1SSD (2.5" SATA)Crucial250N/A2051242723167497089266919970328161683635742316.22SSD2019-07-08 6:11 PMRaspbian GNU/Linux 10 (buster)armv7l
1319AnonymousSonyView Product3B+ 1.3A1 Class 10 V30 U3SonyUSD006403/202519.2128126405126105631051237347904430121.51SDXC2019-07-10 6:46 PMUbuntu 18.04.2 LTSaarch64
1314AnonymousSanDisk ExtremeView Product4B 1.1A2 Class 10 V30 U3SanDiskSN12812805/201937.88692733347810935836518716833355935.47SDXC2019-07-13 8:16 AMRaspbian GNU/Linux 10 (buster)armv7l
1279AnonymousKingston Canvas ReactView Product4B 1.1A1 Class 10 V10 U1Texas InstrumentsSD32G3202/201927.810172565407010260951334567582357740.65SD2019-07-13 10:47 PMRaspbian GNU/Linux 10 (buster)armv7l
1558AnonymousAData Premier ProView Product4B 1.1A2 Class 10 V30 U3ADataSD6405/201924.01239426649571706512606408910432433941.45SDXC2019-07-14 9:45 AMRaspbian GNU/Linux 10 (buster)armv7l
1326AnonymousSanDisk Extreme ProView Product4B 1.1A2 Class 10 V30 U3SanDiskSR64G6405/201937.810172786406911147852621376971340940.39SDXC2019-07-17 8:30 PMRaspbian GNU/Linux 10 (buster)armv7l
9078AnonymousKingston A400View Product4B 1.1SSD (2.5" SATA)KingstonSA400S37240G240N/A1791172122328468868931536181312822275935949300.13SSD2019-07-18 4:24 PMRaspbian GNU/Linux 10 (buster)armv7l
1287ExtremePlusSanDisk ExtremeView Product4B 1.1Class 10 U1SanDiskSE32G3211/201336.08383254335513016912822629508210340.82SDHC2019-07-24 1:39 PMRaspbian GNU/Linux 10 (buster)armv7l
1448AnonymousSamsung EvoView Product4B 1.1Class 10 U1Samsung000006403/201537.3643354625751418610401336810345309140.57SDXC2019-07-24 2:50 PMRaspbian GNU/Linux 10 (buster)armv7l
1342AnonymousSanDisk UltraView Product4B 1.1A1 Class 10 U1SanDiskSC64G6403/201823.510813031432712125937634298981385240.36SDXC2019-07-25 12:51 AMRaspbian GNU/Linux 10 (buster)armv7l
1880AnonymousSanDisk Extreme PlusView Product4B 1.1A1 Class 10 V30 U3SanDiskSP32G3202/201940.21458356358321425412648307211897547742.19SDHC2019-07-25 3:13 PMRaspbian GNU/Linux 10 (buster)armv7l
9540nooxTranscend M.2 NVMEView Product4B 1.1SSD (M.2 NVME)TranscendTS1TMTE110S256N/A1861191822644476729057936394313853132736071297.47SSD2019-08-01 2:14 PMRaspbian GNU/Linux 10 (buster)armv7l
1585AnonymousTranscendView Product4B 1.1A1 Class 10 V30 U3TranscendUSDU16406/201924.01216404348641617517161413710648417941.08SDXC2019-08-03 2:19 PMRaspbian GNU/Linux 10 (buster)armv7l
9529AnonymousKingston A400View Product4B 1.1SSD (2.5" SATA)KingstonSA400S37120G120N/A22015880301706352312068337516287541849430791296.64SSD2019-08-04 10:14 AMRaspbian GNU/Linux 10 (buster)armv7l
9007AnonymousCrucial BX500View Product4B 1.1SSD (2.5" SATA)CrucialCT120BX500SSD1120N/A1721195122387478058954936170312902245535832301.17SSD2019-08-04 9:24 AMRaspbian GNU/Linux 10 (buster)armv7l
1306AnonymousSamsung Evo SelectView Product4B 1.1Class 10 U3SamsungGC2QT6412/201828.112683448507513795960436549546239740.17SDXC2019-08-14 4:58 PMRaspbian GNU/Linux 10 (buster)armv7l
10555AnonymousSanDisk Extreme 500View Product4B 1.1SSD (2.5" SATA)SanDiskSD9SN8W512G500N/A21914953290905981311636339574344942337539780311.25SSD2019-08-17 8:42 PMRaspbian GNU/Linux 10 (buster)armv7l
1455iceboxicPhisonView Product4B 1.1Class 10 U1PhisonSD32G3205/201928.214162533566410135953146527487482940.89SDHC2019-08-21 2:45 PMRaspbian GNU/Linux 10 (buster)armv7l
10551NaroarSamsung T5View Product4B 1.1SSD (Portable)SamsungPortableSSDT5500N/A24914840290905936211636331007348112063338704312.82SSD2019-08-22 6:51 AMRaspbian GNU/Linux 10 (buster)armv7l
1704AnonymousSanDisk ExtremeView Product4B 1.1A1 Class 10 V30 U3SanDiskSE32G1606/201939.0145537375823149491009930559592494940.77SDHC2019-08-22 12:41 PMRaspbian GNU/Linux 10 (buster)armv7l
1548AnonymousLexar High PerformanceView Product4B 1.1A1 Class 10 V10 U1Lexar5cMJR3210/201817.61370400154811600512209445610623479841.34SDHC2019-08-22 10:19 PMRaspbian GNU/Linux 10 (buster)armv7l
1363R4W4CSamsung Evo+View Product4B 1.1Class 10 U3SamsungEC2QT6406/201721.612273021490912087981136059993364739.84SDXC2019-08-23 4:18 PMRaspbian GNU/Linux 10 (buster)armv7l
1617AnonymousPhison4B 1.1A1 Class 10 V10 U1PhisonSD64G6407/201924.7175727947030111761085354358724565239.97SD2019-08-23 5:17 PMRaspbian GNU/Linux 10 (buster)armv7l
9481aumaypeSamsung 860 EvoView Product4B 1.1SSD (2.5" SATA)SamsungSSD860EVOmSATA1TB1000N/A2311027624975411079990237989299601720237217302.65SSD2019-08-26 3:35 AMRaspbian GNU/Linux 10 (buster)armv7l
9396AnonymousSamsung 860 EvoView Product4B 1.1SSD (2.5" SATA)SamsungSSD860EVOmSATA250GB250N/A1881246923747498789499037429319442630735286297.96SSD2019-08-28 7:10 PMRaspbian GNU/Linux 10 (buster)armv7l
9167AnonymousCrucial BX500View Product4B 1.1SSD (2.5" SATA)CrucialCT240BX500SSD1240N/A19211469218054587887223359483109224891351606.55SSD2019-08-29 11:20 AMRaspbian GNU/Linux 10 (buster)armv7l
8973JosephCrucial MX500View Product4B 1.1SSD (2.5" SATA)CrucialCT250MX500SSD1250N/A2121242722634497089053933816317371713233135296.41SSD2019-08-30 11:16 AMRaspbian GNU/Linux 10 (buster)armv7l
1461JuicenginPhison4B 1.1A1 Class 10 V10 U1PhisonSD32G3207/201928.512592521503710084989447297536495040.72SD2019-08-30 11:47 PMRaspbian GNU/Linux 10 (buster)armv7l
1658AnonymousSanDisk Extreme PlusView Product4B 1.1A1 Class 10 V30 U3SanDiskSP64G6409/201738.813783584551214336984526949701466440.66SDXC2019-08-31 7:14 AMRaspbian GNU/Linux 10 (buster)armv7l
1439sdrasp1.3minecraftSonyView Product3B+ 1.3Class 10 U1SonyUSD001609/201823.312902773516011095975550998464474335.65SDHC2019-09-04 11:59 AMRaspbian GNU/Linux 10 (buster)armv7l
1668AnonymousSanDisk ExtremeView Product4B 1.1A1 Class 10 V30 U3SanDiskSE64G6404/201837.4142636325707145281009529609455488740.83SDXC2019-09-04 7:21 PMRaspbian GNU/Linux 10 (buster)armv7l
1330JMSanDisk UltraView Product4B 1.1A1 Class 10SanDiskSB64G6410/201821.010542929421811719948636489245391741.62SDXC2019-09-05 11:36 AMUbuntu 18.04.3 LTSaarch64
1497AnonymousPhison4B 1.1Class 10 U1PhisonSD64G6405/201919.2148430745938122971099148918920513941.44SD2019-09-07 5:52 AMUbuntu 18.04.3 LTSaarch64
1386sdcard01SanDisk ExtremeView Product4B 1.1A2 Class 10 V30 U3SanDiskSN64G6405/201937.410622924424811696864324957375374340.46SDXC2019-09-10 2:25 AMRaspbian GNU/Linux 10 (buster)armv7l
1394AnonymousSamsung Evo+View Product4B 1.1Class 10 U1SamsungEB1QT3207/201825.812113241484612967977626639758365040.37SDHC2019-09-10 10:00 AMRaspbian GNU/Linux 10 (buster)armv7l
1571leo'sTestSamsung Evo+View Product4B 1.1Class 10 U3SamsungED4QT12812/201730.01350324854031299411275420411030402933.43SDXC2019-09-12 11:10 AMRaspbian GNU/Linux 10 (buster)armv7l
1323iwanSanDisk Extreme PlusView Product4B 1.1A2 Class 10 V30 U3SanDiskSR12812806/201937.39402828376111313848415697106349539.49SDXC2019-09-14 1:02 AMRaspbian GNU/Linux 10 (buster)armv7l
9238jangaSamsung 860 EvoView Product4B 1.1SSD (2.5" SATA)SamsungSSD860EVO250GB250N/A1961211522515484619006136918309651938836646331.49SSD2019-09-15 12:19 PMRaspbian GNU/Linux 10 (buster)armv7l
Showing featured results only. View full results

Navigating the Results

As the list of submissions continues to grow there can be a lot of data to sift through. I’ve provided a filter on the table to help narrow some of that down.

To only see Micro SD cards click the “Product” drop down from the options above the table and choose “SD”. This will filter out everything but Micro SD cards. To see solid state choose “SSD”. You can also search by manufacturer, brand, etc.

I have also offered the option to export the entire results table to Excel and other formats. If you perform any advanced analysis that you think would be useful to share be sure to leave a comment with what you found and I will credit you and post it for everyone!


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.

If you have a Pi 3B+ or older 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.

If you have a Pi 4 then the performance of the solid state that you get is a performance factor. Differences between drive quality can affect performance but the performance of *any* quality solid state drive is going to crush SD cards and USB flash drives.

The best way to find good fast drives is to go to the full Pi Storage Benchmark results and soft by drive and see which ones score higher and by how much. When you look at prices you can determine if you want to pay extra for the highest classes of performance and where your sweet spot is.

The new Pi 4 has a much faster USB 3.0 bus on it that allows solid state’s potential to be unleashed leading to huge performance gains.

Here is my current recommendation:

Raspberry Pi Storage Benchmarks 2019 + Benchmarking Script

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

Raspberry Pi Storage Benchmarks 2019 + Benchmarking Script

StarTech 2.5″ SATA to USB 3.0 Adapter

My project moves around but can fit a USB drive

Many USB drives are a poor choice for Pi storage media because they have very poor 4k random read / write performance. Micro SD cards are faster than a run of the mill / genreic flash drive.

That being said, with the new Raspberry Pi 4 the USB 3.0 bus is having really high end flash drives outperforming Micro SD cards. On the 3B+ and older boards without the new bus USB flash drives are usually not a good choice (even the good ones).

One drive that shows great performance even on a 3B+ 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.

Raspberry Pi Storage Benchmarks 2019 + Benchmarking Script

SanDisk Extreme Pro 128GB USB Solid State Flash Drive

My project is small form factor and can’t use USB adapters or 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:

Raspberry Pi Storage Benchmarks 2019 + Benchmarking Script

SanDisk Extreme 32 GB A1 U3 V30 Micro SD Card

The SanDisk Extreme A1 Application Class version continues to dominate other Micro SD cards on the benchmarking charts.

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:

Raspberry Pi Storage Benchmarks 2019 + Benchmarking Script

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!

Picking the Fastest Micro SD Card

This can be difficult as manufacturers change their manufacturing processes and start using a different type of memory or on-board storage controller (likely to a cheaper one) for these cards. This can even happen on the same product line (such as the Samsung Evo) so manufacturer date is important when looking at these.

For example, the Samsung Evo+ was terrible a few years ago but more recent batches are scoring very well. The Samsung Evo “orange” older cards tend to be faster than the newer ones.

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.

Since manufacturers change their processes all the time 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!

If you are currently in the market for a Micro SD card check the recommendations and the results table to see which current batches are performing the highest!

How you can contribute

The best way to help contribute to this research is to run the benchmark on your own Micro SD cards.

We are especially looking for the more unusual Micro SD card brands. Right now there are several manufacturers of Micro SD cards that have as yet to be identified. This information isn’t published anywhere publicly so the only way we can get them is through benchmarks submitted by you!

It is important to fill out everything you can see for the “Brand” question that comes up when you run the benchmark. Look at your card and fill in any branding markings you see.

This helps me identify unusual card vendors and add them to the script so they can be identified to help everyone compare between the different cards.


  • Use a solid state drive (SSD) if possible. Instructions on how to set one up with the Pi are in this article
  • SanDisk A1 application class cards are dominating the Micro SD results so far
  • The only sensible Micro SD cards to buy right now are application class (A1) due to their outstanding 4k blocksize I/O performance vs. older cards.
  • Micro SD card performance among the same brands and even the same models varied wildly depending on the manufacturing date. Memory quality and storage controller performance vary from batch to batch. Generally the newer they are the higher they tend to score on the benchmark as card technology is always improving.
  • 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!

22 thoughts on “Raspberry Pi Storage Benchmarks 2019 + Benchmarking Script”

  1. Avatar for Denny Fox

    Thanks for the great test script and database! It is very useful in my evaluation of adapters and SSDs for the Raspberry Pi 4. I had been using fio scripts exclusively before I ran across Storage.sh. Your script provides a broader look at performance using different tests and the weighting makes sense for the use case. I have seven different adapter cables/enclosures and only two of them work out of the box on the Pi4 with USB3. They both have the ID 174c:55aa ASMedia Technology Inc. chip. All the others based on JMicron chips need the “quirks” fix in /boot/cmdline.txt to operate. This reverts to mass storage protocol in the driver. See:
    STICKY: If you have a Raspberry Pi 4 and are getting bad speeds transferring data to/from USB3.0 SSDs, read this

    One request:
    Could you please include the Description typed in after the test in the database? I have been using this to keep track of the adapters and drives I have been testing. Having it as a field in the database would be very helpful.

    Many thanks!

    1. Avatar for jamesachambers

      Hey Denny,

      Thanks very much for the feedback. I will definitely add the description field in.

      I’ll also get the quirks information on here as yes that definitely needs to be stickied and added into the post!

      1. Avatar for Denny Fox

        I was happy to find the “quirks” page since is at least allows adapters with the JMicron chipset to work, even if it is not optimal. Hopefully we will see an improvement in the Pi’s driver in the future. I am particularly interested in booting directly from USB like the Pi3B’s.

        I installed smartmontools and when I run
        smartctl -i /dev/sda
        I get an output line that says:
        SATA Version is: SATA 3.2, 6.0 Gb/s (current: 3.0 Gb/s)

        I’m wondering why it is only running at 3.0 Gb/s?

        Thanks for adding the Description field!

  2. Avatar for jonne

    Hi, I have SSD mounted not as / but different folder. Is it possible to test that external disc giving sda1 as parameter for this script (or changing some part of it)?

    My discs are like this, but I think it defaults to *mmcblk*

    sda 8:0 0 238,5G 0 disk
    └─sda1 8:1 0 238,5G 0 part /home/pi/
    mmcblk0 179:0 0 28,9G 0 disk
    ├─mmcblk0p1 179:1 0 256M 0 part /boot
    └─mmcblk0p2 179:2 0 28,6G 0 part /

  3. Avatar for DerFritz

    Great work you have done. For me it is THE standard for storage benchmarks on the Raspberry Pi. Thank you for your effort.
    One drawback of your database is the lack of information about the used USB2SATA Converter. Especially for the performance of the Raspi4 this may be relevant.

  4. Avatar for John Colby

    I was looking for my results and cannot figure out any way to how to see them. A “date run” and trhen a sort on date would at least give me a shot. I love that you have done this.

  5. Avatar for Mark L

    I just moved my /root to an SSD on my new Raspberry Pi 4 as you instructed. It’s working well, but now the script freezes as it builds iozone. It always freezes with the word “SCSI”. Any ideas?

    1. Avatar for jamesachambers

      Hey Mark,

      Does the whole Pi freeze or just the script? The SCSI part would show during hardware detection most likely.

      1. Avatar for Mark L

        I’m trying to determine this, it’s very strange. The whole Pi seems to be affected. top does not show anything out of the ordinary, yet the Pi is functioning like it’s partially frozen. I can sometimes close the script window but that doesn’t help. Windows will sometimes open but won’t close. I can’t logout or shutdown, the GUI gets called but never comes up, despite top showing everything’s fine. I should try rebooting from the CLI. Once before I started using top the resource monitor showed 100% CPU usage yet the temperature kept low like at idle.

        This script worked fine on my 3B+ with an SD card and with an SSD, it’s my 4 that’s affected. Works fine with the SD card, it’s the SSD it doesn’t like.

        I’m thinking there’s some hardware I plugged in it doesn’t like, but all I have plugged in is a generic keyboard. I’ve tried with a different generic keyboard and a wireless keyboard/mouse combo (lsusb says Cypress Semiconductor). I’m now still using that wireless mouse but also a Bluetooth keyboard.

    2. Avatar for DerFritz

      I did the test too with an Raspi4 and a mSATA SSD, everything went fine.
      Sounds like a problem to the power supply of your SSD.
      What hardware are you using? Do you connect to the USB3-ports? Are you using a USB3-cable?

  6. Avatar for Ben

    I’m having difficult submitting my data using the new Raspberry Pi 4 (Raspbian Buster). The error I get is `curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)`.

      1. Avatar for Ben

        Nope, same issue unfortunately 🙁 not to worry; it looks like a reasonable amount of data has been collected.

  7. Avatar for Alex

    Thanks for your effort!
    One question: Is there a easy way to run the test on a other drive then the boot-Drive? I’ve a USB-Flashdrive in my PI, that is claiming it is a SSD inside, and I like to run a test on it. But it is not the boot-drive.

  8. Avatar for Bob

    If I am recording a 15 minute video at full 5MP resolution at 10fps with MJPEG compression. It seems that SSD drives will still be the best. Is this accurate?

    1. Avatar for jamesachambers

      Definitely! The write cache optimizations that SSDs have will help as well with this. The data can be stored in the write buffer while it is being written to the drive which takes pressure off the Pi.

Leave a Comment

Your email address will not be published. Required fields are marked *

Type here..