Bug 447975
Summary: | 2.5GHz Q9300 CPU frequency defaults to 2.0 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Henri Ala-Peijari <redhatbugzilla> |
Component: | gnome-power-manager | Assignee: | David Zeuthen <davidz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 9 | CC: | davej, drees76, jarod, mclasen, nhorman, richard |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-04-15 16:11:59 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
Henri Ala-Peijari
2008-05-22 18:19:25 UTC
ah, I bet this is one of those 'run loads in the background when idle' kind of apps.. For these, we have a tunable. try.. echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load echo 0 > /sys/devices/system/cpu/cpu1/cpufreq/ondemand/ignore_nice_load echo 0 > /sys/devices/system/cpu/cpu2/cpufreq/ondemand/ignore_nice_load echo 0 > /sys/devices/system/cpu/cpu3/cpufreq/ondemand/ignore_nice_load Thanks, I just needed to enter the first line (echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load) and it changed performance for all cores (cpu1...etc don't even have the ignore_nice_load file). I tried putting this command on my /etc/rc.d/rc.local but it didn't work. Where should I put this command to run it after boot? In my humble opinion this should be the default and a lot of people - or should we say many BOINC projects - will end up with -25% CPU power. I didn't even notice significant power consumption difference (but I acknowledge that my wattage meter may not be completely accurate in measuring computer PSU's) so I don't see any point why the default should not be 100%. actually, thinking about it, that _should_ be the default. Checking confirms, that is the kernel default. It looks like /etc/sysconfig/cpuspeed should control it, but even when IGNORE_NICE there is set to 0, something is changing it to a 1 I talked about this on the SETI@home website http://setiathome.berkeley.edu/forum_thread.php?id=47203 and they pointed out that some BIOSes now have the EIST. I disabled the "Enhanced Intel SpeedStep" from the BIOS and everything works. So I tracked this down. This gets set to '1' when we log into gnome, when gnome-power-manager starts up. This code... on_ac = gpm_ac_adapter_is_present (cpufreq->priv->ac_adapter); if (on_ac == TRUE) { gpm_conf_get_bool (cpufreq->priv->conf, GPM_CONF_CPUFREQ_USE_NICE, &cpufreq_consider_nice); gpm_conf_get_string (cpufreq->priv->conf, GPM_CONF_CPUFREQ_POLICY_AC, &cpufreq_policy); gpm_conf_get_uint (cpufreq->priv->conf, GPM_CONF_CPUFREQ_PERFORMANCE_AC, &cpufreq_performance); } else { gpm_conf_get_bool (cpufreq->priv->conf, GPM_CONF_CPUFREQ_USE_NICE, &cpufreq_consider_nice); gpm_conf_get_string (cpufreq->priv->conf, GPM_CONF_CPUFREQ_POLICY_BATT, &cpufreq_policy); gpm_conf_get_uint (cpufreq->priv->conf, GPM_CONF_CPUFREQ_PERFORMANCE_BATT, &cpufreq_performance); } seems to want to only adjust settings when we're on battery, but as you can see, we do exactly the same thing for the nice setting regardless of power source. *** Bug 453460 has been marked as a duplicate of this bug. *** All this code got ripped out long ago from g-p-m. |