GNU malloc vs. slab alloc

Torsten Foertsch torsten.foertsch at gmx.net
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.

Torsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/memcached/attachments/20060428/612ef540/attachment.pgp


More information about the memcached mailing list