I got an M.2 WD SSD Blue SN580 250GB (PCIe 4.0)NVMe connected, however i expected it to preform closer to 500MB/sec,
Is there a way to get more preformance out of that one lane PCIe 2.0
No changes done in config.txt. Everything is on auto. Booting from disk
-
webbsmurfen
- Posts: 74
- Joined: Fri Jun 27, 2014 12:22 pm
M.2 NVMe Disk preformance question (RPI-5 16gig)
- Attachments
-
- Faster than this
- 20250621_23h18m37s_grim.jpg (31.09 KiB) Viewed 461 times
Re: M.2 NVMe Disk preformance question (RPI-5 16gig)
You're seeing better performance than I'm getting.
Have you tried forcing PCIe gen3 in config.txt?
edited for typo
Code: Select all
Non-Volatile memory controller: Hosin Global Electronics Patriot P300 NVMe SSD (DRAM-less)
pi@devpi:~ $ sudo hdparm -t --direct /dev/nvme0n1
/dev/nvme0n1:
Timing O_DIRECT disk reads: 1202 MB in 3.00 seconds = 400.10 MB/sec
Have you tried forcing PCIe gen3 in config.txt?
edited for typo
Last edited by thagrol on Sat Jun 21, 2025 11:55 pm, edited 1 time in total.
Knowledge, skills, & experience have value. If you expect to profit from someone's you should expect to pay for them.
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
-
webbsmurfen
- Posts: 74
- Joined: Fri Jun 27, 2014 12:22 pm
Re: M.2 NVMe Disk preformance question (RPI-5 16gig)
No, thanks for reminding me. It´s "dtparam=pciex1_gen=3" right?thagrol wrote: ↑Sat Jun 21, 2025 11:10 pmYour seeing better performance than I'm getting.
Code: Select all
Non-Volatile memory controller: Hosin Global Electronics Patriot P300 NVMe SSD (DRAM-less) pi@devpi:~ $ sudo hdparm -t --direct /dev/nvme0n1 /dev/nvme0n1: Timing O_DIRECT disk reads: 1202 MB in 3.00 seconds = 400.10 MB/sec
Have you tried forcing PCIe gen3 in config.txt?
-
webbsmurfen
- Posts: 74
- Joined: Fri Jun 27, 2014 12:22 pm
Re: M.2 NVMe Disk preformance question (RPI-5 16gig)
Well.. That changes things
.. A lot actually!! However it seems to work fine for now, but how to check for errors.
Im a bit sceptic about those numbers, however its an Gen4 disk, so maybe.. However can the Raspberry PI handle that amount of data on that single 1x lane?
Im a bit sceptic about those numbers, however its an Gen4 disk, so maybe.. However can the Raspberry PI handle that amount of data on that single 1x lane?
- Attachments
-
- 20250621_23h18m37s_grim.jpg (23.85 KiB) Viewed 404 times
Last edited by webbsmurfen on Sat Jun 21, 2025 11:55 pm, edited 1 time in total.
Re: M.2 NVMe Disk preformance question (RPI-5 16gig)
webbsmurfen wrote: ↑Sat Jun 21, 2025 11:49 pmWell.. That changes things.. A lot actually!! However it seems to work fine for now, but how to check for errors.
i dont want to trash that disk
Checking your logs/systemd journal/dmesg output and running the occasional fsck is where I'd start.
Knowledge, skills, & experience have value. If you expect to profit from someone's you should expect to pay for them.
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
Re: M.2 NVMe Disk preformance question (RPI-5 16gig)
webbsmurfen wrote: ↑Sat Jun 21, 2025 11:49 pmIm a bit sceptic about those numbers, however its an Gen4 disk, so maybe.. However can the Raspberry PI handle that amount of data on that single 1x lane?
Probably. Otherwise wouldn't it have reported a lower figure?
Knowledge, skills, & experience have value. If you expect to profit from someone's you should expect to pay for them.
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
Re: M.2 NVMe Disk preformance question (RPI-5 16gig)
those are pretty much the numbers i would expect
i just turned on gen3 this mourning
i just turned on gen3 this mourning
- Attachments
-
- 20250621_14h25m17s_grim.png (93.11 KiB) Viewed 361 times