maintainer-feedback requested: [Bug 220690] sysctl(8) value kern.cp_times is inconsistent with top(1)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 12 19:38:55 UTC 2017
Yuri Victorovich <yuri at rawbw.com> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to xfce at FreeBSD.org:
Bug 220690: sysctl(8) value kern.cp_times is inconsistent with top(1)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220690
--- Description ---
Created attachment 184310
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184310&action=edit
cpu-consumption-kern.cp_times.sh
I have a process that uses 100% CPU, pinned to one CPU, according to top(1).
kern.cp_times, however, shows that CPU use frequently changes from one CPU to
another. No specific CPU appears to be in use consistently, according to
kern.cp_times.
Please see the attached program.
This program follows the algorithm used by xfce4 CPU use plugin
sysutils/xfce4-cpugraph-plugin, which also shows incorrect CPU use as a result.
kern.cp_times CPU use data appears to not match top(1), which seems to be
correct.
More information about the freebsd-xfce
mailing list