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.

NVMe cache pool getting slow write speed

Featured Replies

I have an HPE DL380 Gen9 server with 2 PCIe adapters for my NVMe drives

There are 2x WD Blue SN570 1TB drives setup in a cache pool, using 1 for redundancy

 

I was noticing that when transferring to my shares from Windows I was getting only around ~500 MB/s when it was NVMe -> NVMe transfer.

Running iperf I saw that I was getting ~900MB/s connection so I knew that I should be getting more than 500 MB (not sure why it's not the full 10gig here but not my priority atm)

image.png.040ead44dbb605d2034973948671db38.png

 

I was unable to get the diskspeed docker container to work with my NVMe drive since it's active in a cache pool so I decided to run a dd speed test on one of my VMs and got the following result:

image.png.38db6120e2ef5a46cd3a3e4795fe0b97.png

 

When running dd from Unraid I get more than double the VM speed:

image.png.95d2a97f69ff6a34883437adb536c94c.png

 

Shouldn't my NVMe drives be working at full speed on the VMs and through my SMB shares?

Here are the SMB share speeds I'm getting:

image.png.f390c63060b6c3c348bbd6d6bb148082.png

Which seem to align more with the VM speeds for some reason

 

Any insight as to why I'm not getting the full speeds via SMB share and VMs would be great, attached are diagnostics, thank you!

diagnostics-20240227-2317.zip

Solved by JorgeB

  • Author
20 hours ago, JorgeB said:

Try testing with a disk share (or exclusive share).

With a disk share I get pretty much expected speeds via SMB transfer to the drive:

image.png.f6242c0ef23e036682f7c33681859764.png

 

Edit: I let it run a little longer and the speeds did not maintain:

image.png.ba7483bb238460d511cab973c7108168.png

 

On my VM I am getting slow speeds still but I didn't change anything on where the VM disk is stored (should I have? I already have it stored under a cache only share so it should be on this disk share if I'm understanding correctly?):

image.png.03cde5cc31c57fc04b10fa0123e3b2e2.png

 

Also, is a disk share required to get the full speeds for some reason or was this just a test to make sure network/hardware is capable? I want to make sure I'm able to use my cache -> array share still

Edited by alexhoopes

  • Community Expert
3 hours ago, alexhoopes said:

Edit: I let it run a little longer and the speeds did not maintain:

That suggests the device is not able to keep up, initial writes are cached to RAM, but then it can only write as fast as they are flushed to the storage.

  • Author
17 hours ago, JorgeB said:

That suggests the device is not able to keep up, initial writes are cached to RAM, but then it can only write as fast as they are flushed to the storage.

Do you know what part of my device wouldn't be able to keep up?

 

The drive on the server is rated for 1200MB/s write and it's connected via an x8 PCIe Gen3 lane, I see that ~1200MB/s write when doing the initial dd write test on Unraid (see original post) but not on the VMs or shares itself

  • Community Expert
  • Solution
6 hours ago, alexhoopes said:

Do you know what part of my device wouldn't be able to keep up?

The NVMe devices.

 

6 hours ago, alexhoopes said:

The drive on the server is rated for 1200MB/s write

I think you'll find they are rated up to 1200MB/s, and once the small pseudo SLC cache is full they will be much slower than that.

 

  • Author
On 3/1/2024 at 1:17 AM, JorgeB said:

The NVMe devices.

 

I think you'll find they are rated up to 1200MB/s, and once the small pseudo SLC cache is full they will be much slower than that.

 

Did not know about SLC prior to this, thank you! I will be shopping for different drives :)

 

Is it safe to assume this is why the VMs were gettign poor speeds too?

  • Community Expert
10 hours ago, alexhoopes said:

Is it safe to assume this is why the VMs were gettign poor speeds too?

Possibly.

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.