<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
hi Rod,<BR>
<BR>
What is the objective and intended usage of this ?<BR>
<BR>
Registering loads of accounts every sec sounds like a very bad design to me, so it might be wise to visit your design and discuss what you want to achieve.<BR>
<BR>
<BR>
Jan<BR> <BR>> Date: Mon, 3 May 2010 17:39:59 +0400<BR>> From: kawarod@laposte.net<BR>> To: freeswitch-users@lists.freeswitch.org<BR>> Subject: [Freeswitch-users] Registration ODBC feeded by another registrar proxy<BR>> <BR>> Hi list,<BR>> <BR>> was playing with FS 1.0.6 and trying to test the registration <BR>> performance of FS. (Yes I know FS is more suited as a B2BUA, but please <BR>> read further :p)<BR>> <BR>> So I did the following:<BR>> - generate one xml file with 20 000 user account like this:<BR>> <include><BR>> <user id="1"><BR>> <params><BR>> <param name="password" value="1234"/><BR>> </params><BR>> </user><BR>> <user id="2"><BR>> <params><BR>> <param name="password" value="1234"/><BR>> </params><BR>> ...<BR>> <BR>> Then I used Sipp to test how many registration per second could be fired <BR>> to the server (quad core 2.83Ghz).<BR>> I setup ulimit variables, and disable nat.<BR>> <BR>> I got this:<BR>> - using SQL Lite: unable to get higher than 80 registrations per <BR>> second (in fact it's less than this number but didn't test too much this <BR>> setup), I see a lot of retransmission in Sipp<BR>> - using SQL Lite in ramdisk (tmpfs): OK with 80 registrations per <BR>> second but not much<BR>> - using ODBC and mysql: 130 reg/sec is OK<BR>> <BR>> With ODBC, above 150 reg/sec I see that FS is stalled to 100-110% CPU, I <BR>> think it's because I'm using only one SIP profile and that SOFIA is <BR>> monothreaded for this SIP profile.<BR>> If I'd like to register every 60sec, the server has to support at least <BR>> more than 300 registration per second.<BR>> <BR>> So I'm wondering if I could setup something like this:<BR>> - use another SIP Proxy as a registrar and feed the ODBC <BR>> "sip_registration database" of FS<BR>> - FS will be able to use this database to setup a call<BR>> - use FS as the outbound proxy for call routing<BR>> <BR>> But what about the user params that have been setup in the xml file <BR>> above. I think that FS loads the user params each time a user is registered.<BR>> <BR>> Comments and advices are welcome.<BR>> <BR>> regards,<BR>> rod.<BR>> <BR>> <BR>> <BR>> _______________________________________________<BR>> FreeSWITCH-users mailing list<BR>> FreeSWITCH-users@lists.freeswitch.org<BR>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>> http://www.freeswitch.org<BR>                                            <br /><hr />Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Sign up now.</a></body>
</html>