Pre-load on cache startup

Suggestions around PrimoCache
Post Reply
Mike
Level 1
Level 1
Posts: 1
Joined: Thu Jul 02, 2015 1:47 pm

Pre-load on cache startup

Post by Mike »

Hello!

It would be very nice if you could add an pre-load function to the cache that allow the user to select what files/directories (+optional subdirs) should be pre-loaded on cache start-up and optionally if they should be "locked" in the cache so the algorithms available don't deallocate the blocks/clusters. That would greatly add to the benefits of the software. I know super fetch does about that on the most accessed applications BUT the end user have very little control over it, most power users seem to rather have it disabled on SSD's anyway to increase the ssd endurance

Suggestion - Look up what blocks the files/directory (+subdirs) that the user selects reside in, cache the blocks/clusters and if the optional "lock" is set "fool" the deallocation routines by setting a date in the future for the last used or highest possible block/cluster access number of accessed if the "least used" algorithm is used.

Thanks for a good product!

Regards Mikael
User avatar
Support
Support Team
Support Team
Posts: 3628
Joined: Sun Dec 21, 2008 2:42 am

Re: Pre-load on cache startup

Post by Support »

Thanks for the suggestion!

The following may be a temporary way for this goal:
1) Enable the Prefetch function,
2) Manually read these files/folders, thus these files/folders will be cached,
3) Restart the computer,
4) Then "Lock Cache Content".

Thus each time computer restarts, PrimoCache will prefetch these files/folders.
stenrulz
Level 4
Level 4
Posts: 34
Joined: Sun Aug 04, 2013 3:48 am

Re: Pre-load on cache startup

Post by stenrulz »

Out of interest if you lock the cache at 1GB used out of 8GB cache, does this mean the rest will clear on reboot? If so great.
User avatar
Support
Support Team
Support Team
Posts: 3628
Joined: Sun Dec 21, 2008 2:42 am

Re: Pre-load on cache startup

Post by Support »

@stenrulz,
PrimoCache updates the prefetech content on shutdown. So "Lock Cache Content" does not lock the prefetch content to the cache at the time of enabling this option, but to the cache on last shutdown. If on last shutdown, L1 cache had only 1GB used, then yes, only 1GB content will be prefetched on next reboots.
Post Reply