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.

Parity calculation speed

Featured Replies

Hi there!

 

Let me start by saying that i am just trying unRaid for the last few days and like it a lot!

I do have a question about parity calculation though. My HW is HP Microserver gen8 with G1610T CPU, two WD REDs 3 TB, two shucked HGST HE 8TB and 128GB SSD for cache.

 In my PC al HDDs bench slightly below 200MBps, in unRaid while doing parity calculation with only 2x8TB connected (2x3TB are unmounted, and not associated) the speed I am seeing is 40-50MBps. Is this to be expected? CPU load is never greater than 20%, so what is the bottleneck here?

Edited by woocash

  • Author

Thanks for the answer. In disk settings, the Tunable(md_write_method), is since 5 minutes after the installation set to "reconstruct write". Is it possible that the disks do not use the setting, or have it reset somehow? Can i verify the method that is actually in use?

Edited by woocash

  • Community Expert

You should be able to see which disks are being read and written in the Reads and Writes columns on Main - Array Devices.

  • Author

I am, the data drive has read speed matching the write speed of parity drive. Currently 47,9 MBps. If it helps diagnostically, I'm running 6.7.0-rc7

Edited by woocash

  • Community Expert

What I was getting at is that if you have reconstruct write on, then when you write to a disk in the array, all the other disks should be read.

 

Are you saying reading from a data disk is that slow? Reading a data drive doesn't involve parity, just the drive being read.

  • Community Expert
11 hours ago, woocash said:

in unRaid while doing parity calculation

If you mean parity sync, check in the bios that write cache is enable, if it is and still slow then please post the diagnostics: Tools -> Diagnostics

  • Author
6 hours ago, trurl said:

What I was getting at is that if you have reconstruct write on, then when you write to a disk in the array, all the other disks should be read.

 

Are you saying reading from a data disk is that slow? Reading a data drive doesn't involve parity, just the drive being read.

Yes, read speed from data disk is the same as write speed to parity disk - around 45-49 MBps.

 

1 hour ago, johnnie.black said:

If you mean parity sync, check in the bios that write cache is enable, if it is and still slow then please post the diagnostics: Tools -> Diagnostics

Not sure if I named it correctly - basically in my array there is one 8TB data drive. I added another identical 8TB new and empty drive to the array as parity disk. I clicked "Parity-sync/data rebuild" to fill parity disk with parity data. Since then the speed of this process is very slow. The caching is enabled in BIOS.

 

Looking through diagnostics I found lsscsi.txt which showed queue_depth of both my 8TB drives as 1, which if i understand correctly means NCQ is disabled. On the other hand in unRaid settings, NCQ is set to be enabled. Could this be the problem?

 

I do attach diagnostics below. 

 

 

Edited by woocash

  • Community Expert

Write cache for parity disk is disabled, you can turn it on with:

 

hdparm -W1 /dev/sdX

 

Might go back to default after a reboot.

  • Community Expert

In fact it's disabled for all your disks, very unusual. something is/was disabling it.

  • Author
46 minutes ago, johnnie.black said:

Write cache for parity disk is disabled, you can turn it on with:

 


hdparm -W1 /dev/sdX

  

Might go back to default after a reboot.

 

42 minutes ago, johnnie.black said:

In fact it's disabled for all your disks, very unusual. something is/was disabling it.

 

I guess that was the fastest and finest diagnosis of any problem I had ever. 160MBps now :) Worked like a charm, appreciate it!

 

Curious about that cache being disabled everywhere, even though in BIOS it's enabled. Will investigate further and update this post if i find the reason. Wonder if maybe DiskSpeed or other benchmarking tool i used, disabled it to get more "pure" results.

Edited by woocash

Archived

This topic is now archived and is closed to further replies.

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.