[Freeswitch-users] Interpreting "top" output
Stanislav Sinyagin
ssinyagin at yahoo.com
Tue Mar 4 22:06:40 MSK 2014
This doesn't explain 99% idle time.
------------------------------
On Tue, Mar 4, 2014 2:14 PM CET Dmitry Sytchev wrote:
>If you have more than one processor, top can show 125% for FS process, for
>example.
>Press 1 while top is running to see load per CPU
>
>
>2014-03-04 17:05 GMT+04:00 Stanislav Sinyagin <ssinyagin at yahoo.com>:
>
>> no, top shows the percentage of total CPU time for each task. See the top
>> manual.
>>
>>
>>
>> ------------------------------
>> *From:* Ali Pey <alipey at gmail.com>
>> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>> *Sent:* Monday, March 3, 2014 8:59 PM
>> *Subject:* Re: [Freeswitch-users] Interpreting "top" output
>>
>> This means from the amount of work your CPU has done, %25-30 of it, was by
>> freeswitch. So if your CPU is doing %1 of work, %25 of that %1 was by
>> freeswitch.
>>
>> Does that make sense?
>>
>> Regards,
>> Ali Pey
>>
>>
>> On Sat, Mar 1, 2014 at 11:54 PM, Stanislav Sinyagin <ssinyagin at yahoo.com>wrote:
>>
>> hi,
>>
>> "top" shows the freeswitch process with up to 25-30% CPU usage (5 channels
>> in a conference, 1x Speex, 1x GSM, 2xPCMA, 1xPCMU), while total userland
>> usage is shown at 0.1%. Also mpstat shows almost 100% idle. Is it a bug in
>> the kernel? or any other ideas?
>>
>> Intel Atom N570, 2 physical cores with hyperthreading, /proc/cpuinfo shows
>> 4 CPU's.
>> Debian 7.4 i386
>> 3.2.0-4-686-pae #1 SMP Debian 3.2.54-2 i686 GNU/Linux
>> FreeSWITCH 1.2.22 from debs
>>
>> Details here:
>> <https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=08cab8c1-1e6c-48c9-8b36-8d862122b26f&cm_destination=https://gist.github.com/ssinyagin/9302079>
>> https://gist.github.com/<https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=3bae928a-771f-4c9a-be77-909aa4f8685f&cm_destination=https://gist.github.com/>
>> ssinyagin/9302079
>>
>>
>> regards,
>> stanislav
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.<https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=aa654543-a04e-4943-a88e-3e38af1f5197&cm_destination=http://www.freeswitchsolutions.com>
>> freeswitchsolutions.com<https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=13f1bd66-a83d-4b8f-aee4-dc9113166db1&cm_destination=http://freeswitchsolutions.com>
>>
>>
>> <https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=f7cea51f-e316-4662-b172-f5391969e0ec&cm_destination=>
>> <https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=f57c3647-a695-4b11-9559-9db314a8ee63&cm_destination=>
>>
>> Official FreeSWITCH Sites
>> <https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=df375ec8-a065-400a-885a-bfa45cd20182&cm_destination=http://www.freeswitch.org>
>> http://www.freeswitch.org<https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=ce523b2a-574f-43cd-ae71-2dbd223af3f2&cm_destination=http://www.freeswitch.org>
>> <https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=3972bc5d-861c-49eb-b791-e2b22b1ab16b&cm_destination=http://wiki.freeswitch.org>
>> http://wiki.freeswitch.org<https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=9ce102e4-a4ce-4c0b-b224-70a6d7b69fea&cm_destination=http://wiki.freeswitch.org>
>> <https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=b4d6318b-7ead-425f-b720-aef9362137b9&cm_destination=http://www.cluecon.com>
>> http://www.cluecon.com<https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=65edceb7-c46d-4c70-b94d-e74199317edb&cm_destination=http://www.cluecon.com>
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists. <FreeSWITCH-users at lists.freeswitch.org>
>> freeswitch.org<https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=70ae5bfc-29fe-473a-afb7-1e9ba3812b7d&cm_destination=http://freeswitch.org>
>> <https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=2f552e5e-4ca6-419b-908a-a170dec9f801&cm_destination=http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>> http://lists.freeswitch.org/<https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=977190db-db8e-4bf2-bbbd-a800b4b31f95&cm_destination=http://lists.freeswitch.org/>
>> mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.<https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=38b19744-c2f8-4a99-8bbd-c731a0a37780&cm_destination=http://lists.freeswitch.org/mailman/options/freeswitch-users>
>> freeswitch.org/mailman/<https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=cd3dd983-cc45-4c18-8257-af146a74b79f&cm_destination=http://freeswitch.org/mailman/>
>> options/freeswitch-users
>> <https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=847b4616-08dd-4d9a-845b-899e9fc94e47&cm_destination=http://www.freeswitch.org>
>> http://www.freeswitch.org<https://contactmonkey.com/api/tracker?cm_session=93e6e979-f1f0-4f9f-890a-92b664906bd3&cm_type=link&cm_link=8694647e-5366-40d7-b72f-b7b9ea6c89b7&cm_destination=http://www.freeswitch.org>
>>
>>
>>
>> _________________________________________________________________________
>> 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
>>
>> 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
>>
>>
>>
>> _________________________________________________________________________
>> 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
>>
>> 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
>>
>>
>
>
>--
>Best regards,
>
>Dmitry Sytchev,
>IT Engineer
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list