Bug 1528237 - [Docs][RFE][Metrics User] Document CPU Plugin based on available documentation
Summary: [Docs][RFE][Metrics User] Document CPU Plugin based on available documentation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ovirt-4.2.1
: ---
Assignee: Emma Heftman
QA Contact: Avital Pinnick
URL:
Whiteboard: docs-accepted
Depends On:
Blocks: 1464013
TreeView+ depends on / blocked
 
Reported: 2017-12-21 10:52 UTC by Emma Heftman
Modified: 2019-05-07 12:50 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 1528225
: 1528242 (view as bug list)
Environment:
Last Closed: 2018-01-11 13:05:21 UTC
oVirt Team: Docs
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Emma Heftman 2017-12-21 10:52:06 UTC
collectd.cpu.percent

"https://collectd.org/wiki/index.php/Plugin:CPU
However says that it is not really percentage and does not describe all states"

Comment 1 Lucy Bopf 2017-12-22 00:45:52 UTC
Accepting into Beta 2 program, and assigning to Emma for review.

Comment 2 Emma Heftman 2017-12-31 12:13:05 UTC
Hi Shirly,
According to collectd documentation, the CPU plugin is actually a jiffie rather than a percentage:

How important is this distinction in your opinion?

"The CPU plugin does not collect percentages. It collects “jiffies”, the units of scheduling. On many Linux systems there are circa 100 jiffies in one second, but this does not mean you will end up with a percentage. Depending on system load, hardware, whether or not the system is virtualized and possibly half a dozen other factors there may be more or less than 100 jiffies in one second. There is absolutely no guarantee that all states add up to 100, an absolute must for percentages. "

Thanks
Emma

Comment 4 Shirly Radco 2018-01-01 11:14:32 UTC
Please review https://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_cpu

We use set the following parameters:

  ReportByState true
  ReportByCpu true
  ValuesPercentage true

That means we get values in percentage, pre cpu.


Note You need to log in before you can comment on or make changes to this bug.