[6.10.2] What is the difference between Use Cache pool types: Yes vs Prefer?


Recommended Posts

Hello,

 

Under USE CACHE POOLS, it gives us these options:

  • Yes
    • indicates that all new files and subdirectories should be written to the Cache disk/pool, provided enough free space exists on the Cache disk/pool.
    • If there is insufficient space on the Cache disk/pool, then new files and directories are created on the array.
    • When the mover is invoked, files and subdirectories are transferred off the Cache disk/pool and onto the array.
  • Prefer
    • indicates that all new files and subdirectories should be written to the Cache disk/pool, provided enough free space exists on the Cache disk/pool.
    • If there is insufficient space on the Cache disk/pool, then new files and directories are created on the array.
    • When the mover is invoked, files and subdirectories are transferred off the array and onto the Cache disk/pool.

 

How exactly does PREFER work? 

 

It seems if the Cache disk/pool is full and new files and directories are created on the array, then when would the mover ever transfer files and subdirectories off the array and onto the Cache disk/pool, since it's still full?

 

Which method would one use if one wanted the most recent files and subdirectories to be on the Cache disk/pool until the mover is invoked?  And why?

 

Thank you!

  • Like 1
Link to comment

cache-yes is for files you want to be moved to the array where they will be protected by parity.

 

cache-prefer is for files you want to remain on cache for performance. Typically appdata, domains, system shares will be there so dockers/VMs will perform better and not keep array disks spunup since these files are always open.

 

Either will overflow (depending on Minimum Free) to the array when cache is full. When space becomes available, mover will move cache-prefer shares to cache if it can, but nothing can move open files, so often Docker and/or VM Manager will have to be disabled to get those shares moved to cache.

 

If you want more detailed and specific advice based on your current configuration, attach Diagnostics to your NEXT post in this thread.

  • Like 1
  • Upvote 1
Link to comment
  • 1 year later...

Hello hello.
I'm having issues with cache getting filled until Docker can't start anymore.

I enabled the secondary storage to fill out the cache.
However, I still want my docker and often read-files to be on the cache.
I also want the cache to offload to array when it's getting full.
However I noticed that the "use cache pool" option is now gone on the GUI.
What should I do to emulate that behaviour ?


This is what I used to have :
image.thumb.png.182c801ed1f6491e194fdb5f2ab656ae.png

 

And this is what I have today ; no more "prefer" option.

1760892262_Screenshot2023-10-13at08_49_56.thumb.jpg.7c66ca326cfe7acfb8f9852138e5bd82.jpg

 

Thanks !

  • Like 1
Link to comment
13 minutes ago, dboris said:

Hello hello.
I'm having issues with cache getting filled until Docker can't start anymore.

I enabled the secondary storage to fill out the cache.
However, I still want my docker and often read-files to be on the cache.
I also want the cache to offload to array when it's getting full.
However I noticed that the "use cache pool" option is now gone on the GUI.
What should I do to emulate that behaviour ?


This is what I used to have :
image.thumb.png.182c801ed1f6491e194fdb5f2ab656ae.png

 

And this is what I have today ; no more "prefer" option.

1760892262_Screenshot2023-10-13at08_49_56.thumb.jpg.7c66ca326cfe7acfb8f9852138e5bd82.jpg

 

Thanks !

Change mover action to be Array->ssd

  • Thanks 2
Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.