[Freeswitch-users] FreeSWITCH Question
krice at freeswitch.org
Wed Aug 22 02:19:20 MSD 2012
Simple Answer No, FreeSWITCH is a B2BUA, the number of threads is 1 per call
leg, in bypass media, the thread is blocked for the most part and not
consuming anything until the hangup
At high call rates you¹ll notice that most of the CPU is used by Sofia
threads... Best way to reduce context switching is more cores or if you
have hyperthreading disabled, enabled it, you¹ll notice a nice boost...
Tell Chris I said HI!
On 8/21/12 4:35 PM, "Jason Caulfield" <jason.caulfield at intermetro.net>
> I am using FreeSWITCH in media bypass mode to decrease memory and cpu usage.
> I notice that mod_sofia creates threads for each call leg to maintain session
> Do you know of a way to configure FreeSWITCH to use a table to maintain the
> context when in media bypass mode to reduce the number of threads?
> I am hoping that this will speed things up by reducing thread context
> switching and reduce memory usage by decreasing memory allocation for each
> Thanks for the help,
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users