How to optimize cache? Topic is solved

FAQ, getting help, user experience about PrimoCache
Post Reply
romelsalwi
Level 1
Level 1
Posts: 1
Joined: Tue Jul 14, 2020 1:54 pm

How to optimize cache?

Post by romelsalwi »

I have been wondering if there is anyway to check what files are being cached by the program.

There are programs which I use often, and few are just there for utilities. or being used on a weekly bases. Is there any way to remove the caches which are not being used?

Does PrimoCache optimizes it's cache? By seeing which files have been used not so frequently than other files.

One more question: When you reset the content, does it loses all the predictions it made about a program?
User avatar
Jaga
Contributor
Contributor
Posts: 692
Joined: Sat Jan 25, 2014 1:11 am

Re: How to optimize cache?

Post by Jaga »

Primocache does it's caching at the block level (blocks are 1 or more filesystem clusters), not at the file level. It would be impossible right now to browse the cache content to see what it is holding since all you'd see is an index of blocks, each of which refers to a start cluster on a volume.

Primocache does a very effective job at keeping the most referenced data in the cache, so you don't need to worry about that very often.

It doesn't make predictions as such - it simply records access to a certain block of data, and those most often accessed are given greater weight. The blocks with the most weight stay in the cache since they are the most accessed. When you reset the cache, all that accessed data is discarded, and it has to start over again, which results in very poor hit rates and a complete rebuilding of cache contents.
Post Reply