Slow turbo write speeds


Recommended Posts

Finally moved data from my old nas over to unraid. While balancing out data across drives, I noticed the turbo write speeds are much slower than when I was testing on different drives. I wonder if there is anything I can check to see whats wrong.

 

While testing with 3 laptop hard drives (1tb parity + 2x 500gb), I was getting around sustained 90-100 MB/s turbo write speeds while moving data around between drives with unbalance plugin. All the other system hardware was the same. This testing was with larger data files. It was writing between hard drives and not to/from cache disk.

 

On my main setup (3tb parity + 3tb + 2x 2tb drives), I see that the turbo write speed is always limited by the read speed of the drive that isn't storing the data being moved. As seen in the screenshot below, the drive holding the data is usually reading at high speeds, but the other drive reading parity bits often drops to low speeds (10-40MB/s). Sometimes the drive not storing the data can read at much higher speeds during a turbo write xfer, but it is only for short durations. This is with large data file transfers. I have reconstruct write on, NCQ on, and turned off dockers/vms and other things that might affect it like folder caching, but that didn't fix the issue. Typically for large folder transfers, the avg transfer speed is ~40MB/s with turbo write. These drives are faster than the laptop hard drives that I tested on. When doing a parity check, they all read at 100+ MB/s consistently.

 

slowturbowrite2.thumb.png.6c2d984c67401fc39ff732808c7614e5.png

 

 

 

Edited by kakashisensei
Link to comment

I wasn't testing write speeds when the parity check was running. That was just to show there should be no reading speed problems on the array.

 

I did some more testing. When I write from cache to array, then the disks doing the reading get consistently high speeds. Its only when I move data from one disk to another disk in the array that there is much slower turbo write speeds.

Edited by kakashisensei
Link to comment

Note.

 

35 minutes ago, kakashisensei said:

When I write from cache to array, then the disks doing the reading get consistently high speeds.

That means array ( speed ) was normal.

 

35 minutes ago, kakashisensei said:

I move data from one disk to another disk in the array that there is much slower turbo write speeds.

I haven't deeply study above case, but some situation turbo-write slow was normal, that's why have 2 mode and @Squid make a plugin.

 

Edited by Benson
Link to comment
49 minutes ago, kakashisensei said:

When I write from cache to array, then the disks doing the reading get consistently high speeds. Its only when I move data from one disk to another disk in the array that there is much slower turbo write speeds.

 

If you copy or move files from one disk to another with turbo write enabled twice as many blocks have to be read from the source disk as the other disks: first the source file has to be read and then, after a seek operation, the same disk is read once again for the parity calculation. The destination disk is written once and so is parity. All the remaining disks are read once. So the source disk is working harder than the others.

 

  • Like 1
Link to comment
7 hours ago, John_M said:

 

If you copy or move files from one disk to another with turbo write enabled twice as many blocks have to be read from the source disk as the other disks: first the source file has to be read and then, after a seek operation, the same disk is read once again for the parity calculation. The destination disk is written once and so is parity. All the remaining disks are read once. So the source disk is working harder than the others.

 

Thanks for this - I didn't realise.  I'll now turn off TW if I'm doing big Disk-2-Disk transfers.

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.