Not to mention maybe using bgapi as opposed to api


On 12/24/12 11:21 AM, "Steven Ayre" <steveayre@gmail.com> wrote:

Are you opening a new ESL connection for each originate? It'd be far more efficient to open a single persistent connection and reuse it.



On 24 December 2012 16:22, Muhammad Naseer Bhatti <nbhatti@gmail.com> wrote:

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@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@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@freeswitch.org
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com <http://www.cudatel.com/>

Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org <http://www.freeswitch.org/>


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@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