Gnyueh wrote: ↑Tue Jul 28, 2020 3:10 pm
RPi USB SSD performance basically capped at about 350M/s so a sata ssd is enough. Using an nvme m2 ssd will not be benifitial to seqential performance but 4kt1 performance will be better because of faster NAND, controller and SSD interface.
Not really, because most benefits of NVMe will be lost to USB overhead. I've actually benchmarked a SATA-III SSD with a USB 3.0 adapter cable against an NVMe SSD in a USB 3.1 Gen2 enclosure on my Pi4B2, and the SATA SSD won (although by a small enough margin that performance would likely feel the same).
Drives tested were a SATA-III Samsung 850 EVO and an NVMe Samsung PM961. USB adapters used were an Eluteng USB 3.0 to SATA-III cable and a Wanfocyu NVMe USB 3.1 Gen 2 10Gbps enclosure. Both drives had the same system cloned to them, and were trimmed and rebooted before the tests. Test results were an average of 3 runs, and the 850 EVO SATA SSD scored slightly higher in all categories (including both read and write IOPS).
Of course there could be various reasons for the benchmark results, but it just goes to show that nothing can be assumed, except that NVMe drives are wasted on the Pi4B (that PM961 was blazing fast in my gaming laptop). I'd also like to point out that the NVMe drive consumed more power and ran much warmer than the SATA drive, and the NVMe enclosure was 3X more expensive than the USB3-SATA3 cable.
So if you want better performance from your Pi4B, then a 2.5 inch SATA-III SSD and the Eluteng USB 3.0 adapter cable will not only give you the best bang for the buck, but the best performance possible on the Raspberry Pi 4B. The Eluteng cable supports UASP and TRIM out of the box (just create UDEV rules and enable the weekly fstrim.timer service).
The NVMe enclosure also worked with UASP and TRIM, but due to the higher power consumption and cost, and complete lack of benefits, I really can't recommend NVMe for Raspberry Pi computers.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?