<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] FreeSwitch setup as a &quot;Dumb&quot; SBC</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Never tried hah...<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Anthony Minessale &lt;anthony.minessale@gmail.com&gt;<BR>
<B>Reply-To: </B>&lt;freeswitch-users@lists.freeswitch.org&gt;<BR>
<B>Date: </B>Tue, 3 Feb 2009 16:34:38 -0600<BR>
<B>To: </B>&lt;freeswitch-users@lists.freeswitch.org&gt;<BR>
<B>Subject: </B>Re: [Freeswitch-users] FreeSwitch setup as a &quot;Dumb&quot; SBC<BR>
<BR>
What does it look like if you serve the directory from the static xml file out of curiosity.<BR>
<BR>
<BR>
On Tue, Feb 3, 2009 at 4:11 PM, kokoska.rokoska &lt;kokoska.rokoska@post.cz&gt; wrote:<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Ken Rice napsal(a):<BR>
...<BR>
<BR>
&gt; On Registrations we have experienced Registration/second rates exceeding 150<BR>
&gt; registrations per second using mod_xml_curl to feed the users directory. I<BR>
&gt; suspect, this number can be greatly increased if we were to feed directory<BR>
&gt; with something that cut out the apache and php over head<BR>
&gt;<BR>
<BR>
If someone interested I have few numbers on Registrar performance:<BR>
<BR>
DB server:<BR>
2x Quad core E5345 @ 2.33GHz, 16 GiB RAM<BR>
Centos 5 x86_64, MySQL 5.0<BR>
<BR>
Registrar server:<BR>
2x Quad core E5345 @ 2.33GHz, 16 GiB RAM<BR>
Centos 5 x86_64<BR>
<BR>
Tested using sipp with 10.000 and 30.000 &quot;users&quot;.<BR>
<BR>
<BR>
FreeSWITCH as registrar - current trunk:<BR>
1. FreeSwitch si simply modified (code doing NAT-ping is commented out :-)<BR>
2. Directory is served through lighttpd and simple &quot;C&quot; binary doing one<BR>
trivial select. Lighttpd runs on the same machine as FS. When I move<BR>
lighhtpd to another machine, I cannot see any significat performance boost.<BR>
<BR>
Result: I can go up to the 470-500 reg/s. and FS is heavy overloaded and<BR>
retransmissions occurs.<BR>
<BR>
<BR>
Kamailio as registrar - 1.4.3. no TLS:<BR>
1. Kamailio runs with usrloc db_mode 3 (no caching)<BR>
<BR>
Result: I can go up to the 3500-3700 reg/s. and Kamailio server is at<BR>
0.3 load and all 8 cores are bellow 15 %. Without retransmissions. The<BR>
limit is DB throughput.<BR>
Just for &quot;curiosity&quot; I switched userloc to db_mode 2 (write back) and at<BR>
5000 regs/s I stopped the sipp test, because I saw the bottle neck<BR>
becomes the server runnig sipp (very old P4 box).<BR>
<BR>
<BR>
Conclusion:<BR>
While I see amazing FreeSWITCH performance on INVITEs per seconds and<BR>
concurrent calls (another galaxy from * point of view :-), if you have<BR>
to handle lots of registrations per second, it is IMO better to use<BR>
Kamailio/OpenSIPS/SER as separate registrar and &quot;propagate&quot; users to FS<BR>
through SQL view.<BR>
<BR>
Hope this helps someone...<BR>
<BR>
Best regards,<BR>
<FONT COLOR="#888888"><BR>
kokoska.rokoska<BR>
</FONT><BR>
_______________________________________________<BR>
Freeswitch-users mailing list<BR>
Freeswitch-users@lists.freeswitch.org<BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<BR>
<BR>
<BR>
-- <BR>
Anthony Minessale II<BR>
<BR>
FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><BR>
ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><BR>
<BR>
AIM: anthm<BR>
MSN:anthony_minessale@hotmail.com <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">&lt;mailto:MSN%3Aanthony_minessale@hotmail.com&gt;</a> <BR>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">&lt;mailto:PAYPAL%3Aanthony.minessale@gmail.com&gt;</a> <BR>
IRC: irc.freenode.net <a href="http://irc.freenode.net">&lt;http://irc.freenode.net&gt;</a> &nbsp;#freeswitch<BR>
<BR>
FreeSWITCH Developer Conference<BR>
sip:888@conference.freeswitch.org <a href="mailto:sip%3A888@conference.freeswitch.org">&lt;mailto:sip%3A888@conference.freeswitch.org&gt;</a> <BR>
iax:guest@conference.freeswitch.org/888 <a href="http://iax:guest@conference.freeswitch.org/888">&lt;http://iax:guest@conference.freeswitch.org/888&gt;</a> <BR>
googletalk:conf+888@conference.freeswitch.org <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">&lt;mailto:googletalk%3Aconf%2B888@conference.freeswitch.org&gt;</a> <BR>
pstn:213-799-1400<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
Freeswitch-users mailing list<BR>
Freeswitch-users@lists.freeswitch.org<BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>