memcached Digest, Vol 35, Issue 29

mimmo pasticcio mimmopasticcio at gmail.com
Thu Jun 28 08:39:47 UTC 2007


2007/6/27, Steve Grimm <sgrimm at facebook.com>:
> That's the "-n" option, not the "-s" option. I was correct about "-f". Sorry
> if I confused anyone.
>
> -Steve
>
>
> On 6/27/07 11:00 AM, "Steve Grimm" <sgrimm at facebook.com> wrote:
>
> > You can use the "-s" and "-f" options to change, respectively, the minimum
> > chunk size (on which the other chunk sizes are based) and the multiplier
> > that determines how many chunk sizes there are. The formula is
> >
> > chunk size(0) = whatever you specify with -s, plus space for object header
> > chunk size(n) = chunk size(n-1) * multiplier specified with -f
> >
> > where each chunk size is rounded up to sizeof(void *) (8 bytes on a 64-bit
> > system). So by playing with the -s and -f options you can fine-tune the
> > sizing.
> >
> > -Steve

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?


More information about the memcached mailing list