[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220690
Bug ID: 220690
Summary: sysctl(8) value kern.cp_times is inconsistent with
top(1)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: xfce at FreeBSD.org
Reporter: yuri at rawbw.com
Flags: maintainer-feedback?(xfce at FreeBSD.org)
Assignee: xfce at FreeBSD.org
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-xfce
mailing list