-
Hi, What can I do in this case?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I’d need to see a minimal test but it’s not wrong as described since we don’t use a policy like lru. For example if the workload is a loop then MRU is the optimal policy and the first entry would not be evicted. If random then all entries are equally good/bad to evict, so likewise it might keep the oldest. A pattern of popular entries would give the policy a reason to have a preference and evict the less valuable entries. |
Beta Was this translation helpful? Give feedback.
I’d need to see a minimal test but it’s not wrong as described since we don’t use a policy like lru. For example if the workload is a loop then MRU is the optimal policy and the first entry would not be evicted. If random then all entries are equally good/bad to evict, so likewise it might keep the oldest. A pattern of popular entries would give the policy a reason to have a preference and evict the less valuable entries.