Raspberry Pi Storage Benchmarks

This is the full collection of Raspberry Pi storage benchmarks consisting of solid state drives (SSD), Micro SD cards, hard drives (HDD), and USB flash drives.

For the latest analysis of the results and recommended choices of what storage to use check out the Pi Storage Benchmarks Analysis Page.

To run the benchmark yourself type/paste:

wget https://raw.githubusercontent.com/TheRemote/PiBenchmarks/master/Storage.sh
chmod +x Storage.sh
sudo ./Storage.sh

Or the one line version with curl:

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

New Website (Beta)

We are getting close to 5000 submissions and the project has outgrown this old table format. Even on very powerful machines this old table is taking ages to load.

I have quietly launched a new early beta section of my website at https://storage.jamesachambers.com/. It’s still a little rough around the edges and some key features are missing that I’m working on but they are being added every day. Despite this, I wanted to start getting it tested and receive some feedback!

Methodology

The benchmark runs a few different tests in order to get a good well rounded idea of storage performance. It runs tests on 4k read / write, 4k random read / random write, and two basic throughput tests. The scores are weighted, added together and an then an overall performance score is given. Here are the tests used in the benchmark:

FIO – An industry standard used to assess true storage benchmarking in real world situations vs. just measuring throughput (like DD Write and HDParm). The benchmark we run 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 widely popular benchmarking program. The test the benchmark runs tests 4k block size sequential read / write and 4k random read / writes. Since 4k R/W and Random R/W are the most important and highly weighted scores on the test this reduces variance among benchmarks and gives a more reliable performance score.

DD Write – Basic throughput test of writing 0’s as fast as possible. This helps to determine raw write speed of the storage device.

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