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.

Slow writes to cache disk

Featured Replies

Network is all 1 Gbit wired, everything goes through a single router (Archer AX50). Router is connected to my fiberbox, also 1Gbit internet. 

 

Speedtest both on Unraid-box and on computer gives around 1 Gbit. Copying a file from unraid to PC gives good speeds ( https://i.imgur.com/AoatqRH.png )

 

Copying a file from PC  to Unraid via 1 Gbit cable network gives me around 12-18 MB/s. 

 

As you can see from this picture ( https://i.imgur.com/SMBBoUv.png ) while copying i cant see any writes/reads on the cache-drive while copying, although sometimes I see a spike of like 300 MB/s writing for a few seconds. 

 

Settings for the share ( https://i.imgur.com/5UWp13g.png )

 

This ( https://i.imgur.com/LAMBb4O.png ) shows that the file is actually written to the cache-drive.
 
It used to work fine until sometime recently, nothing big has changed. I trid copying to unraid through 3 computers, all with the same problem, also through wireless. 

 

Tried upgrading from 6.10.3 to 6.10.5, rolling back. Reboots in between. Took array offline and started it. 

 

Any ideas? 

 

Diagnostic file available as attachment

unraid-diagnostics-20221226-1039.zip

Edited by Zetard

10 hours ago, Zetard said:

although sometimes I see a spike of like 300 MB/s writing for a few seconds. 

Usually it means bottleneck not on cache-drive.

 

10 hours ago, Zetard said:

all with the same problem, also through wireless. 

Confirm actual wifi throughput and test in wire path.

What speeds do you get when you write directly to the array?

  • Community Expert

You should set Minimum Free for the share so it can overflow to the array if necessary.

 

Since it isn't configured to overflow, the other question would be whether or not the files you are writing are already on the array. When replacing a file, it will go directly to the disk the file is already on.

  • Author

First of all thanks for your replies. 

 

8 hours ago, SinisterLight said:

What speeds do you get when you write directly to the array?

 

Im getting the same speed both when using "Use cache pool" with "Yes", "Only" and "No"

 

Also noticed i am having the same speed/troubles with my torrent-client running i Docker... It maxes out at the same speed.

 

This thing makes zero sense to me, I can see the files after copy being on the cache-drive, and the occational spikes in write-speed on the NVME-drive seems to indicate they are being cached somewhere else since the speed on copying to array and cache is the same. 

 

Does that mean that Unraid is actually using the array as cache before writing to the cache-pool and then mover moves it to the array? 

 

7 hours ago, trurl said:

You should set Minimum Free for the share so it can overflow to the array if necessary.

 

Since it isn't configured to overflow, the other question would be whether or not the files you are writing are already on the array. When replacing a file, it will go directly to the disk the file is already on.

 

Good idea about the files already being on the array but does not seem to be the case. I tried copying files that i 100% know are not on the array already, not just by using a uniqe name but i took some files from steam/commonfiles... 

 

 

Edited by Zetard
nut = not

  • Community Expert

Reconstruct write can't have any effect on cache writes since cache isn't part of the parity array.

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

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.