<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Aug 29, 2007, at 22:39, Ajinkya Nahar wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><P class="MsoNormal"><FONT size="2" color="navy" face="Verdana"><SPAN style="font-size: 10.0pt;font-family:Verdana;color:navy; color: rgb(0, 0, 128); font-size: 13.3333px; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Verdana; font-size: 13.3333px; ">What is the default memory allocation technique in memcached?</SPAN><O:P style="color: rgb(0, 0, 128); font-family: Verdana; font-size: 13.3333px; "></O:P></SPAN></FONT></P><H3 style="font-family: Times New Roman; font-size: 18px; font-weight: bold; "><B style="font-family: Times New Roman; font-size: 18px; font-weight: bold; "><FONT size="2" color="navy" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana;color:navy;font-weight:normal; color: rgb(0, 0, 128); font-size: 13.3333px; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Verdana; font-size: 13.3333px; ">Is it using the in built slab allocator or using </SPAN></SPAN></FONT></B><FONT size="2" color="navy" face="Verdana"><SPAN style="font-size:10.0pt;font-family:Verdana;color:navy;font-weight:normal; color: rgb(0, 0, 128); font-size: 13.3333px; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Verdana; font-size: 13.3333px; ">malloc/free?</SPAN><O:P style="color: rgb(0, 0, 128); font-family: Verdana; font-size: 13.3333px; "></O:P></SPAN></FONT></H3><H3 style="font-family: Times New Roman; font-size: 18px; font-weight: bold; "><B style="font-family: Times New Roman; font-size: 18px; font-weight: bold; "><FONT size="2" color="navy" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana;color:navy;font-weight:normal; color: rgb(0, 0, 128); font-size: 13.3333px; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Verdana; font-size: 13.3333px; ">As per the FAQ (</SPAN><A href="http://www.socialtext.net/memcached/index.cgi?faq#how_does_memcached_s_memory_allocation_work_why_not_use_malloc_free_why_the_hell_does_it_use_slabs/"><FONT color="navy"><SPAN style="color:navy; color: rgb(0, 0, 128); font-family: Verdana; font-size: 13.3333px; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Verdana; font-size: 13.3333px; -khtml-text-decorations-in-effect: underline; ">http://www.socialtext.net/memcached/index.cgi?faq#how_does_memcached_s_memory_allocation_work_why_not_use_malloc_free_why_the_hell_does_it_use_slabs/</SPAN></SPAN></FONT></A><SPAN class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Verdana; font-size: 13.3333px; ">) it is a compile time option.</SPAN><O:P style="color: rgb(0, 0, 128); font-family: Verdana; font-size: 13.3333px; "></O:P></SPAN></FONT></B></H3><H3 style="font-family: Times New Roman; font-size: 18px; font-weight: bold; "><B style="font-family: Times New Roman; font-size: 18px; font-weight: bold; "><FONT size="2" color="navy" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana;color:navy;font-weight:normal; color: rgb(0, 0, 128); font-size: 13.3333px; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Verdana; font-size: 13.3333px; ">But no details are given about how do we configure or set this option?</SPAN></SPAN></FONT></B></H3></SPAN></BLOCKQUOTE></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>You should really read this FAQ item to which you linked -- or at least give a better idea of why you aren't interested in in following its advice.</DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>-- </DIV><DIV>Dustin Sallings</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>