My write speed fluctuate up and down


Recommended Posts

Hi everyone!

 

When i write to my shares, i do not get a smooth write speed. It always fluctuate up and down from 18mb/sec to 38-39mb/sec. I'm alone on my network, using an USB3 Gigabit Ethernet adapter. Is it possible to test write speed on my shares without using my laptop so i can remove my Ethernet adapter from the equation?

 

unraid-write.PNG.cd8182819a1a57354ae018b06dffe3b2.PNG

 

Here's my server:

 

unraid-info.thumb.PNG.c20f056634ecadc67c03f44c6360fdfe.PNG

tower-diagnostics-20190805-0200.zip

Edited by skoub
added diagnostic file
Link to comment

What exactly are you copying?  Large  files (>5GB) or thousands of small files (~5KB)?  When copying small files, the file creation overhead plus the lactancy introduced by the HD's read-write heads has a significant impact on write speeds.  

 

It always best to post up any new information (like your diagnostics file) in a new post rather than adding it to an old post by editing that post.   Editing an old post will not result in the folks following your thread receiving an email about the additional new material. 

Edited by Frank1940
Link to comment

OK, 2GB are not really large files...   But let's explain a bit about how Unraid copies files.  First thing that I noticed is that you are using a 500GB HD cache drive with a spindle speed of 5900rpm. That cache drive will probably not be near as fast compared to your data drives.

 

When you start a file transfer, Unraid will use any unused RAM to buffer the data being as it is received over the network.  This means that the data transfer to the server will be limited by the speed of the network.  Once that RAM buffer fills up, the data transfer rate will drop to the speed of the data writing speed of the cache drive.  Now, I am assuming that you have set up your shares to use that cache drive...

 

One more thing.  unless you change your cache drive to a fast SSD cache drive, your transfers will never equal the network speed once the RAM buffer fills up.  Thus, you will see a drop in the transfer speeds.  And that speed will functate up-and-down with the file creation overhead. 

Link to comment

My shares doesn't use the cache drive. But to push the test further, i tried to write directly to the cache drive.

 

This test is with a new share with the option "Use cache disc" to "Only". I obtain a stable 111mb/sec.

unraid-write-cache-only.PNG.a737e8902751abfe07cb9647c37f679a.PNG

 

This test is with a new share with the option "Use cache disc" to "Yes". The transfert is not as smooth varying from 92mb to 111mb/sec

unraid-write-cache-yes.PNG.b1e38657f4e0132c3d36fea2e79eaa45.PNG

 

 

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.