Wich link between L1 and L2 caches?

FAQ, getting help, user experience about PrimoCache
Post Reply
idefix44
Level 8
Level 8
Posts: 137
Joined: Sat Oct 26, 2013 2:13 pm

Wich link between L1 and L2 caches?

Post by idefix44 »

Since 0.9.9, when a needed data is in the L2 cache does it go to the RAM through L1 or does it let L1 unchanged?
CrypEd
Level 6
Level 6
Posts: 71
Joined: Mon Nov 11, 2013 11:04 am

Re: Wich link between L1 and L2 caches?

Post by CrypEd »

does it go to the RAM through L1
It depends on how frequently access that recently opened data compared to the actual content of L1.

L1 IS RAM! It should get read from L2 into RAM... then if L1 has space left or if L1 is full and the data is accessed high frequently, the data gonna be kept in L1 via copy/remap (less frequently acces data gonna be dropped), no matter you close the file/data.

This is maintained by the algorythms. In older versions we were able to choose between LRU and LFU-R, but ROMEX seem to have merged both into "one magical" algorythm.

I don't know how that one works exactly to consider recently and frequently used data in fair meaning for the user.
Post Reply