<div dir="ltr">We haven't measured the effect in Production yet, but in the lab, it made a big difference. <div><br></div><div>The main problem that tcmalloc fixed for us was the threads locking on malloc and calloc and killing the CPU. I strongly recommend tcmalloc. In low traffic, it won't make a big difference, but in high traffic, you definitely need tcmalloc.</div><div><br></div><div>I will provide an update when I have better measurement from our production servers.</div><div><br></div><div>Regards,</div><div>Ali Pey</div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 25, 2015 at 11:25 AM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">We make fairly heavy use of memory pools, which probably reduce malloc. I suspect that using them is of little benefit but would be interested to hear to the contrary.<span class=""><div><br><div><blockquote type="cite"><div>On Feb 24, 2015, at 2:15 PM, Tamas Jalsovszky <<a href="mailto:jalsot@gmail.com" target="_blank">jalsot@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div>Great idea. Do you have any evidence whether other malloc libs (tcmalloc, jemalloc) gives better performance over glibc ones?<br><br></div>T.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 18, 2015 at 5:13 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The webpage for TCMalloc states:<div><br></div><div><p><span>You can use tcmalloc in applications you didn't compile yourself, by using LD_PRELOAD:</span></p><p><span> $ LD_PRELOAD="/usr/lib/libtcmalloc.so" blahblah</span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Feb 18, 2015 at 9:59 AM, Ali Pey <span dir="ltr"><<a href="mailto:alipey@gmail.com" target="_blank">alipey@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hello,<div><br></div><div>Is there a way to switch to TCMalloc without recompiling freeswitch?</div><div><br></div><div>Can someone please point me to (or provide) some instructions? (Preferably for Centos 6)</div></div></div></div></blockquote></div></div></blockquote></div></div></div></blockquote></div><br></div></span></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>