Post

Choosing SSD storage for a Raspberry Pi 4 micro server

Welcome to this blog on how I chose SSD drives for my Raspberry Pi 4 Homelab micro server. This process turned out to be more tricky than originally expected, including finding the information to base my research on. Hope this blog helps you make the choice quicker and hassle-free or just serves as an interesting read.

Please note that at this time, I mostly concentrate on power efficiency and don’t get into read / write performance. However, I believe that some of the resources I mention might help compare RPi-compatible SSDs by those metrics as well.

Goals and restrictions

When researching for my future Homelab server hardware configuration last year, I decided to go with 2 SSD drives: 120 and 240 GB. There were multiple reasons behind it, the main being to not use the same drive as a boot device and a drive for my network file-sharing shenanigans. By having 2 drives I can safely work with my Linux distro (experiment / reinstall) on one without affecting the other which serves as a very basic NAS.

At the same time, I did not want to power the drives externally, so that the setup stays as simple as possible. This meant that I had to power them through the Pi’s USB ports. This, of course, comes with some challenges. Let’s look into them.

RPi 4 power output limitations

RPi 4 is equipped with 4 USB ports (2 USB 3.0, 2 USB 2.0) and is rated for 1200 mA maximum power output total across all ports while being powered with a 5.1 V 3.0 A power supply. This means that if I want to power both the SSDs of my RPi 4 they better not consume more than 6000 mW total peak (USB ports are 5.0 V). This is, of course, before accounting for a case fan or any possible HATs. I decided to try and aim for half as much (3000 mW) to not only stay on the safer side in terms of possible undervoltage issues but also when it comes to leaving room for any possible additional hardware I might want to use / install in the future.

Research & Comparison

After looking through numerous articles and Reddit posts, I was able to approximate several SSD series that seem to be the most popular community choices:

Even though, all of those are very popular in my location as well, unfortunately, some of the models were not available locally in 120 and / or 240 GB versions. For that reason, I decided to also look into other less popular local options. There was not a lot of them, though. Basically, just one - Patriot Burst Elite. There were both 120 and 240 GB versions available, so I decided to also add this series to my research list.

Official specifications

I started by looking up official datasheets and specs for all of the series, mostly concentrating on power consumption and less on read / write performance since my application does not require crazy speeds and durability is what I am after. Here is the table (official manufacturer specs only) I ended up with along with the links to the related product pages for 120 GB versions:

Brand / SeriesPart NumberSeq. Read, MB/sSeq. Write, MB/sMax. Power (read), mWMax. Power (write), mW
WD GreenWDS120G2G0A54580*22002200
Patriot BurstPBE120GS25SSDR450320N/AN/A
Kingston A400SA400S37/120G5003206421535

NOTE: Crucial BX500 series does not offer a 120 GB version: it goes 240 GB and up.

And the same for 240 GB:

Brand / SeriesPart NumberSeq. Read, MB/sSeq. Write, MB/sMax. Power (read), mWMax. Power (write), mW
WD GreenWDS240G3G0A545N/A*28002800
Patriot BurstPBE240GS25SSDR450320N/AN/A
Crucial BX500CT240BX500SSD1540500N/AN/A
Kingston A400SA400S37/240GB5003506421535

* Sequential Write performance specs for both WD Green SSDs were not specified in the official documentation or conflicting / questionable values were provided. For example, WD’s website product description states that the Seq. Write performance for WDS120G2G0A is 80 MB/s, when numerous other sources, mention values between 465 and 600. When it comes to WDS240G3G0A, the Seq. Write performance table cell is just blank.
NOTE: Seq. Read - Sequential Read Performance (up to), MB/s; Seq. Write - Sequential Write Performance (up to), MB/s; Max. Power - Maximum Power Consumption Operating, mW.

Unfortunately, half of the manufacturer datasheets and website descriptions don’t contain power consumption specifications. It seems to be a norm for consumer-grade SSD documentation for some reason. But it is fine since I intended to mostly base my research on community-driven power consumption benchmarks anyway. The idea was to find a single resource where I could get power consumption benchmarks for all the SSDs in question. In theory, this might help ensure that even if the testing methodology is not the best the data should still allow for adequately comparing the drives since it is at least, hopefully, consistent for all the tests.

Power consumption benchmarks

In my research, I found tuxad.com - a tech blog / IT Service website by Frank W. Bergmann. It proved to be very useful in my research since there I was able to find a series of SSD power consumption and write / read performance benchmarks that cover all the SSDs in question, except for, unfortunately, WDS240G3G0A. I was also not able to find any other community-driven benchmarks for this model.

