Bug 435910
Summary: | Cpu frequency adjustments not working on all systems with Xen kernel | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Bill Burns <bburns> |
Component: | kernel-xen | Assignee: | Rik van Riel <riel> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.2 | CC: | jarod, xen-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-02 16:24:19 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: |
Description
Bill Burns
2008-03-04 13:06:28 UTC
So we have a touch of confusion here... The cpuspeed daemon should only run on older hardware, with recent hardware (such as this), we use in-kernel frequency scaling (we default to the ondemand driver). So the cpuspeed initscript is actually doing the expected thing here, loading up acpi-cpufreq and enabling in-kernel frequency scaling via the ondemand governor. All the sysfs bits even look correct: # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies 3000000 2667000 2333000 2000000 The problem here is that we're simply never scaling down the speed for some reason. This would appear to be a bug in acpi-cpufreq driver or the ondemand governor. Lets double-check whether or not we get the same behavior with a bare-metal kernel, to know if its a generic problem or a xen-specific one... I booted the non-Xen kernel and indeed observed that the cpu frequency scaling was working on this system. Thus it appears to be an issue with the Xen kernel. Changed the summary to better reflect the bug. Since it appears the cpuspeed package is doing everything its supposed to here, and scaling works as expected on bare metal, I'm reassigning this over to kernel-xen, as the problem appears to be specific to xen's cpu frequency scaling implementation. Riel, tag, you're it! ;) Bill, can you manually adjust the CPU frequencies through /sys or does that also fail? Lets figure out if it is a governor problem or a cpuspeed driver problem on your hardware... Also, does the hypervisor print out any messages about non-allowed MSR writes? I'd wager its a governor issue. If you switch the box over to the 'userspace' governor (i.e., run the cpuspeed daemon), it appears to do the right thing. At least, that's my recollection... System had old bios. After an upgrade thins are working as expected. Closing this bug. |