keshavdaboss Posted September 1, 2020 Share Posted September 1, 2020 (edited) 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. Here is another post which seems to have similar issues. Edited September 1, 2020 by keshavdaboss Quote Link to comment
Squid Posted September 1, 2020 Share Posted September 1, 2020 /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... Quote Link to comment
KluthR Posted June 16, 2022 Share Posted June 16, 2022 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. Quote Link to comment
trurl Posted June 16, 2022 Share Posted June 16, 2022 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? Quote Link to comment
KluthR Posted June 16, 2022 Share Posted June 16, 2022 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? Quote Link to comment
Squid Posted June 16, 2022 Share Posted June 16, 2022 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 Quote Link to comment
trurl Posted June 16, 2022 Share Posted June 16, 2022 You can set this up to be default appdata path in Settings - Docker. Quote Link to comment
KluthR Posted June 16, 2022 Share Posted June 16, 2022 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! Quote Link to comment
Recommended Posts
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.