When it comes to other benchmarks it seems like most of them date back to 2018 - 2019. Sure, it is possible that the manufacturers have updated some of the internal components that go into their drives since then, and the tests might not be all that relevant nowadays. At the same time, this is the best I could find according to my criteria since most of the other benchmark articles seem to be either heavily write / read performance-oriented and just recite the official specs when it comes to power consumption. Please reach out if you know where to find better benchmarks. I will try my best to update this blog entry with more recent data if available.

Here you can find a description of the test environment used for testing. I have put together tables and charts to help better visualize the benchmark results. The tables also include links to the related benchmark posts. Let’s start with 120 GB SSDs:

Brand / SeriesPart NumberMax. Power (read), mWMax. Power (write), mWBenchmark
WD GreenWDS120G2G0A9601400tuxad.com
Patriot BurstPBE120GS25SSDR540540tuxad.com
Kingston A400SA400S37/120G5101050tuxad.com

Desktop View 120 GB drive series performance testing results

And the same for 240 GB:

Brand / SeriesPart NumberMax. Power (read), mWMax. Power (write), mWBenchmark
WD GreenWDS240G3G0AN/AN/AN/A
Patriot BurstPBE240GS25SSDR520530tuxad.com
Crucial BX500CT240BX500SSD16003300tuxad.com
Kingston A400SA400S37/240GB5201560tuxad.com

Desktop View 240 GB drive series performance testing results

Please keep in mind that as noted on the 240 GB chart I extrapolated the power consumption data for WDS240G3G0A based on WDS120G2G0A results and official specs. But only for the chart visualization. Sure, probably unreliable, but hopefully somewhere in the same ballpark with the real values.

As part of my research I also went through pibenchmarks.com - the biggest community-driven Raspberry Pi-oriented benchmarking platform by James A. Chambers. You can read more about the testing methodology here.

It is a great place not to just see how different storage media perform on RPis, but also to get a feel for the community trends in terms of hardware popularity and overall performance ranking. Again, I did not get into write / read performance too deeply, since I mostly wanted to know which SSDs seemed to work out well for other RPi users. If you decide to explore the test results closer, please make sure to be careful when interpreting the results, since the tests for the same drives are performed on different RPi software (different OS Linux distros, etc.) and hardware configurations (SATA to USB adaptors, RAM size, CPU frequency due to overclocking, etc.). Make sure to find test results that are as close to your setup as possible.

Here are the SSD series statistics based on the huge amounts of community-driven benchmarks (as of 22 March 2024):

Brand / SeriesPopularity (Overall), # / 1539Rank (Overall), # / 1539Rank (Type), # / 875Rank (Class), # / 363
WD Green 24776740279
Patriot Burst Elite 160598576186
Kingston A400S 1516496140
Crucial BX500 4487467125

Notice, that the popularity and performance rankings are based on storage types (SSD, HDD, SD, possibly others) and classes (SSD (M.2 NVMe), SSD (mSATA), SSD (Portable), SSD (2.5” SATA), HDD (3.5” SATA), USB Flash, possibly others). This means that those metrics compare USB drives with M.2 NVMe SSDs and so on. Please make sure to keep this in mind as well when interpreting the test results.

Conclusion

Considering the research results, I went with Patriot Burst PBE120GS25SSDR + Patriot Burst PBE240GS25SSDR with the total theoretical combined power consumption of 1060 mW read and about the same for write operations. Those drives are obviously the weakest out of the bunch in terms of write / read performance, but seem to be by far the most power-efficient (which makes sense) in some cases beating the other drives by upwards of around 5 times. Since my application is not speed-critical at all it seemed to make more sense to go with Patriot Burst. Those drives were also noticeably cheaper locally than the other ones. At this point, I’ve been using them for around 3 months running my micro server 24/7. No issues so far in terms of drive operation and undervaltage warnings.

If you are not looking to power several drives of your RPi, it probably makes sense to look into Kingston A400S and Crucial BX500 series for better performance. WD Green seems to be quite power-hungry while not really getting even close to Kingston A400S and Crucial BX500 levels of performance. Maybe it is specific to RPis though.

Anyway, I hope you found this blog entry useful. Let your SSD choice be quick and painless, and RPi lightning fast and not undervolted!

Note on SATA to USB 3.0 adapter cables

There is one thing worth mentioning about SATA cables. So far, it seems like the best compatible ones are based on the ASMedia ASM1153E/ASM225 chip. Those that are not might not work properly or at all. James A. Chambers keeps a list of many known compatible (and not) storage adapters that you might find useful (scroll down to Full Storage Adapters Compatibility List).

Useful URLs

Official datasheet PDFs

Caution, PDFs! Found on official manufacturer product pages, scanned for malware via virustotal.com.

This post is licensed under CC BY 4.0 by the author.