| Summary: | Guest CPU usage is truncated at 100%. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Yaniv Lavi <ylavi> |
| Component: | vdsm | Assignee: | Dan Kenigsberg <danken> |
| Status: | CLOSED NOTABUG | QA Contact: | yeylon <yeylon> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | abaron, bazulay, iheim, srevivo, ykaul |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-22 21:04:37 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Yaniv Lavi
2012-01-22 16:16:17 UTC
I'm sorry to have mislead you: a closer review of the code shows that vdsm reports cpu consumption of qemu processes similarly to top(1). For mutli-vcpu VMs, cpuUser+cpuSys may exceed 100% considerably.
jiffies = (vms1.pidcpu.user - vms0.pidcpu.user) % 2**32
stats['cpuUser'] = jiffies / interval
cpuUser is the jiffies per second, allocated to the qemu-kvm process (each host cpu provides 100 jiffies per second)
|