Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help troubleshoot M.2 performance

Featured Replies

Hi.

I have a rig with multiple M.2's and I must admit I was expecting a better throughput than what I am seeing now. I have the following rig:

  • ASRock X570 Pro4
  • Ryzen 5800X
  • 64 GB ram (out of which 50% is allocated to zfs via zfs.conf override)
  • Graphics in Slot 3
  • Asus Hyper M.2 x16 Gen 4 in slot 1 (bifurcated 4x4)
  • 2 x Samsung 990 Pro (in slot 1 and 2 on Asus)
  • Samsung 980 Pro (in slot 1 on mb)
  • Samsung 980 Pro (in slot 2 on mb)

 

Now the response I'm getting from the system is very good, but when I tested the rig just now I belive I should be seeing better speeds. The following screenshot shows the following rsync jobs:

  • 980-Slot-1 to 990-Slot-1
  • 980-Slot-1 to 990-Slot-2
  • 980-Slot-1 to 980-Slot-2

 

When testing all combinations of copying between the M.2 the numbers are almost identical (to within 1%). The screenshot shows a test with disks formated with zfs-encrypted (with compression), but I have mirrored the tests using xfs with the same results.

Are there any hardware limitations I'm hitting or is this the expected level?1375790097_Screenshot2024-02-28at20_31_32.thumb.png.edc9efde9574e832da6b2fa171e0627e.png

 

//Thomas

Edited by Ulf Thomas Johansen
typo

Solved by JorgeB

  • Community Expert

Rsync is not really built for speed, having said that, in my experience don't expect much more the between 1 to 2GB/s, mostly depending on the CPUs single thread performance, try using PV with a large file to see if it's the same:

 

pv /path/to/source > /path/to/dest

 

  • Author

Good point on rsync, and I've redone with pv as suggested. Giving the following observations:

  • 1.79 GiB/s  between the 990's (on the asus card)
  • 1.19 GiB/s between the 980's (on the mb, one of which will be capped at gen3)
  • 1.86 GiB/s from one 980 to one 990

 

Better then rsync, but I am not getting much more effect from the Asus and the 990's.

Screenshot 2024-02-29 at 11.14.50.png

Screenshot 2024-02-29 at 11.16.57.png

Screenshot 2024-02-29 at 11.18.09.png

Edited by Ulf Thomas Johansen

  • Community Expert

I'm afraid that's around what I would expect to see with that CPU, you might be able to get around 2GB/s+ with a faster single threaded CPU, like an i5 14600K.

  • Author

A more structured test using a 128 GB file:

image.png.c352901b089cbc50d464ae674ac1b1d8.png

 

I am not sure I follow your argument that the cpu is the bottle neck because when I run two pv's in parallell I am getting an average of 3 GiB/s throughput? Watching htop I can see that the system is hitting 4 GB/s in disk R/W pr pv job. Wouldn't this suggest something else is capping?

 

Edited by Ulf Thomas Johansen

  • Community Expert
  • Solution
22 minutes ago, Ulf Thomas Johansen said:

hen I run two pv's in parallell I am getting an average of 3 GiB/s throughput?

That's normal, that's why I mentioned 

 

29 minutes ago, JorgeB said:

faster single threaded CPU

 

Each transfer will only use one CPU thread.

  • Author

Aha ... Makes sense.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.