memcached has a fixed per-item overhead that's more than 10 bytes so 10 byte slabs don't make a lot of sense to me.
Currently, 200 different slab sizes is a constant in the code. See the lines around here: https://github.com/memcached/memcached/blob/master/memcached.h#L71 That could be changed and you could recompile, but I don't know all the repercussions it might cause. This might be interesting to you: http://dom.as/2008/12/25/memcached-for-small-objects/ ~Ryan On Wed, Apr 2, 2014 at 6:32 AM, Slawomir Pryczek <[email protected]>wrote: > Hi guys, i noticed there's some limit in slab classes number. > > http://screencast.com/t/RqUovWXVLS > Is it possible to have eg. 2000 slab classes? > > Alternatively, can i just set limit of all these individually, by typing > eg. 200 tab separated numbers > > What i want to achieve is to have better distribuition of slabs, optimized > for storing very small values > 1. 10bytes > 2. 11bytes > [..] > 100. 10kb > 101. 15kb > [..] > 189. 100kb > 190. 150kb > etc. > > It seems that it isn't possible with current formula and -f attribute. > > Thanks, > Slawomir. > > -- > > --- > You received this message because you are subscribed to the Google Groups > "memcached" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
