cache replacement policy

Suggestions around PrimoCache
Post Reply
BeaRi
Level 1
Level 1
Posts: 1
Joined: Sun May 30, 2021 10:54 am

cache replacement policy

Post by BeaRi »

If L2-Cache (SSD) is full, PrimoCache seems to replace the first stored blocks with new ones, likely FIFO.

Was it able to add something like a timestamp, refreshed every time a block loads from L2 (mark them as new), so that the 'oldest' used blocks will be replaced?

(sorry for my english)
User avatar
Jaga
Contributor
Contributor
Posts: 692
Joined: Sat Jan 25, 2014 1:11 am

Re: cache replacement policy

Post by Jaga »

The way I understand the cache to work, is on a Most Used vs Least Used algorithm. i.e. the Least Used blocks in the cache (those that are accessed the least often) are the first to go, while those with the Most Used number of accesses tend to stay in the cache.
Post Reply