Re: [Bsdrp-users] high WCPU in clean bsdrp
Router distribution based on FreeBSD with FFRouting and Bird
Brought to you by:
cochard
|
From: Сучасні С. Б. <gri...@gm...> - 2021-02-15 10:00:13
|
i understand about idle process
but why is pmcstat -TS inst_retired.any_p -w1
showing
PMC: [inst_retired.any_p] Samples: 220 (100.0%) , 36 unresolved
%SAMP IMAGE FUNCTION CALLERS
------>>>>>>> 67.4 kernel acpi_cpu_idle_mwait acpi_cpu_idle
could you please run pmcstat on your server and see the output ? is where
also a high % the kernel using ?
On Mon, Feb 15, 2021 at 11:29 AM Olivier Cochard-Labbé <ol...@co...>
wrote:
> On Mon, Feb 15, 2021 at 7:14 AM Сучасні Системи Безпеки <
> gri...@gm...> wrote:
>
>>
>>
>> it is a clean server and its doing nothing right now
>>
>> why is so high % using acpi_cpu_idle_mwait ?
>>
>
> If my understanding is correct: The idle process is a 'fake' process used
> to count CPU time spent in idle mode (ie: doing nothing).
> Here is an example from one of my server:
>
> # top -b | head -n 7
> last pid: 1733; load averages: 0.00, 0.00, 0.00 up 15+00:38:42
> 09:20:37
> 62 processes: 1 running, 58 sleeping, 3 zombie
> CPU: 0.4% user, 0.0% nice, 0.1% system, 0.0% interrupt, 99.5% idle
> Mem: 120M Active, 17G Inact, 95G Wired, 11G Free
> ARC: 54G Total, 12G MFU, 40G MRU, 1312K Anon, 528M Header, 1720M Other
> 49G Compressed, 112G Uncompressed, 2.29:1 Ratio
> Swap: 100G Total, 100G Free
>
> => Notice the 99.5% idle showing my system is doing nothing.
> And the same top command as your on this system:
>
> # top -SHb | tail -n 20
> PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
> 11 root 155 ki31 0B 512K CPU16 16 358.9H 100.00%
> idle{idle: cpu16}
> 11 root 155 ki31 0B 512K CPU22 22 358.9H 100.00%
> idle{idle: cpu22}
> 11 root 155 ki31 0B 512K CPU1 1 358.9H 100.00%
> idle{idle: cpu1}
> 11 root 155 ki31 0B 512K CPU0 0 358.8H 100.00%
> idle{idle: cpu0}
> 11 root 155 ki31 0B 512K CPU26 26 358.8H 100.00%
> idle{idle: cpu26}
> 11 root 155 ki31 0B 512K CPU20 20 358.8H 100.00%
> idle{idle: cpu20}
> 11 root 155 ki31 0B 512K CPU18 18 358.8H 100.00%
> idle{idle: cpu18}
> 11 root 155 ki31 0B 512K CPU3 3 358.8H 100.00%
> idle{idle: cpu3}
> 11 root 155 ki31 0B 512K CPU24 24 358.8H 100.00%
> idle{idle: cpu24}
> 11 root 155 ki31 0B 512K CPU30 30 358.8H 100.00%
> idle{idle: cpu30}
> 11 root 155 ki31 0B 512K CPU7 7 358.8H 100.00%
> idle{idle: cpu7}
> 11 root 155 ki31 0B 512K CPU23 23 358.8H 100.00%
> idle{idle: cpu23}
> 11 root 155 ki31 0B 512K CPU28 28 358.8H 100.00%
> idle{idle: cpu28}
> 11 root 155 ki31 0B 512K CPU8 8 358.8H 100.00%
> idle{idle: cpu8}
> 11 root 155 ki31 0B 512K CPU11 11 358.8H 100.00%
> idle{idle: cpu11}
> 11 root 155 ki31 0B 512K CPU15 15 358.8H 100.00%
> idle{idle: cpu15}
> 11 root 155 ki31 0B 512K CPU5 5 358.8H 100.00%
> idle{idle: cpu5}
> 11 root 155 ki31 0B 512K CPU6 6 358.8H 100.00%
> idle{idle: cpu6}
>
> Do you have a too high CPU power consumption in this idle state ?
>
> Regards,
>
> Olivier
> _______________________________________________
> Bsdrp-users mailing list
> Bsd...@li...
> https://lists.sourceforge.net/lists/listinfo/bsdrp-users
>
--
"Cучасні Системи Безпеки"
http://www.itlogix.com.ua
+38 (050) 523-66-17
+38 (067) 523-66-17
|