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.

unraid zfs Hybrid mode read slow read multipe disk

Featured Replies

I have 9 disks for zfs format data disk and 2 parity disk for unraid array.When I read data from 9 data disks simultaneously through /mnt/diskx, the overall throughput is very low, only 300M/s, slightly higher than the throughput of a single disk (260M/s). At the same time, I can see that my 32-core 7d12 CPU is almost fully loaded in the background. By using the "top" command, I can see that processes like unraidd1 and unraidd2 are consuming a significant amount of CPU.

I have confirmed that my hard disk bandwidth is sufficient to support all my disks being fully loaded for reading simultaneously. During parity check, all 11 hard disks can operate at speeds above 250M/s.

  • Community Expert

I suspect that, at least in part, it's caused by the checksum verifications, I had already noticed this with btrfs, though zfs appear to be a little slower, this is with 3 simultaneous reads on a 15 year old 4 core Xeon:

 

ZFS:

zfs.JPG

 

BTRFS:

btrfs.JPG

 

XFS:

xfs.JPG

 

I think your CPU should be able to handle more than 300MB/s, how much do you get for 3 reads?

  • Author
1 hour ago, JorgeB said:

I suspect that, at least in part, it's caused by the checksum verifications, I had already noticed this with btrfs, though zfs appear to be a little slower, this is with 3 simultaneous reads on a 15 year old 4 core Xeon:

 

ZFS:

zfs.JPG

 

BTRFS:

btrfs.JPG

 

XFS:

xfs.JPG

 

I think your CPU should be able to handle more than 300MB/s, how much do you get for 3 reads?

I test three disk,It more faster

  image.thumb.png.ea8f5b5f5511abbcec442db022a48a32.png

image.thumb.png.770fdd382420f77a11248e98dc0f6ce5.png

9 disk read:

image.thumb.png.ee582e5089482f6536b25cc3d5298535.png

image.thumb.png.70053f9564c1a9020e792406d5c20429.png

  • Author
1 hour ago, JorgeB said:

I suspect that, at least in part, it's caused by the checksum verifications, I had already noticed this with btrfs, though zfs appear to be a little slower, this is with 3 simultaneous reads on a 15 year old 4 core Xeon:

 

ZFS:

zfs.JPG

 

BTRFS:

btrfs.JPG

 

XFS:

xfs.JPG

 

I think your CPU should be able to handle more than 300MB/s, how much do you get for 3 reads?

I don't believe that checksum verifications are the main culprit in this situation. Nowadays, even single-core CPUs have computing power measured in GOPS (Giga Operations Per Second), and a data flow of less than 1G/s should not cause significant CPU usage. Additionally, based on the "top" command, it is evident that the CPU-consuming processes are kernel threads of Unraid. It is highly likely that Unraid has assigned a separate kernel thread for each disk to handle IO requests,miuse spin locks make that happen(more disk,slow thorughput,but higher cpu usage.

.

Edited by competent-bailout3425

  • Community Expert

It came to me that there's an easy way to test if the Unraid driver is affecting simultaneous performance, test the same devices in separate pools:

 

image.png

 

These are the same 3 devices as before, zfs formatted, and the difference is quite clear, 785MB/s total vs 450MB/s when used in the array, so looks like the Unraid driver is limiting simultaneous read performance, and possibly the more devices you try to read from at the same time, the more it limits it.

 

This is not something that most users will run across, but it is a valid use case, I would suggest creating a bug report, it probably won't be considered high priority, but it's something that LT can try to optimize in the Unraid driver.

 

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.