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: x...@freebsd.org
          Reporter: y...@rawbw.com
             Flags: maintainer-feedback?(x...@freebsd.org)
          Assignee: x...@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.
_______________________________________________
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"

Reply via email to