Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sawtooth write speeds?

Featured Replies

Hello, I am seeing write speed vary when moving large files. Any ideas why I am seeing this behavior? It happens both to cache and array writes.

image.png.65fe01839c36a0fc1eaae45e3d05a415.png

 

 

 

image.png.cbf5ab761b4fe83e7ce721b3d268ba24.png

Edited by w5lee
remove second image

Hi -

 

How much memory do you have in your system, and what are you writing to?

First thing I notice... is faster then normal speeds... are you using any kind of nic bonding? If so, the source your reading from, *seems* to be saturating the connection, but the other side (server side) cannot handle such input... there for the sawtooth pattern.

 

Could you comment more on the sending and receiving sides as far as physical hardware, specifications, and disk speed/network speed stats?

 

I ask though, because I've experienced this exact same thing, but my issue was due to my sending side, and network being beefier then the ending destination, creating exactly the same pattern your seeing. 

  • Author

Thanks for the responses. I need to check my forum settings as I didn't get an email my post was replied to so sorry for the delay.

 

My system has 32GB of memory. I am writing to a cache pool of 3 SSD's using btrfs.

 

The data is not using the network the copy is being done on the server. I found a nice youtube video on configuring a root share to move data from one place to another without having to move data over the network.

This works great! He has many other well done and informational videos as well. Check them out!

 

So bottom line this is moving data from one share on the cache pool to another one. I would expect a fast transfer. Looks to me it first copies to ram. Once the ram is exhausted then it flushes to disk. Maybe that is what is causing the sawtooth. I would like to figure it out and try to fix as the transfer rate goes to zero sometimes and just seems to hang there a bit. Then things take back off again. Think it is a config issue but not sure.

 

7 hours ago, w5lee said:

I am writing to a cache pool of 3 SSD's using btrfs

Are the SSD's regularly trimmed?

Is the btrfs pool healthy?

I have several times seen the exact same oscillating bandwidth when copying using remote desktop from one Windows machine to a USB drive connected on another Windows machine. It seems like Windows have some bandwidth-controlling or RAM-buffering code that can become unstable in some situations.

  • Author

I am not sure about the SSD's being trimmed

Pool appears healthy no alerts anywhere

Side note if I move a large file to the array I see the same sawtooth behavior, just at a much slower throughput.

 

PWM: The data isn't moving to the windows machine. I have verified this by using task manager and looking at my network bandwidth and can confirm the data isn't going through my windows box.

  • Author

Here is an example of copying from two array shares. I am showing the resource monitor to demonstrate data isn't going through my windows box:

image.thumb.png.0a088977608f35615196d2448e95add4.png

"Sawtooth write speeds" in unRAID may be common.

 

For this case, if the file not in same disk, even transfer not through Network, it still need time to complete the transfer between disks.

 

Could you make some calculation i.e. file size / time spend, then you will got actual transfer speed.

Edited by Benson

  • 1 year later...

I too have the sawtooth data transfer speed problem.

Happens when copying to and from the array over network connection.

 

I suppose i could try replacing the NIC in the array (unraid is really sensitive to NIC's in general)

I would love it to be something to do with a setting.

 

Literally, the transfer speed peaks at 70 megs a second then drops to zero, then picks back up to 70.... over and over again.

I'd be happy for a stable 50.

 

is there some tool to test bus speeds and transfer rates for devices in the unraid rig?

posting again with reply notification on... i'd like to track this thread

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.