View previous topic :: View next topic |
Author |
Message |
TPok n00b
Joined: 05 Apr 2005 Posts: 3
|
Posted: Fri Jul 21, 2006 10:58 pm Post subject: CPU frequency changes automatically on Inspiron 9300 |
|
|
Hi,
I tried to setup cpufreqd as described in the Gentoo Power Management Guide. Everithing works fine but my Inspiron 9300 seems to change the CPU frequency automatically. It's Centrino (Pentium-M).
Quote: |
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.86GHz
stepping : 8
|
The system is running on AC and everithing is fine.
Quote: |
cpufreq-info
cpufrequtils 001: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
driver: centrino
CPUs which need to switch frequency at the same time: 0
hardware limits: 800 MHz - 1.87 GHz
available frequency steps: 1.87 GHz, 1.60 GHz, 1.33 GHz, 1.07 GHz, 800 MHz
available cpufreq governors: conservative, ondemand, powersave, userspace, performance
current policy: frequency should be within 800 MHz and 1.87 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 1.87 GHz (asserted by call to hardware).
|
Now the AC is plugged of. cpufreqd is not running at this time.
Quote: |
cpufreq-info
cpufrequtils 001: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
driver: centrino
CPUs which need to switch frequency at the same time: 0
hardware limits: 800 MHz - 1.87 GHz
available frequency steps: 1.87 GHz, 1.60 GHz, 1.33 GHz, 1.07 GHz, 800 MHz
available cpufreq governors: conservative, ondemand, powersave, userspace, performance
current policy: frequency should be within 800 MHz and 800 MHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 800 MHz (asserted by call to hardware).
|
As you see the max frequency has changend. When I plug on the AC it goes up again. It can also be changed by cpufreg-set.
When I start cpufreqd everything is working fine. The Gouverner is changed etc. But the cpu maxfreq is at minimum when running on battery no matter what I put in the cpufreqd.conf settings.
Can anybody help me out?
Thanks,
Stephan |
|
Back to top |
|
|
Ehnvis Guru
Joined: 13 Jun 2006 Posts: 305 Location: /dev/random
|
Posted: Sat Jul 22, 2006 6:45 am Post subject: |
|
|
That is normal behavior for a centrino, with AC plugged in and performance setting it goes full speed but if you unplug it it goes down automatically in a powersaving mode. It dims the screen, lowers the CPU speed to conserve the battery.
It's the same in windows if you try it there
Might be a setting in BIOS so you can control that behavior. _________________ HP NC 4010, Pentium-M 725 1.6GHz w/ 1Gb RAM, 60Gb Hitachi Travelstar.
Running Gentoo-2.6.21-r4 (again as 2.6.22 kernels hogs CPU), all but SD reader works fine. |
|
Back to top |
|
|
TPok n00b
Joined: 05 Apr 2005 Posts: 3
|
Posted: Sat Jul 22, 2006 9:30 pm Post subject: |
|
|
I thought this should be normal. The problem is cpufreq doesn't change the maximum frequency of the CPU. It stays at 800 MHz no matter what I put in cpufreqd.conf. I can change it manually with cpufreq-set but not automatically.
There is only one BIOS setting. I can deactivate SpeedStep. That's all.
If there is a possibility to let cpufreqd (or another deamon) override the centrino standard behavior (set the CPU max freq back up) everything would be fine. |
|
Back to top |
|
|
Ehnvis Guru
Joined: 13 Jun 2006 Posts: 305 Location: /dev/random
|
Posted: Sun Jul 23, 2006 6:42 am Post subject: |
|
|
A now i'm with you, you need to change the kernel config from performance to userspace. After you have done that cpufreqd should work as intended and read your configfile and act accordingly.
This is how my part of that config looks like and cpufreqd worked as it's supposed to Code: | # CONFIG_CPUSETS is not set
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
|
But I swapped and using cpupw right now, just to be able to undervoltage my laptop. _________________ HP NC 4010, Pentium-M 725 1.6GHz w/ 1Gb RAM, 60Gb Hitachi Travelstar.
Running Gentoo-2.6.21-r4 (again as 2.6.22 kernels hogs CPU), all but SD reader works fine. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|