Regarding Memory Allocation

Ajinkya Nahar ajinkya at truesparrow.com
Thu Aug 30 05:39:41 UTC 2007


Hi all,

 

What is the default memory allocation technique in memcached?


Is it using the in built slab allocator or using malloc/free?


As per the FAQ (
<http://www.socialtext.net/memcached/index.cgi?faq#how_does_memcached_s_memo
ry_allocation_work_why_not_use_malloc_free_why_the_hell_does_it_use_slabs/>
http://www.socialtext.net/memcached/index.cgi?faq#how_does_memcached_s_memor
y_allocation_work_why_not_use_malloc_free_why_the_hell_does_it_use_slabs/)
it is a compile time option.


But no details are given about how do we configure or set this option?


Please let me know your comments/suggestions on this.


Thanks in advance.


Regards,


Ajinkya


 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070830/6fc3157c/attachment.html


More information about the memcached mailing list