[Freeswitch-users] TCMalloc and freeswitch
Ali Pey
alipey at gmail.com
Wed Feb 25 23:49:09 MSK 2015
We haven't measured the effect in Production yet, but in the lab, it made a
big difference.
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.
I will provide an update when I have better measurement from our production
servers.
Regards,
Ali Pey
On Wed, Feb 25, 2015 at 11:25 AM, Michael Jerris <mike at jerris.com> wrote:
> 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.
>
> On Feb 24, 2015, at 2:15 PM, Tamas Jalsovszky <jalsot at gmail.com> wrote:
>
> Great idea. Do you have any evidence whether other malloc libs (tcmalloc,
> jemalloc) gives better performance over glibc ones?
>
> T.
>
> On Wed, Feb 18, 2015 at 5:13 PM, Brian West <brian at freeswitch.org> wrote:
>
>> The webpage for TCMalloc states:
>>
>> You can use tcmalloc in applications you didn't compile yourself, by
>> using LD_PRELOAD:
>>
>> $ LD_PRELOAD="/usr/lib/libtcmalloc.so" blahblah
>>
>> On Wed, Feb 18, 2015 at 9:59 AM, Ali Pey <alipey at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> Is there a way to switch to TCMalloc without recompiling freeswitch?
>>>
>>> Can someone please point me to (or provide) some instructions?
>>> (Preferably for Centos 6)
>>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150225/beb2ee90/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list