[Freeswitch-users] Performance hit originating calls via event socket

Muhammad Naseer Bhatti nbhatti at gmail.com
Mon Dec 24 19:22:48 MSK 2012


It's already been tuned. I think since opening and closing of sockets is an expensive operation which takes more CPU cycles, that could be one of the reason for this behavior. But I am not expert on this. Let's see what other have to say.

Thanks,
--
Muhammad Naseer Bhatti



On Dec 24, 2012, at 4:09 AM, Steven Ayre <steveayre at gmail.com> wrote:

> Have you tried checking/tweaking the sessions-per-second limit?
> 
> You can adjust it at runtime:
> http://wiki.freeswitch.org/wiki/Mod_commands#sps
> or in switch.conf.xml
> 
> 
> 
> On 23 December 2012 12:27, Muhammad Naseer Bhatti <nbhatti at gmail.com> wrote:
> 
> WIth the latest development head running on a Debian box, I am trying to originate calls using event socket. Not sure why, but not able to generate more than 700 calls at any given time. Roughly around 40 CPS. For the sake of testing and simplicity, I just put the whole originate command multiple times in a text file and looping around it with fs_cli to execute. Dialplan sends the call to a lua script which randomly answers the call run the echo application and terminate with random seconds, something like http://wiki.freeswitch.org/wiki/Fakecall_responder
> 
> CPU remains low all the time. Looks like the opening and closing of ports to esl is the reason slowing originate rate?  I have tried from 8 to 24 CPU cores but the behavior remains the same. FS-4962 opened already in case we want to proceed from there.
> 
> Thanks,
> --
> Muhammad Naseer Bhatti
> 
> 
> 
> 
> _________________________________________________________________________
> 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
> 
> 
> _________________________________________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121224/4a142e2e/attachment.html 


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