GNU malloc vs. slab alloc

Torsten Foertsch torsten.foertsch at
Fri Apr 28 10:05:47 UTC 2006

On Thursday 27 April 2006 21:52, you wrote:
> Not having looked at your patch, I have a simple question: Does you
> patch support storing objects of size > 1Mb? I ask b/c I submited a
> patch that uses the slab allocator for objects < 1Mb, but for larger
> sizes it uses malloc().

I saw your patch the other day and plan to incorporate it. But at the moment 
this is rather a nice to have for me. I think I would switch to mmap() + 
madvise() to let big items go to swap space.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the memcached mailing list