Re: Idea for reclaimation algo

2014-04-13 Thread dormando
> On Sun, 13 Apr 2014, Slawomir Pryczek wrote: > > > So high evictions when cleaning algo isn't enabled could be caused by slab > > imbalance due to high-memory slabs eating most of ram... and i just > > incorrectly assumed low TTL items are expired before high TTL items, > > because in such case

Re: Idea for reclaimation algo

2014-04-13 Thread dormando
On Sun, 13 Apr 2014, Slawomir Pryczek wrote: > So high evictions when cleaning algo isn't enabled could be caused by slab > imbalance due to high-memory slabs eating most of ram... and i just > incorrectly assumed low TTL items are expired before high TTL items, because > in such cases the cache

Re: Idea for reclaimation algo

2014-04-13 Thread dormando
> Hey Dormando... > > Some quick question first... i have checked some Intel papers on their > memcached fork and for 1.6 it seems that there's some rather big lock > contention... have you thought about just "gluing" individual items to a > thread, using maybe item hash or some configurable meth