<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
thanks for your answer and just some details to describe what I'm
looking for.<br>
I have to register 25 000 subscribers, no NAT is involved, each
equipment has its own IP address.<br>
These equipments are registering every 60 seconds on our current
platform, but I can change this parameter if needed.<br>
Equipments are ADSL CPE (router), that's why I'm using 60sec cause
flapping could happen very often with ADSL if the copper line is
crappy. ADSL could be very unpredictable sometimes.<br>
As I don't want to delay too much forwarding to voicemail if a user is
unavailable (network issue), 60 sec was chosen (bandwith is not an
issue). But as I told before, I'm open to your suggestions.<br>
<br>
To Philip, using a single SIP proxy (opensips/ser...) in front of a FS
cluster could be a single point of failure too.<br>
I think that maybe a solution using DNS SRV to distribute the load
across a cluster could do the trick or some kind of LVS (virtual IP
shared across many servers)<br>
XML curl is a good idea too.<br>
To be honest, clustering is a must to avoid a single point of failure,
but FS performance as a SBC are really great even on commodity
hardware, more than 100 CallPerSecond with no transcoding. That's why I
think that a mix with a SIP registrar and FS (and redundancy) could
easily handle my 25 000 subscribers. I did some lab (one or 2 years
ago) with Kamailio registering 90 000 users every 60sec (1500
Registration per second) without any issues.<br>
In my network, 25 000 users are not pushing more than 10 CPS and 500
simultaneous call. I'm not doing VoIP termination.<br>
<br>
At the moment, I'm just collecting data/feedback on what could be done
as I have some time to work on this project, and if going further I
will share the configuration as I did before:<br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<a href="http://wiki.freeswitch.org/wiki/SBC_Setup">http://wiki.freeswitch.org/wiki/SBC_Setup</a>
(not the best setup, but hope it helps users to begin with FS)<br>
<br>
regards,<br>
rod.<br>
<br>
<br>
<br>
<br>
Le 03/05/2010 19:54, David Ponzone a écrit :
<blockquote cite="mid:C5D5A056-B21C-4343-AA13-95D67B3EADA6@gmail.com"
type="cite">
<div>Rod,</div>
<div><br>
</div>
Registering every 60 seconds is a bad idea, and this should not be
justified.
<div>You should register every 1800 seconds and send a NAT keepalive
every X seconds.</div>
<div>X should be slightly lower than the NAT UDP timeout of the
router in front of the phones, if the phones are behind NAT.</div>
<div>If the phones are not behind NAT, NAT keepalive is not necessary.</div>
<div><br>
<div apple-content-edited="true"> <span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
<div style="word-wrap: break-word;"><span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
<div style="word-wrap: break-word;">
<div><font class="Apple-style-span" face="'Helvetica Neue'"><font
class="Apple-style-span" color="#1c00ff">David Ponzone </font><font
class="Apple-style-span" size="3" color="#000000"><span
class="Apple-style-span" style="font-size: 12px;">Direction Technique</span></font></font></div>
<div><font class="Apple-style-span" face="'Helvetica Neue'"><font
class="Apple-style-span" size="3"><span class="Apple-style-span"
style="font-size: 13px;">email: <a moz-do-not-send="true"
href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div>
<div><font class="Apple-style-span" face="'Helvetica Neue'"><font
class="Apple-style-span" size="3"><span class="Apple-style-span"
style="font-size: 13px;">tel: 01 74 03 18 97</span></font></font></div>
<div><font class="Apple-style-span" face="'Helvetica Neue'"><font
class="Apple-style-span" size="3"><span class="Apple-style-span"
style="font-size: 13px;">gsm: 06 66 98 76 34</span></font></font></div>
<div><font class="Apple-style-span" face="'Helvetica Neue'"><br>
</font></div>
<div><font class="Apple-style-span" face="'Helvetica Neue'"
color="#1c00ff">Service Client<span class="Apple-converted-space"> </span></font><font
class="Apple-style-span" face="'Helvetica Neue'"><font
class="Apple-style-span" color="#ff0000">IP</font></font><font
class="Apple-style-span" face="'Helvetica Neue'" color="#1c00ff">eva</font></div>
<div><font class="Apple-style-span" face="'Helvetica Neue'"
color="#1c00ff"><span class="Apple-style-span"
style="color: rgb(0, 0, 0); font-family: Helvetica;">
<div><font class="Apple-style-span" face="'Helvetica Neue'"><font
class="Apple-style-span" size="3"><span class="Apple-style-span"
style="font-size: 13px;">tel: 0811 46 26 26</span></font></font></div>
<div><font class="Apple-style-span" face="'Helvetica Neue'" size="3"><span
class="Apple-style-span" style="font-size: 13px;">
<div
style="margin: 0px; font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 34, 243);"><span
style="text-decoration: underline;"><a moz-do-not-send="true"
href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span
style="color: rgb(101, 104, 149);"> - <span
style="color: rgb(0, 34, 243); text-decoration: underline;"><a
moz-do-not-send="true" href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div>
<div
style="margin: 0px; font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 34, 243);"><span
class="Apple-style-span" style="text-decoration: underline;"><br>
</span></div>
<div
style="margin: 0px; font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 34, 243);"><span
class="Apple-style-span">
<div
style="margin: 0px; text-align: justify; font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(192, 192, 192);"><i>Ce
message et toutes les pièces jointes sont confidentiels et établis à
l'intention exclusive de ses destinataires. Toute utilisation ou
diffusion non autorisée est interdite. Tout message électronique est
susceptible d'altération. </i><b><i>IPeva</i></b><i> décline toute
responsabilité au titre de ce message s'il a été altéré, déformé ou
falsifié. Si vous n'êtes pas destinataire de ce message, merci de le
détruire immédiatement et d'avertir l'expéditeur.</i></div>
<div style="text-decoration: underline; text-align: justify;"><font
class="Apple-style-span" color="#c0c0c0"><i><br>
</i></font></div>
</span></div>
</span></font></div>
</span></font></div>
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
<br>
<div>
<div>Le 03/05/2010 à 15:39, Rod. a écrit :</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>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>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</div>
</blockquote>
</div>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>