What happens with L2 in this situation

FAQ, getting help, user experience about PrimoCache
Post Reply
RobF99
Level 8
Level 8
Posts: 130
Joined: Fri Sep 19, 2014 5:14 am

What happens with L2 in this situation

Post by RobF99 »

If I have L1 100% Read only but L2 R/W I notice that it will write to L1 if the data modified is in L1 cache and that is fine and great. My question is that if that data is also In L2, does it update L2 also or does that get evicted from L2 and only returns to L2 if that data is read again?
User avatar
Support
Support Team
Support Team
Posts: 3623
Joined: Sun Dec 21, 2008 2:42 am

Re: What happens with L2 in this situation

Post by Support »

Good question! If L2 is R/W, it will also update L2. If L2 is Read only, L2 will get evicted.
RobF99
Level 8
Level 8
Posts: 130
Joined: Fri Sep 19, 2014 5:14 am

Re: What happens with L2 in this situation

Post by RobF99 »

Thanks. What if free cache on written is selected? Will it mark the blocks in both L1 and L2 as standby or just L1?
User avatar
Support
Support Team
Support Team
Posts: 3623
Joined: Sun Dec 21, 2008 2:42 am

Re: What happens with L2 in this situation

Post by Support »

RobF99 wrote: Fri Aug 26, 2022 9:10 pm What if free cache on written is selected? Will it mark the blocks in both L1 and L2 as standby or just L1?
This option applies to both L1 and L2.
Post Reply