<div dir="ltr">Also to single out cpu usage of each FS thread,<div><br></div><div>top -p <fs pid> -H </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 29, 2016 at 9:12 AM, Ken Rice <span dir="ltr"><<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Better to just use htop and you can not only see that but pretty graphs heh<br>
<div><div class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@<wbr>lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-<wbr>bounces@lists.freeswitch.org</a>] On Behalf Of Kevin Wormington<br>
Sent: Thursday, September 29, 2016 8:59 AM<br>
To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.<wbr>freeswitch.org</a>><br>
Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load<br>
<br>
If you press ‘1’ while in top it should display the usage of individual CPUs so you can see Ken’s point.<br>
<br>
<br>
> On Sep 29, 2016, at 7:03 AM, Ken Rice <<a href="mailto:krice@freeswitch.org">krice@freeswitch.org</a>> wrote:<br>
><br>
> Keep in mind that top showing 125% is VERY misleading... lets say you<br>
> have a<br>
> 10 core system for the sake of example, 125% in top means you are<br>
> using roughly 12.5% of the total CPU Power of your system. This is<br>
> because TOP takes the individual core percentages and adds them up...<br>
><br>
> -----Original Message-----<br>
> From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@<wbr>lists.freeswitch.org</a><br>
> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-<wbr>bounces@lists.freeswitch.org</a>] On Behalf Of<br>
> Mikhail Demekhov<br>
> Sent: Thursday, September 29, 2016 1:50 AM<br>
> To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.<wbr>freeswitch.org</a><br>
> Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high<br>
> CPU load<br>
><br>
> Hello!<br>
><br>
> I have installed freeswitch using apt-get on my debian 8 sersver from<br>
> <a href="https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie" rel="noreferrer" target="_blank">https://freeswitch.org/<wbr>confluence/display/FREESWITCH/<wbr>Debian+8+Jessie</a><br>
> block under title 'latest release branch:'<br>
><br>
> My server hardware:<br>
> 2xCPU AMD Opteron(tm) Processor 6262 HE<br>
> 64 GB RAM<br>
><br>
> I'm using calls with bridging from voipgw1(2,3) to gw4(5,6), G711A on<br>
> both leg A and leg B core.db in TMPFS<br>
><br>
> Through my server takes about 125 simultaneous calls<br>
><br>
> CPU load about 125%! It is very high in my opinion.<br>
><br>
> How to fix it?<br>
><br>
><br>
> top<br>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<br>
> 13587 freeswi+ 39 19 485252 200020 16284 S 110,1 0,3 3062:38<br>
> freeswitch<br>
><br>
> top -H<br>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<br>
> 13589 freeswi+ 39 19 485252 200692 16284 S 3,0 0,3 55:08.10<br>
> freeswitch<br>
> 13820 freeswi+ 39 19 485252 200692 16284 S 1,6 0,3 0:00.21<br>
> freeswitch<br>
> 13606 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 27:11.91<br>
> freeswitch<br>
> 12817 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 0:05.72<br>
> freeswitch<br>
> 12858 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 0:06.25<br>
> freeswitch<br>
> 10917 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:16.64<br>
> freeswitch<br>
> 11059 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:15.60<br>
> freeswitch<br>
> 11651 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:12.20<br>
> freeswitch<br>
> 11868 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:11.82<br>
> freeswitch<br>
> 11940 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:11.56<br>
> freeswitch<br>
> 12066 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:10.54<br>
> freeswitch<br>
> 12851 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:05.78<br>
> freeswitch<br>
> 12852 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:05.53<br>
> freeswitch<br>
> 13153 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.76<br>
> freeswitch<br>
> 13155 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.65<br>
> freeswitch<br>
> 13226 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.45<br>
> freeswitch<br>
> 13423 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:02.24<br>
> freeswitch<br>
> 13431 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:02.47<br>
> freeswitch<br>
> 13549 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:01.67<br>
> freeswitch<br>
> 13702 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.99<br>
> freeswitch<br>
> 13719 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.77<br>
> freeswitch<br>
> 13763 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.56<br>
> freeswitch<br>
> 13783 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.52<br>
> freeswitch<br>
> 13821 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.27<br>
> freeswitch<br>
> 13822 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.17<br>
> freeswitch<br>
> 13851 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.07<br>
> freeswitch<br>
> 13834 root 20 0 26172 3488 2528 R 1,0 0,0 0:00.36 top<br>
> 3 root 20 0 0 0 0 S 0,7 0,0 18:40.94<br>
> ksoftirqd/0<br>
> 8 root 20 0 0 0 0 S 0,7 0,0 57:06.30<br>
> rcu_sched<br>
> 13599 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 27:53.60<br>
> freeswitch<br>
> 13602 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 10:13.13<br>
> freeswitch<br>
> 10297 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:20.80<br>
> freeswitch<br>
> 10613 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:18.69<br>
> freeswitch<br>
> 10838 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:17.52<br>
> freeswitch<br>
> 11192 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.49<br>
> freeswitch<br>
> 11409 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.54<br>
> freeswitch<br>
> 11450 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.57<br>
> freeswitch<br>
> 11474 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.26<br>
> ..........<br>
><br>
> Rgards,<br>
> Demekhov Mikhail<br>
><br>
> ______________________________<wbr>______________________________<wbr>__________<br>
</div></div>> ___ Professional FreeSWITCH Consulting Services:<br>
<span class="">> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
> <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-use" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-use</a><br>
> rs<br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> ______________________________<wbr>______________________________<wbr>__________<br>
</span>> ___ Professional FreeSWITCH Consulting Services:<br>
<div class="HOEnZb"><div class="h5">> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
> <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-use" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-use</a><br>
> rs<br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br></div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> ☎ +19193869900 </div><div><br></div></div></div><div><a href="https://www.youtube.com/watch?v=9XXgW34t40s" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">https://www.youtube.com/watch?v=9XXgW34t40s</a></div><div><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?v=NLaDpGQuZDA</a><br></div></div></div></div></div></div></div>
</div>