daithi Posted July 19, 2023 Share Posted July 19, 2023 I've read there are maybe some performance benefits to running appdata from */mnt/cache/appdata* and bypassing the FUSE overhead. I didn't realise this when I set up my server and all my dockers are running from */mnt/user/appdata* with appdata set to cache:prefer. Cache drive is 90% free so I'm not worried about running out of space. I'm a little paranoid I'm going to break something. Plan: 1. Stop the Docker Service 2. Change *Default appdata storage location* to */mnt/cache/appdata*. Should I also change Docker Directory to something else? (eg. */mnt/cache/system/docker/docker*) 3. One by one go through the containers changing the appdata field to */mnt/cache/appdata/'container_name'* 4. Run Mover again (just to make sure) 5. Start the Docker Service Am I missing anything there? I also notice the System share has a libvirt file although I don't have any VMs. If I were to spin one up in the future, should I do something similar for that? 1 Quote Link to comment
Solution itimpi Posted July 19, 2023 Solution Share Posted July 19, 2023 You can make the changes without stopping anything Having said that if you are on the 6.12.x releases you can get the same performance benefit without making any changes to paths by doing the following: Make sure that Permit Exclusive shares is enabled under Settings->Global Share Settings Set the pool to be primary storage with no secondary storage (equivalent to Cache Only in earlier releases) make sure that all files for the share are on the pool. You will now be able to activate Exclusive mode in the share settings. with these changes you get the same performance whether you go direct or via the User Share path. 1 1 Quote Link to comment
daithi Posted July 20, 2023 Author Share Posted July 20, 2023 The same nvme drive also caches for my media array. Sabnazbd downloads to it before the mover puts it on a spinning disk. Would I need separate drives to use the Exclusive Share feature? 1 Quote Link to comment
itimpi Posted July 20, 2023 Share Posted July 20, 2023 5 hours ago, daithi said: Would I need separate drives to use the Exclusive Share feature? As far as I know the only requirement is that the share in question only exists on the pool. I have seen no mention of the pool not containing data from other shares. I think internally it is just Unraid automatically treating /mnt/user/share as if it were /mnt/pool/share bypassing the fuse layer. 1 Quote Link to comment
Kilrah Posted July 20, 2023 Share Posted July 20, 2023 7 hours ago, daithi said: Would I need separate drives to use the Exclusive Share feature? No it's a "by share" attribute, doesn't matter if there are others on the drive. 1 Quote Link to comment
darthkielbasa Posted November 15, 2023 Share Posted November 15, 2023 (edited) Many thanks to ya'll for this info. I've been trying to reduct Disk IO Wait. Based off of what i've read this is a logical step in that process. Edited November 15, 2023 by darthkielbasa Quote Link to comment
Rokhead Posted June 20 Share Posted June 20 On 7/19/2023 at 8:41 AM, itimpi said: You can make the changes without stopping anything Having said that if you are on the 6.12.x releases you can get the same performance benefit without making any changes to paths by doing the following: Make sure that Permit Exclusive shares is enabled under Settings->Global Share Settings Set the pool to be primary storage with no secondary storage (equivalent to Cache Only in earlier releases) make sure that all files for the share are on the pool. You will now be able to activate Exclusive mode in the share settings. with these changes you get the same performance whether you go direct or via the User Share path. Sorry to necro this thread, but I was hoping you could elaborate on your second bullet. How would having no secondary storage improve performance? My understanding is that the mover action to secondary storage would happen in off-hours (assuming it is configured to do so). As long as the activity is occurring on the cache as primary, would you not get the performance benefits whether or not you have a secondary configured? Quote Link to comment
trurl Posted June 20 Share Posted June 20 17 minutes ago, Rokhead said: How would having no secondary storage improve performance? The performance comes from Exclusive mode, which you can't set if you have secondary storage. Exclusive mode bypasses the need for the share to include other disks when accessing the share. 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.