Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2017 19:38:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        xfce@FreeBSD.org
Subject:   [Bug 220690] sysctl(8) value kern.cp_times is inconsistent with top(1)
Message-ID:  <bug-220690-28711@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: yuri@rawbw.com
             Flags: maintainer-feedback?(xfce@FreeBSD.org)
          Assignee: xfce@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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220690-28711>