<div dir="ltr">my test results using sipp script +  FreeSWITCH docker container + PCMU on c5.4xlarge instance only audio stream. Each call duration is 200 seconds.<div>Tested Kazoo all-in-one install. So, here some overhead exit for Elang components.<br><br>According to load test on c5.4xlarge Amazon instance after 282 seconds is reached 1258 simultaneous calls at 6 calls per second rate. During the test all calls and registrations are successful. During the test CPU load is reached 79% value, memory usage 7Gb, and 150 mb/s total network usage over all docker containers on "all-in-one" Kazoo configuration.<br></div><div><br></div><div>Sergey</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 11, 2020 at 1:51 PM <<a href="mailto:ziv@ip-com.co.il">ziv@ip-com.co.il</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="en-IL" style="overflow-wrap: break-word;"><div class="gmail-m_-3591899684814614505WordSection1"><p class="MsoNormal"><span lang="EN-US">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">We run FreeSWITCH on Amazon AWS EC2, using the c5.xlarge machine size, meaning 4 CPUs with hyper-threading, sums up to 8 vCpu.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">In time of high-traffic, the system is reaching 100% CPU at about 400 concurrent sessions, which is typically 200 calls (2 sessions per call).<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">RTP is sent as G-711. SIP signaling is this test is UDP (no TCP or other protocols).<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">These numbers are after reducing the log level and moving the core-dsn to memory.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">The dialplan in this test is very simple.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">ulimit values are as recommended in FreeSWITCH documentation.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">On thread level, we see many threads that consume <1.5% CPU. Several threads consume more, apparently the signaling.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Question:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Do these numbers make sense? We expected to see much more traffic before the CPU is congested.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Are there simple tricks to reduce the CPU usage (as we did with changing the log level)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Is there a way to analyze the CPU consumption so we can try and improve?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Thanks<u></u><u></u></span></p></div></div>_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>