> On Jul 1, 6:14 pm, Bennett Haselton <[email protected]> wrote:
> > Is there a statistic that shows the average age of cache items that
> > are being deleted, once the cache is full and the LRU algorithm is
> > forcing some items to be deleted?
> >
> > I looked in the output of "stats" but didn't see anything like that.
>
>   You can't get the average, but you can get the most recent, which is
> generally close enough.  See "age" in stats items.  Note that it's per-
> slab.

Actually, it's the 'evicted_time' stat, if the poster is asking about the
average age of items being evicted early? Otherwise the LRU is deleting
expired items. The average age matters a bit less there.

-Dormando

Reply via email to