memcached Digest, Vol 35, Issue 29

Steve Grimm sgrimm at
Thu Jun 28 22:16:07 UTC 2007

On 6/28/07 1:39 AM, "mimmo pasticcio" <mimmopasticcio at> wrote:
>>> chunk size(0) = whatever you specify with -s, plus space for object header
>>> chunk size(n) = chunk size(n-1) * multiplier specified with -f
> I understand your formula and now I have another question:
> 1) how many chunsize(i) memcached creates? Namely in your formula how
> many is n_max?

n_max is the smaller of 254 and whatever value would cause chunk_size(n+1)
to exceed 1MB. There is an additional 1MB chunk size that is always

By default, there are 40 slab classes.


More information about the memcached mailing list