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.

Docker writing to /mnt/user/appdata is much slower than /mnt/cache/appdata

Featured Replies

Hi! The title pretty much sums it up. Its hard to see the differences in most containers, but when running the nextcloud docker container (which accesses a lot of files on the server in order to server the webpage) the difference is night and day in terms of page load speed when using the /mnt/user path (1-2 seconds load times) vs the direct /mnt/cache path (near instantaneous loads). I noticed when using the /mnt/user/appdata path that the shfs process has spikes in the CPU usage. I am running an i7 3770  so I do not think there should be any resource bottlenecks. I would like to know if this is expected behavior and if using /mnt/user is preffered over the /mnt/cache, if not is there any settings I need to change (I see that enabling Direct IO is something that can be done, but I have heard that some docker containers do not respond well to this)? Your help would be much appreciated.

image.png.9d49ce4f0fdc3894a1363c589fc8b3ec.png

 

Here is another post which seems to have similar issues.

 

Edited by keshavdaboss

/mnt/user/... does impose some overhead that isn't present when using /mnt/cache/...

 

If everything is all set up correctly (the appdata share is cache only, etc), then there's absolutely no problems with using /mnt/cache/appdata...

  • 1 year later...
On 9/1/2020 at 4:04 PM, Squid said:

(the appdata share is cache only, etc)

What means etc?

 

Just stumbled upon this I edit my docker containers as well. This could be metioned (if not automated??) anywhere, if the appdata is set to be on Cache.

  • Community Expert

Are you asking what is meant by this?

On 9/1/2020 at 10:04 AM, Squid said:

the appdata share is cache only

 

Or do you have some other question in mind?

Oh, sorry, the quoting went wrong. I meant to quote the "etc" word only to ask what exactly means "etc" in the meaning of: What else should one pay caution to?

21 minutes ago, KluthR said:

etc

as in its a cache-only share and all the files exist on the cache drive and not having some of them exist on the array

  • Community Expert

You can set this up to be default appdata path in Settings - Docker.

4 minutes ago, trurl said:

You can set this up to be default appdata path in Settings - Docker.

Just did that :)

 

so, no problem here. Thanks!

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.