Jump to content

Writes capped to 60mb/s even with reconstruction writes enabled


Go to solution Solved by JorgeB,

Recommended Posts

Hi all, 

 

I've spent the weekend trying to troubleshoot this, sorry if I'm missing something obvious. My array has parity enabled, and writing to the array is capped to around 60mb/s. I have gigabit ethernet, the connection between PC and unraid is confirmed to work (and I can write to RAM at full 115mb/s until RAM is filled and it drops to 60mb/s). I am not using a cache pool.

 

  • If I disable parity, the array writes at full 115mb/s as well 
  • I have reconstruction writes enabled for the share, and tried user share vs disk share as well
  • I have tried high water, fill up and most free with the same result
  • I have tried the TipsAndTweaks dirty ratio % set to 1% with the same result
  • I have confirmed that write caching is enabled on all drives (they are SATA, but I still double checked)
  • All disks are spinning. Parity sync can run at full disk speed (185+mb/s for all disks read, and 185+mb/s write on the parity disk)
  • All disks are identical (4TB Seagate Ironwolf). I have 5 data disks and 1 parity disk in the array
  • I have tried different test file sizes which are all larger than system RAM
  • I have tried different computers on the network

 

Am I not supposed to get almost full write speed of the drives (or at least 1GB ethernet saturation in my case) with turbo writes enabled?

 

Again, sorry if I don't understand this correctly. I have searched the forum and googled everything I could think of in the last two days, and am at the end of my knowledge and skill level here.

 

Thank you kindly in advance for your help and guidance!

 

Robin

Edited by robinkoehler
Link to comment

You will never get anywhere near the drives speeds when writing to the parity protected array.   You will find this section of the online documentation accessible via the ‘Manual’ link at the bottom of the GUI or the DOCS link at the top of each forum page might give you an insight into why.   When the array does not have parity then the network speed (as you found) is more likely to be the limiting factor

 

I must admit though that I would expect something nearer 80MB/s unless something else (e.g. disk controller) is limiting throughput.   A general rule is that I would expect the write speed in Turbo mode to be similar to what you get from a parity check (as long as there is no other I/O going on at the same time).

Link to comment
3 minutes ago, itimpi said:

I must admit though that I would expect something nearer 80MB/s unless something else (e.g. disk controller) is limiting throughput.   A general rule is that I would expect the write speed in Turbo mode to be similar to what you get from a parity check (as long as there is no other I/O going on at the same time).

 

Thank you for the reply. I am running parity sync now at 196mb/s

Link to comment
4 minutes ago, Vr2Io said:

Pls check does all disk write cache already enable in SMART.

Yes, if I run sdparm -g WCE /dev/sdd on each drive, they all return "1", indicating it's enabled on every drive

 

6 minutes ago, Vr2Io said:

Does CPU reach 100% at any core ?

Never more than 47% on any core during copy operation (Ryzen 2700x).

 

6 minutes ago, Vr2Io said:

Then pls attach diagnostic file.

 

I have attached it to this post

diagnostics-20221120-2151.zip

Link to comment
Just now, robinkoehler said:

 

Thank you for the reply. I am running parity sync now at 196mb/s

Then I am surprised that the writing in Turbo mode was so slow :(  Are you sure that nothing else was trying to access the array as that would slow down the write speed.   
 

If you attach your system’s diagnostics zip file to your next post in this thread taken while you are getting the 60MB/s write speed it might allow somebody to give some useful feedback.

Link to comment
1 minute ago, itimpi said:

Then I am surprised that the writing in Turbo mode was so slow :(  Are you sure that nothing else was trying to access the array as that would slow down the write speed.   
 

If you attach your system’s diagnostics zip file to your next post in this thread taken while you are getting the 60MB/s write speed it might allow somebody to give some useful feedback.

 

Thank you again! I have created a diagnostics file just now during a file copy operation to the array. Parity sync was disabled during the test. Please see attached:

 

diagnostics-20221120-2156.zip

Link to comment
37 minutes ago, robinkoehler said:

All disks are identical (4TB Seagate Ironwolf). I have 5 data disks and 1 parity disk in the array

Also some comment on this, 4TB disk usually not high performance if compare to high capacity disk. If almost full and writing at inner track then speed will drop a lot. How about the usage of writing disk ? Would you posible found a less usage disk and perform same test and verify any difference. Pls use disk share for test.

 

I am at work now, once available will try to check diagnostic.

Edited by Vr2Io
  • Like 1
Link to comment
Just now, Vr2Io said:

Also some comment on this, 4TB disk usually not high performance if compare to high capacity disk. If almost full and writing at inner track then speed will drop a lot. How about the usage of writing disk ? Would you posible found a less usage disk and perform same test and verify any difference. Pls use disk share for test.

 

Thank you. The disks are still completely empty and I can write on the array in full speed of my network connection if parity is disabled. Parity sync is running at over 185 mb/s read for the data drives, and write for the parity drive.

Link to comment

Hi Jorge, you have rescued me yet again! After the parity was completely synched, the array now happily writes at up to 150mb/s, which is higher than my network bandwidth and allows me to transfer files at the maximum speed my setup allows. 

 

Your help and knowledge is highly appreciated. 

 

Take care and best wishes, 

 

Robin

  • Like 1
Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...