jbudd wrote: ↑
Sat Oct 13, 2018 12:38 am
How would the performance of Sandisk Ultra Fit USB 3.1 flash drives compare as the boot drive in a Pi 3B+ with these A2 (and A1) SD cards?
USB flash drives typically have terrible random I/O performance and low IOPS. They are not optimized for system drive performance, so an A1 or A2 micro SD card should handily outperform most USB flash drives.
If performance is your goal, then using an SSD may make more sense. They are faster and cheaper per-GB than A2 cards (and even A1 cards in sizes over 128GB). When testing with my x86 gaming laptop on USB 3.0, a 128GB Silicon Power A55 SSD clobbered my SanDisk Ultra Plus A1 card, and it costs only £2 more than the 64GB A2 card linked in the OP (to be fair you'll also need a USB-SATA adapter cable, so it will be a little more than the £2 price difference).
SanDisk Ultra+ A1 64GB micro SD card (in USB 3.0 card reader).
Silicon Power A55 128GB SSD (with USB 3.0 to SATA III adapter cable).
- Random Read 4KiB (Q= 8,T= 8) : 9.798 MB/s [ 2392.1 IOPS]
- Random Write 4KiB (Q= 8,T= 8) : 2.647 MB/s [ 646.2 IOPS]
- Random Read 4KiB (Q= 1,T= 1) : 7.622 MB/s [ 1860.8 IOPS]
- Random Write 4KiB (Q= 1,T= 1) : 2.175 MB/s [ 531.0 IOPS]
- Random Read 4KiB (Q= 8,T= 8) : 133.828 MB/s [ 32672.9 IOPS]
- Random Write 4KiB (Q= 8,T= 8) : 128.656 MB/s [ 31410.2 IOPS]
- Random Read 4KiB (Q= 1,T= 1) : 19.087 MB/s [ 4659.9 IOPS]
- Random Write 4KiB (Q= 1,T= 1) : 39.024 MB/s [ 9527.3 IOPS]
I'd like to test it on one of my Pi3 computers, but like so many things Linux a search for benchmarks yields many results, some of which require building from source, and while I'm not completely opposed to that, it would be nice to find something that's just an apt install away.
Does anyone know of a relatively easy to install and use benchmark for Raspbian that measures IOPS and random read/write (CLI is fine)?