March 9, 20224 yr Each time I copy a file that is 10gb or larger the copy will transfer at 300-400MB/s but will stop at the end of the copy for a long time. I check the array and I can see it doing something, So I presume its waiting for the file to be written to the drive. This share is not using the cache drive. Is this a setting that can be changed so the file transfers as it is being written to the drive? Just look to see if sound familiar to someone, Tried searching for the subject but was not quite sure what I would searching for.
March 9, 20224 yr Community Expert There is always a "kind of cache": the RAM. I guess, what you see is that RAM cache fills up quite fastly, but at the end, it needs to be written out to disk. So you have to wait until the transfer is really finished. You can control this behaviour by adjusting "vm_dirty_backround_ratio" and "vm_dirty_ratio" (for easy access install the "TipsAndTweaks" plugin. They are responsible how much RAM is used for caching and how fast UNRAID (or better here: the Linux Kernel) starts to write it out to disk. There are no real "good settings", they vastly depend on you personal style of usage. So you may experiment a bit. In your case, lowering both values will also dramatically lower the waiting period, but transfer speed will slow down too. (at the end, the times will be equal again, it is just a method to control WHERE you have to wait) If your blocking Transfers are rare, get prepared to face them and see normal operations beeing speeded up. Try (after a change of the values, I would recommend a full reboot, I don't believe they can be changed dynamically)
March 9, 20224 yr Author I see those settings, The issue isnt to big of a deal. Just a little of annoyance.
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.