[Feature Request] A way to "Stop" and "Restart" a L1 cache

Suggestions around PrimoCache
Post Reply
daemonjax
Level 2
Level 2
Posts: 5
Joined: Sun Aug 04, 2019 8:20 pm

[Feature Request] A way to "Stop" and "Restart" a L1 cache

Post by daemonjax »

Currently:
In order to actually free the memory that's being used by an L1 cache, you have to actually delete the the cache volumes beneath it.
Then, to restart it, you have recreate the cache volumes.

The above is clunky... but workable, as long as you don't have it prefetched.


Problem: If you do the above with a L1 cache with prefetch enabled, you'll lose the prefetch data -- which is terrible.


Suggestion:

Add a new item to the right-click context menu for both the cache task and the volume that will Stop and Re-start a stopped cache task/volume. This would be different from the pause / un-pause context items because it would actually free the used memory upon Stopping, and then re-load the existing prefetch data from the .pf1 file upon re-starting.
User avatar
Support
Support Team
Support Team
Posts: 3623
Joined: Sun Dec 21, 2008 2:42 am

Re: [Feature Request] A way to "Stop" and "Restart" a L1 cache

Post by Support »

Thank you for the suggestion!
To support the feature of loadable caching profiles, I think this function you suggested is also required.
Post Reply