[Freeswitch-users] What's better Unix ro Windows? LOL

Ken Rice krice at freeswitch.org
Thu Jul 26 09:19:13 MSD 2012


Tony demonstrated FreeSWITCH running 1000cps 30sec call duration with media
for a total of 30K concurrent calls @ ClueCon last year (just a few weeks
shy of a year ago)

That being said, does that mean you need to choose Linux over Windows? No it
does, use the the tools that fit your specific deployment requirements...
For some people that means Windows, for others that means Linux or BSD or
${something_else_entirely}...

But as Michael just said you are better off using the 64bit builds for more
then just stack size reasons...


On 7/26/12 12:00 AM, "Michael Giagnocavo" <mgg at giagnocavo.net> wrote:

> I¹ve run FreeSWITCH under Linux and Windows. On Windows, I had no problems
> sustaining hundreds of calls/sec, over 2000 sessions (without media). And that
> was in a virtualized (Hyper-V) system with a Q6600 processor; I think about 2
> cores were used. 
>  
> One big caveat for 32-bit FS on Windows. FS isŠliberalŠwhen it comes to
> managing threads. It doesn¹t use lightweight threads or continuations, it
> really just spawns threads left and right. On Windows, the default stack is
> 1MB, so you can quickly run out of memory addresses on a 32-bit process. So,
> either run x64 FS, or adjust the stack size.
>  
> Unless you¹re really getting into high-end performance, then I highly doubt
> the OS matters. And even then, I haven¹t seen any benchmarks showing Linux
> with much higher performance for FreeSWITCH. The more important stuff is the
> rest of the stack, like fail2ban, OpenSIPS, iptables versus the not-so-amazing
> Windows Firewall, etc.
>  
> As others have said, definitely go with whatever makes you more comfortable.
>  
> -Michael
>  
>                  
> 
> From: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Sean Devoy
> Sent: Wednesday, July 25, 2012 7:08 PM
> To: FreeSWITCH-users at lists.freeswitch.org
> Subject: [Freeswitch-users] What's better Unix ro Windows? LOL
>  
> I really hope this does not blow up into an ideological jihad, but I am
> curious what people think and if they have any evidence to support their
> claims.  I am in fact a long time windows developer (anyone remember windows
> 2.2 ­ that was hard shit).  I have chosen what may be a unique approach to FS
> ³Configuration, Command and Control².
>  
> I started using FS by building it on Centos 5.n.  Fighting, scratching and
> clawing it into a working multi-tenant switch.   Looking back, everything I
> needed to do was in the email tree, I just didn¹t know what to ask.  I have
> now moved FS on to a ³production² VPS server for $30 a month with amazing
> success. See it here: http://www.synapseglobal.com/voip_services.php  It comes
> prebuilt with Centos and FS latest build compiled and ready to go.  That¹s not
> why I am writing though.  Their tech support is adamant that it can handle up
> 12 CONCURRENT CALLS at the base configuration.
>  
> I learned about IPTABLES and FAIL2BAN and like them very much.  However, I
> still work better/faster/surer in my Windows environment.  So, I have taken
> what some might think is the worst possible approach: Configure and Control my
> Centos FS Server from my own ASP.NET Web Application (hosted elsewhere).  My
> approach is to use the socket interface to send commands and use programmatic
> SFTP to the SHH shell for XML file exchange.  I am about 85% done with version
> 1.0 and very pleased with it.  I hope to have customers be able to login and
> modify their own configurations (call routes, IVRs, extensions mapping to
> devices line keys, Cisco spa504g provisioning, etc).  Other device
> provisioning is in the pipe, but we have all 504Gs here and the provisioning
> code has been a tremendous help.
>  
> Anyway, that is how I got to the odd work configuration, now I would like a
> discussion:
> My belief is that the ³slim profile² of Centos will allow FS to handle greater
> load on a given hardware profile than could be handled by FS on Windows with
> the same hardware.  I would like to AVOID the issues of security for this
> discussion, I firmly believe that you will provide better security on the
> platform that you understand the best.  Let¹s just talk RAM, MIPS, NICs and FS
> performance and other issues I might be missing.
>  
> Should a Windows guy go with FS on Windows or do you really get more bang for
> your buck in a Unix environment?
>  
> I look forward to reading your thoughts.
>  
> Sean
>  
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> Join Us At ClueCon - Aug 7-9, 2012
> 
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120726/7beb7901/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list