Bug 535798 (RHQ-2457)
Summary: | Per CPU metric collection issues for multi-cpu platforms | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Jay Shaughnessy <jshaughn> |
Component: | Plugins | Assignee: | Jay Shaughnessy <jshaughn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.3 | CC: | cwelton, ian.springer, tao |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://jira.rhq-project.org/browse/RHQ-2457 | ||
Whiteboard: | |||
Fixed In Version: | 2.4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: |
All platforms Customer case 348308
|
|
Last Closed: | 2010-08-12 16:57:07 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 557793 |
Description
Jay Shaughnessy
2009-10-06 16:33:00 UTC
The proposed solution is to not use Sigar's getCpuPerList call. Instead, to call getCpuList and cache the gathered raw cpu results as necessary, in CpuInformation (per CpuComponent). Then, use the cached raw values to perform our own percentage calculations. This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2457 This fixed in the way suggested above. It's in the 1.3.1 branch as well as in (git) head. Repro steps? To see this in 2.3 just import any multi-cpu platform (JON treats a core as a CPU, so multi-core is the same as multi-cpu) and let it collect metrics for a while. When you go to look at the metrics for the individual CPU resources you should notice that all (or possible all but one) look very flaky. Missing values, bad values, etc. After the fix the values should look much better. QA Verified. Values seem to be pretty good, now. Mass-closure of verified bugs against JON. |