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 Sync Derates to 4mb/s

Featured Replies

Hi,

 

I have a Asrock J3455 connected to 4x SATA WD Green 1TB SSDs. I moved over from truenas and now am pulling down my zfs array and adding devices to the unraid array. 

So I added one drive as an array drive, copied all data over and them destroyed the array and added one drive as a parity drive. That all seems to work fine. 

 

However now the parity-sync starts at 300mb/s and then slows down to an abysmal 4mb/s over the course of 2hrs. At that rate the 1TB would take over a day to sync. Does anybody have an idea on what to do here? Things I've already tried:


- Added a fan to the system (max temp of the parity ssd is now 35-38 degrees. System is at 30 degrees (C)

- Disabled C States in the Bios and set the Power Saving to "Sport"
- Tried a different ssd from the pool as the write device

- Tested disks with diskspeed, mixed results here, the full test wasnt run (some bug)
- Tested a usb drive, that seemed to be a lot faster (was originally running a backup to there)

 



Thanks!

jnas-diagnostics-20240330-1314.zip

Edited by juledev

Solved by JorgeB

  • Community Expert
  • Solution

Those SSDs won't be able to maintain high sustained write speeds, also please note that trim is not supported for array devices, I would recommend creating a raidz zfs pool instead, it will perform much better, you can use an old flash drive to fulfill the current array device requirement.

  • Author

Understood thanks. Would I then run the usb drive without a parity drive? Unraid doesnt seem to be happy about that.

 

I guess i could also just use one disk for non important data and run 3 drives with raidz.

  • Community Expert
12 minutes ago, juledev said:

Understood thanks. Would I then run the usb drive without a parity drive?

Yes, and not put anything on it.

  • Author

Hmm so I created a zfs pool with 3 drives and raidz1, however my samba copy speeds are still extremly slow...

image.png.95bda7fb1a01fdd66e6e8448485c98ac.png

 

Connecting to host 192.168.178.156, port 5201
[  5] local 192.168.178.22 port 53088 connected to 192.168.178.156 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   114 MBytes   958 Mbits/sec    0    354 KBytes
[  5]   1.00-2.00   sec   113 MBytes   947 Mbits/sec    0    354 KBytes
[  5]   2.00-3.00   sec   111 MBytes   933 Mbits/sec    0    348 KBytes
[  5]   3.00-4.00   sec   112 MBytes   944 Mbits/sec    0    359 KBytes
[  5]   4.00-5.00   sec   111 MBytes   933 Mbits/sec    0    402 KBytes
[  5]   5.00-6.00   sec   112 MBytes   944 Mbits/sec    0    356 KBytes
[  5]   6.00-7.00   sec   111 MBytes   933 Mbits/sec    0    339 KBytes
[  5]   7.00-8.00   sec   112 MBytes   944 Mbits/sec    0    334 KBytes
[  5]   8.00-9.00   sec   112 MBytes   944 Mbits/sec    0    339 KBytes
[  5]   9.00-10.00  sec   111 MBytes   933 Mbits/sec    0    337 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.10 GBytes   941 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  1.09 GBytes   939 Mbits/sec                  receiver

iperf testing seems to be fine though...

  • Community Expert

Nothing in the logs, could be a device problem, try using a different device as a pool, HDD will do, should still be much faster than that, or break the pool and create new ones using a singe device and retest, if it's a device problem unlikely all 3 are bad.

  • Author

I did a basic pv copy test using ssh from the array to the pool and it was well above 300mb/s in both directions. I will try an SCP copy so we can know if it's an SMB issue.

  • Author

So SCP seems pretty slow too, on both the pool and the array. Iperf is fine and local copy within the NAS is fast, pretty confused at this point.

I also used dd to write to the pool and I'm getting:
 

 dd if=/dev/zero of=/mnt/data/zfstest/test.img bs=10G count=10 oflag=dsync
dd: warning: partial read (2147479552 bytes); suggest iflag=fullblock
0+10 records in
0+10 records out
21474795520 bytes (21 GB, 20 GiB) copied, 18.3623 s, 1.2 GB/s

 

Downloading a file from the internet also gives above 80mb/s (using wget, I have gigabit)

Edited by juledev

  • Author

Ok turns out its an issue of my windows device (surprise), my other windows machine can copy to both array and pool at 100mb/s... 

 

Rebooting solved the issue, thanks for everyones patience...

Edited by juledev

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.