Page 1 of 1

Pre-load on cache startup

Posted: Thu Jul 02, 2015 2:02 pm
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

Re: Pre-load on cache startup

Posted: Fri Jul 10, 2015 1:24 am
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.

Re: Pre-load on cache startup

Posted: Sat Jul 18, 2015 5:02 am
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.

Re: Pre-load on cache startup

Posted: Sat Jul 18, 2015 9:43 am
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.