[Freeswitch-users] Registration ODBC feeded by another registrar proxy

Jan Berger janvb at live.com
Mon May 3 08:14:07 PDT 2010


hi Rod,

 

What is the objective and intended usage of this ?

 

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.

 

 

Jan
 
> Date: Mon, 3 May 2010 17:39:59 +0400
> From: kawarod at laposte.net
> To: freeswitch-users at lists.freeswitch.org
> Subject: [Freeswitch-users] Registration ODBC feeded by another registrar proxy
> 
> Hi list,
> 
> was playing with FS 1.0.6 and trying to test the registration 
> performance of FS. (Yes I know FS is more suited as a B2BUA, but please 
> read further :p)
> 
> So I did the following:
> - generate one xml file with 20 000 user account like this:
> <include>
> <user id="1">
> <params>
> <param name="password" value="1234"/>
> </params>
> </user>
> <user id="2">
> <params>
> <param name="password" value="1234"/>
> </params>
> ...
> 
> Then I used Sipp to test how many registration per second could be fired 
> to the server (quad core 2.83Ghz).
> I setup ulimit variables, and disable nat.
> 
> I got this:
> - using SQL Lite: unable to get higher than 80 registrations per 
> second (in fact it's less than this number but didn't test too much this 
> setup), I see a lot of retransmission in Sipp
> - using SQL Lite in ramdisk (tmpfs): OK with 80 registrations per 
> second but not much
> - using ODBC and mysql: 130 reg/sec is OK
> 
> With ODBC, above 150 reg/sec I see that FS is stalled to 100-110% CPU, I 
> think it's because I'm using only one SIP profile and that SOFIA is 
> monothreaded for this SIP profile.
> If I'd like to register every 60sec, the server has to support at least 
> more than 300 registration per second.
> 
> So I'm wondering if I could setup something like this:
> - use another SIP Proxy as a registrar and feed the ODBC 
> "sip_registration database" of FS
> - FS will be able to use this database to setup a call
> - use FS as the outbound proxy for call routing
> 
> But what about the user params that have been setup in the xml file 
> above. I think that FS loads the user params each time a user is registered.
> 
> Comments and advices are welcome.
> 
> regards,
> rod.
> 
> 
> 
> _______________________________________________
> 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
 		 	   		  
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100503/3058cb48/attachment.html 


More information about the FreeSWITCH-users mailing list