[Freeswitch-users] FreeSWITCH Question

Ken Rice 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!
Ken


On 8/21/12 4:35 PM, "Jason Caulfield" <jason.caulfield at intermetro.net>
wrote:

> 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
> context.
>  
> 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
> thread.
>  
> Thanks for the help,
> Jason
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120821/3c25cc10/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list