<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-CA link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I was evaluating the technologies available, and I thought you
would be interested in my results. However, almost every other reply I get from
you to my posts, rather than being helpful, has been hostile and insulting.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>My scenario is not a hypothetical one of “having robots
call the conference in a way that probably does not match reality”. In
fact, this will very much reflect the reality of the application I’m
building. Only instead of 300 listeners, I need to scale to over 2000 listeners
minimum – per event, with possibly more than one concurrent event. I want
to pack as many listeners on one server as I can. I’m trying to find a
real solution to a real problem.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I work with other open source projects and fund enhancements or
fixes I need. FreeSWITCH would be no different. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Brian.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Anthony Minessale
[mailto:anthony.minessale@gmail.com] <br>
<b>Sent:</b> Friday, December 18, 2009 11:34 AM<br>
<b>To:</b> freeswitch-users@lists.freeswitch.org<br>
<b>Subject:</b> Re: [Freeswitch-users] mod_conference scalability<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>Conferencing is hardly the best
place to judge performance.<br>
Quality is a far more important goal to me in conferencing.<br>
<br>
Lets compare who can do 48khz conferences with several 32k siren callers on a
polycom 6000, several more using G722 at 16khz and another handful of people on
g711 ulaw all at different rates and ptimes talking in near-real time with low
delay and low echo. The fact that you can broadcast the conferences to
icecast, control it from an external application and play files etc, and oh
yeah, it can stream video.<br>
<br>
Frankly, considering this is a free software project and so many people
benefit, i would rather focus on quality than what numbers i can get from
having robots call the conference in some way that probably does not match
reality. I would love for someone to sponsor the effort to add features to
the conference module, but of course, I do not hold my breath, instead I
continue to improve it for free when I find time. This is one of many
reasons I do not enjoy performance discussions unless I am talking to an
engineer who understands the code or a banker ready to pay for
improvements. That is not my way of saying pay me or forget it as you can
clearly see the conference module has made it to where it is today with no
financial support at all. Just the efforts of myself and several brave
volunteers over the years who have contributed to it.<br>
<br>
BTW,<br>
<br>
We have a weekly call, there is one today in 30 minutes.<br>
Drop by <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a>
This is just an openVZ instance mind you running at 48khz waiting for anyone to
call in and say hi.<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<div>
<p class=MsoNormal>On Fri, Dec 18, 2009 at 10:12 AM, François Delawarde <<a
href="mailto:fdelawarde@wirelessmundi.com">fdelawarde@wirelessmundi.com</a>>
wrote:<o:p></o:p></p>
<p class=MsoNormal>Hearing that Asterisk (1.4) scales 2x like FS is not common,
sounds like<br>
a configuration error.<br>
<br>
If not, I already see the title of the next Digium blog entry:<br>
"FreeSwitch scalability myth finally ends: The worst Asterisk version<br>
ever (1.4) beating the crap of the best and latest FS."<br>
<br>
Anyway, you should compare FS trunk to Asterisk 1.6.2 to see who wins<br>
the final conference battle! :-)<br>
<span style='color:#888888'><br>
François.</span><o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><br>
<br>
On Thu, 2009-12-17 at 16:41 -0500, Brian wrote:<br>
> I did a test with the trunk version for the one conference case, and<br>
> it is the same results as for 1.0.4. The audio failed at around 300<br>
> listeners. Oddly though, it consumed less %CPU (240% instead of 300%),<br>
> and yet the audio still failed at the same number of listeners.<br>
><br>
><br>
><br>
> Brian.<br>
><br>
><br>
><br>
> From: Anthony Minessale [mailto:<a
href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>]<br>
> Sent: Thursday, December 17, 2009 3:49 PM<br>
> To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
> Subject: Re: [Freeswitch-users] mod_conference scalability<br>
><br>
><br>
><br>
><br>
> We didn't post it anywhere but we just get overwhelmed with them and<br>
> many of them are unfounded and take up a lot of time to track down.<br>
> That does not mean you have not found a real problem but the first<br>
> step is trying trunk.<br>
><br>
><br>
><br>
><br>
> On Thu, Dec 17, 2009 at 2:32 PM, Brian <<a
href="mailto:brian@proximosystems.com">brian@proximosystems.com</a>><br>
> wrote:<br>
><br>
> I didn’t realize there was a policy about load testing questions.
What<br>
> forum should I have used for this?<br>
><br>
><br>
><br>
> I didn’t get the chance to test on FS trunk yet, but when I do I
will<br>
> provide you with the feedback when I do. Just let me know what forum<br>
> to use for this topic from now on.<br>
><br>
><br>
><br>
> Thanks,<br>
><br>
><br>
><br>
> Brian.<br>
><br>
><br>
><br>
> From: Anthony Minessale [mailto:<a
href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>]<br>
> Sent: Thursday, December 17, 2009 2:42 PM<br>
><br>
><br>
> To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
> Subject: Re: [Freeswitch-users] mod_conference scalability<br>
><br>
><br>
><br>
><br>
> One man's stable release is another man's 6 month old release with<br>
> hundreds of known fixed bugs.<br>
> If one of the core developers tells you to try it, you may as well<br>
> take the time to try it now that you have opened a forum questioning<br>
> the scalability.<br>
><br>
> When you tested asterisk did you actually use 600 phones and verify<br>
> that each one can hear the audio perfectly and in time with what the<br>
> speaker was saying? Did you try same on FS?<br>
><br>
> Did you optimize your dialplan on FS to deal with a load test or<br>
> follow any of the recommended performance tuning page.<br>
><br>
> All of the answers to these questions are really moot because we have<br>
> a policy against entertaining load testing questions but if you like<br>
> asterisk, by all means, use it, and good luck to you if those numbers<br>
> you are testing at are what you plan to put in real<br>
> production.........<br>
><br>
> On Thu, Dec 17, 2009 at 1:29 PM, Brian <<a
href="mailto:brian@proximosystems.com">brian@proximosystems.com</a>><br>
> wrote:<br>
><br>
> Hi Mike,<br>
><br>
><br>
><br>
> I didn’t get around to testing on the FreeSWITCH trunk yet. Are
there<br>
> substantial fixes to mod_conference in the FreeSWITCH trunk that might<br>
> increase capacity for my scenario of one speaker and many listeners?<br>
> If I want to put this into a production environment, I would need a<br>
> stable version, which as far as I know is the 1.0.4 version.<br>
><br>
><br>
><br>
> However, I did test on Asterisk 1.4 using app_conference, and doing<br>
> the same scenario was able to get 1 speaker and 600 listeners on a<br>
> single conference with no audio issues. The CPU at that point was just<br>
> over 300%, same as where the single conference scenario failed on<br>
> FreeSWITCH with 300 listeners. I was able to push it to over 700<br>
> listeners before I reached 400% CPU usage (I guess maxing out my<br>
> quad-core processors), and asterisk finally crashed. But up until that<br>
> point, there were no audio problems.<br>
><br>
><br>
><br>
> I’ve read a lot about how FreeSWITCH is supposed to be more scalable<br>
> than Asterisk, but unless there is something wrong with my FreeSWITCH<br>
> setup, Asterisk was clearly the winner in this test – more than<br>
> doubling FreeSWITCH capacity in this case. Again, maybe there is<br>
> something on the FreeSWITCH side that I’m doing wrong, but I
don’t see<br>
> what it could be.<br>
><br>
><br>
><br>
> Brian.<br>
><br>
><br>
><br>
><br>
><br>
> From: Michael Jerris [mailto:<a href="mailto:mike@jerris.com">mike@jerris.com</a>]<br>
> Sent: Thursday, December 17, 2009 10:18 AM<br>
> To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
> Subject: Re: [Freeswitch-users] mod_conference scalability<br>
><br>
><br>
><br>
><br>
> I would be curious what the same tests produce with svn trunk of<br>
> FreeSWITCH.<br>
><br>
><br>
><br>
><br>
> Mike<br>
><br>
><br>
><br>
><br>
> On Dec 16, 2009, at 4:49 PM, Brian wrote:<br>
><br>
><br>
><br>
><br>
> Hi,<br>
><br>
><br>
><br>
><br>
><br>
> I’m new to FreeSWITCH and I’m testing the scalability of<br>
> mod_conference to see if it will scale better that other solutions. My<br>
> scenario is to have one speaker, and many listeners (mute). Since I<br>
> have only one speaker, I was expecting this to scale well because<br>
> there is no audio mixing required, just send each frame of the single<br>
> speaker to each listener. Unfortunately, my testing was disappointing,<br>
> and it didn’t scale nearly as well as I’d hoped (based on what
I’ve<br>
> read on how FreeSWITCH is supposed to be generally very scalable).<br>
><br>
><br>
><br>
><br>
><br>
> Here’s my server setup is this:<br>
><br>
><br>
><br>
><br>
><br>
> FreeSWITCH 1.0.4, 64 bit CentOS 5.3, on a quad-core Xeon server, 4 Gig<br>
> of RAM. I’ve set file logging to “notice” level. My
conference profile<br>
> is configured to suppress several events, hoping that it would improve<br>
> performance.<br>
><br>
><br>
><br>
><br>
><br>
> Here are a few scenarios I tested, and roughly where I reached the<br>
> point of audio failure on the conferences:<br>
><br>
><br>
><br>
><br>
><br>
> Scenario 1:<br>
><br>
><br>
> 1 conference, 1 speaker, audio failed at approx 300 listeners (mute)<br>
><br>
><br>
><br>
><br>
><br>
> Scenario 2:<br>
><br>
><br>
> 4 conferences, 1 speaker per conference, audio failed approx 110<br>
> listeners per conference (so just over 400 total channels on the<br>
> system).<br>
><br>
><br>
><br>
><br>
><br>
> Scenario 3:<br>
><br>
><br>
> 16 conferences, 1 speaker per conference, audio failed at 32 listeners<br>
> per conference (so just over 500 total channels on the system).<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> Looking at the output from “top”, it seems that in all 3
scenarios,<br>
> the audio quality failed when the % CPU for the FreeSWITCH process<br>
> exceeded 300%.<br>
><br>
><br>
><br>
><br>
><br>
> I was hoping maybe someone else might have done similar testing, or<br>
> maybe has suggestions on how to improve the performance. Or perhaps an<br>
> alternate solution to the one speaker, many listener case?<br>
><br>
><br>
><br>
><br>
><br>
> Thanks,<br>
><br>
><br>
><br>
><br>
><br>
> Brian.<br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
><br>
> AIM: anthm<br>
> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a>
#freeswitch<br>
><br>
> FreeSWITCH Developer Conference<br>
> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
> <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
> pstn:+19193869900<br>
><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
><br>
> AIM: anthm<br>
> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a>
#freeswitch<br>
><br>
> FreeSWITCH Developer Conference<br>
> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
> <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
> pstn:+19193869900<br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><o:p></o:p></p>
</div>
</div>
</div>
<p class=MsoNormal><br>
<br clear=all>
<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>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<o:p></o:p></p>
</div>
</body>
</html>