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.

[SOLVED] Terrible NVMe Performance

Featured Replies

Hi everyone,

I'm creating an image from a physical NVMe drive to another NVMe drive.

Both drives are unassigned, both are Gen4.

This is the command I use:

Quote

qemu-img convert -f raw -O qcow2 /dev/nvme8n1 /mnt/disks/SPCC1/990Pro_1tb.img

Dev 7 (direct), to Dev 2 (unassigned share):

image.thumb.png.d55c20ebe602d6d299ced8610f74dd68.png

As you can see, it transfers @ 160MB/s, should be 6GB/s at least.

When I passthrough the drives in a Win11 VM, they bench as expected, 6/7 GB/s.

Any ideas?

Thanks

Edited by shpitz461

Solved by JorgeB

  • Author

I've tried a Windows 10 install, same results.

Max transfer between Gen4 NVMe drives is around 1.5GB/s.

Upon further inspection, HWInfo64 reports the drives operate as Gen2 with max link-speed of 1x (5 GT/s):

image.thumb.png.d62736f0f6f533540d738651531b686e.png

The Red Hat PCI-to-PCI bridge does show Gen4:

image.thumb.png.0051fab814624a5ced0f52dbcd8e5fd9.png

Power mode is set to Performance.

It seems that the HWInfo data is wrong since I'm getting higher speeds than the pcie Gen2 allow.

I've benched the drives using Samsung Magician:

image.thumb.png.837277b65d19d44130f09bf96b2eb0ea.png

image.thumb.png.024668cff89e54fcb88e2b13cd2df0f2.png

image.thumb.png.07414897befb985ddefe1aa0cb4869e8.png

I think I will also reboot the server and do some bare-metal testing outside of Unraid.

Thanks

  • 3 weeks later...
  • Author

Also, I'm copying directly via /mnt from one gen3 nvme pool to another gen4 nvme pool, both are btrfs raid-1 filesystems, and this is the speed I'm getting:

image.png.93da8a8b2a7c237f03ebbe577609dafd.png

When I clear or balance the pools I get the drives rated speed.

Any idea why I'm getting 1/3rd of the speed?

Thanks

  • Author

Thanks for the reply!

I did expect a little overhead, but not a 1/3rd. I also did the transfer using Krusader within Unraid, no Windows is involved.

The CPU is an Epyc 7742.

I've tested the drive's Q1T1 performance, shows 5GB/s write:

image.png.fb040f4a2e31eba8848aa773fafb568e.png

It is what it is I guess.

  • Community Expert
  • Solution

Like mentioned an actual copy is not the same as running a benchmark, I have a similar CPU in one of my servers, and get max 1.5GB/s when copying data with NVMe devices, with Unraid, TrueNAS or Windows.

  • shpitz461 changed the title to [SOLVED] Terrible NVMe Performance

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.