Uploadspeed for small files is very slow !


Recommended Posts

Hello,

I have upgraded my unraid server with a better network connection. Now I have 90 MB/s if I write something to the array... but only if I upload one large file! If I would upload a lot of little files like 100 4KB files the server goes down to 200 KB/s. That's not normal !!!

what can I do?

 

Here are some pieces of information...

Please help

Thanks

grafik.thumb.png.ed1c5756a7f6d392b8e47d8e498b2340.png

 grafik.thumb.png.dddb2654836b42840a1dbb24e86c08c5.png

grafik.thumb.png.ca1fcee90c6a6bf0b60061df484b7a59.png

tower-diagnostics-20190606-1933.zip

Edited by Pixxelcrasher
Link to comment

Unraid is even worse then the standard effect on any filesystem as in addition to normal filesystem overhead it has to do parity calculations/writes for each small file.
I gave up struggling with trying regular incremental backups of huge audio sample libraries (milions) because it would take ages. Different bakcup solution react differently but all suffer. Regardless if you have fast ssd cache aparently.
I do them now only once a month to unraid where the bakcup tool has a local database so does not have to recheck every file at every backup run. But still insanely slow always. And daily outside unraid. Normal large files , which is most of my data are rocketing over my 10g net at over 500-700MB/s without issues
Its the only downside of an otherwise stellar Unraid experience.

  • Like 1
Link to comment

In your 3rd screenshot, try changing Tuneable (md_write_method) to reconstruct write (used to be called turbo write). 

 

Writing a lot of small files will always be slower but the impact of parity will be more severe because it requires repeated seeking and switching between reading and writing. Reconstruct write helps at the cost of needing the rest of your array spun up. As long as the rest of your array is decent with random read, it generally will help.

 

Also, remember your network adds latency and latency is a lot more important with small files. Having to wait 0.1s/file due to network latency is nothing for a 1GB file but for 1000 1MB files, it's 100s!

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