<div dir="ltr">Hello!<div><br></div><div>Is it possible to get a metric similar to "LRU reference age" (or "LRU expiration") when using heap LRU/LFUDA and aufs/rock?</div><div><br></div><div>What we need to do is to figure out the age of the oldest least accessed object in the cache. Or the age of the last replaced object.</div><div><br></div><div>If my description is somehow unclear – we need to answer the question "How many days ago the oldest object which is not being accessed anymore has been put in the cache."</div><div><br></div><div>With aufs/lru we had "<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">LRU reference age" or something like this in mgr:info report, but with currently used heap lru/lfuda and rock/aufs I don't see it there. SNMP metric also shows:</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">> SQUID-MIB::cacheCurrentLRUExpiration.0 = Timeticks: (0) 0:00:00.00<br></span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">If you're wondering why would we need to know that – it's related to GDPR and removing data of closed customer's accounts. We need to make sure that we don't have any "not being accessed anymore" objects older than "data retention period" days.</span></div><div><div><br></div><div><br></div><div>Thanks!</div><div><br></div>-- <br><div class="gmail_signature">With best regards, Ivan Larionov.</div>
</div></div>