That was really informative. Thanks alot.<br><br><div class="gmail_quote">On Sat, Jul 7, 2012 at 2:46 PM, Peter Olsson <span dir="ltr"><<a href="mailto:peter.olsson@visionutveckling.se" target="_blank">peter.olsson@visionutveckling.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The common answer is "it depends"..<br>
<br>
It depends on many different aspects, for instance: transcoding, script handling, media bypass etc. So there is no answer that is valid for everyone. There are also easy changes that can be made to improve performance, putting the sqlite databases on a RAM-drive is one common task.<br>
<br>
Also make sure to have as many CPU cores as possible, lots of RAM, and med sure to use 64-bit systems.<br>
<br>
I've never done any testing myself, so I don't know really. But I know there are people out there handling thousands of concurrent calls, at pretty high CPS.<br>
<br>
One more thing though, that will help you out right now. FS doesn't behave 100% correctly in CentOS 6.x, CentOS 6.x causes much higher CPU load, compared to CentOX 5.x. So right now CentOS 6.x is not officially supported by FS (until the reasons for this has been discovered). If you switch to real hardware and use CentOS 5.x I'm pretty sure that will give you much better results.<br>
<br>
These issues on Jira are related to CentOS 6.x problems.<br>
<br>
FS-4396<<a href="http://jira.freeswitch.org/browse/FS-4396" target="_blank">http://jira.freeswitch.org/browse/FS-4396</a>><br>
FS-4316<<a href="http://jira.freeswitch.org/browse/FS-4316" target="_blank">http://jira.freeswitch.org/browse/FS-4316</a>><br>
<div class="im"><br>
/Peter<br>
<br>
________________________________<br>
Från: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] för Hanie Maghsoudy [<a href="mailto:h.maghsoudy@gmail.com">h.maghsoudy@gmail.com</a>]<br>
</div>Skickat: den 7 juli 2012 11:18<br>
Till: FreeSWITCH Users Help<br>
Ämne: Re: [Freeswitch-users] Performance Testing<br>
<div class="im"><br>
Thanks Peter, I will definitely test with a real server too. But, first of all, I'm really interested to know that what the result looks like for the others (perhaps with real servers in real environment).<br>
<br>
</div><div class="im">On Sat, Jul 7, 2012 at 12:35 PM, Peter Olsson <<a href="mailto:peter.olsson@visionutveckling.se">peter.olsson@visionutveckling.se</a><mailto:<a href="mailto:peter.olsson@visionutveckling.se">peter.olsson@visionutveckling.se</a>>> wrote:<br>
Before trying anything else, use real hardware instead of virtual. A virtual server with this kind of load will only cause you trouble. Actually - most virtual solutions will cause you problems :)<br>
<br>
Also, performance with average call duration of 4s is not really anything that would happen in real life.<br>
<br>
But first of all - get real hardware.<br>
<br>
/Peter<br>
<br>
________________________________<br>
</div>Från: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>>] för Hanie Maghsoudy [<a href="mailto:h.maghsoudy@gmail.com">h.maghsoudy@gmail.com</a><mailto:<a href="mailto:h.maghsoudy@gmail.com">h.maghsoudy@gmail.com</a>>]<br>
<div><div class="h5">Skickat: den 7 juli 2012 09:46<br>
Till: FreeSWITCH Users Help<br>
Ämne: [Freeswitch-users] Performance Testing<br>
<br>
Hi all,<br>
<br>
I searched for FreeSwitch call capacity, but most of the results wasn't new. So, I wanna ask if anybody has either tested FreeSwitch's performance recently, or got a dramatic result in real environment?<br>
<br>
I tested call quality on this machine:<br>
<br>
Virtual FreeSwitch server<br>
OS: CentOS release 6.2 - x86_64<br>
CPU: 8 processor - Intel(R) Xeon(R) CPU X5670 @ 2.93GHz<br>
Memory: 8 G<br>
<br>
After receiving incoming calls, FreeSwitch routed them to another sip server, without transcoding. The other server transmitted calls by playing an audio file. Meanwhile, I called an extension in FreeSwitch to test the call quality.<br>
<br>
The result was like this:<br>
<br>
1000 Concurrent calls<br>
Call duration: 160s<br>
Call rate: 6 cps (just creating channels)<br>
Max used Memory: 1416M<br>
Max CPU load: 0.24<br>
Max Network throughput (recv/send): 6711k/80k<br>
Quality: Good<br>
<br>
This test was taken before tearing down the channels.<br>
<br>
Then, I took another test to estimate calls per second, and it wasn't what I was expected!<br>
<br>
<br>
150 Concurrent calls<br>
Call duration: 4s<br>
Call rate: 30 cps (creating and tearing down)<br>
Max used Memory: 1293M<br>
Max CPU load: 4.50<br>
Max Network throughput (recv/send): 828k/60k<br>
Quality: Average<br>
<br>
And when I increase call rate to 50 cps:<br>
<br>
1000 Concurrent calls<br>
Call duration: 4s<br>
Call rate: 50 cps (creating and tearing down)<br>
Max used Memory: 1730M<br>
Max CPU load: 29.9<br>
Max Network throughput (recv/send): 1367k/202k<br>
Quality: Bad<br>
<br>
Why call per second is such a big problem? Did anyone get a better result on this?<br>
<br>
Thanks,<br>
Hanie<br>
<br>
<br>
<br>
</div></div><div class="im">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
</div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>><br>
<div class="im"><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
</div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>><br>
<div class="im"><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>
</div>!DSPAM:4ff7fdea32761519618044!<br>
<div class="HOEnZb"><div class="h5"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<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>
</div></div></blockquote></div><br>