View previous topic :: View next topic |
Author |
Message |
Bigun Advocate
Joined: 21 Sep 2003 Posts: 2196
|
Posted: Mon Jan 09, 2006 12:49 am Post subject: CPU Scaling Issue - cpufreqd |
|
|
cpufreq-info:
Code: |
bigun@64lappy ~ $ cpufreq-info
cpufrequtils 0.3: cpufreq-info (C) Dominik Brodowski 2004
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
driver: powernow-k8
CPUs which need to switch frequency at the same time: 0
hardware limits: 800 MHz - 2.00 GHz
available frequency steps: 2.00 GHz, 1.60 GHz, 800 MHz
available cpufreq governors: conservative, ondemand, powersave, userspace, performance
current policy: frequency should be within 800 MHz and 2.00 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 2.00 GHz.
|
So 800 MHz should be possible....
Here is my cpufreqd.conf:
Code: |
[General]
pidfile=/var/run/cpufreqd.pid
poll_interval=2
pm_type=acpi
# Uncomment the following line to enable ACPI workaround (see cpufreqd.conf(5))
# acpi_workaround=1
verbosity=4 #(if you want a minimal logging set to 5)
# Full performance
[Profile]
name=ac
minfreq=800000
maxfreq=2000000
policy=performance
# Maximum power saving
[Profile]
name=battery
minfreq=800000
maxfreq=800000
policy=powersave
# Constant frequency
[Profile]
name=dvd
minfreq=800000
maxfreq=2000000
policy=powersave
# Full performance when running on AC
[Rule]
name=ac_on
ac=on
profile=ac
# Compiling should be fast if battery state is ok
[Rule]
name=compiling
ac=off
battery_interval=30-100
programs=emerge,make,gcc,cpp
cpu_interval=0-100
profile=ac
# watching DVD's gets sluggish with slow CPU frequency
# Can also be used for games etc.
[Rule]
name=dvd_watching
ac=off
battery_interval=15-100
programs=xine,mplayer,avidemux,kaffeine,kmplayer,ogle
cpu_interval=0-100
profile=dvd
# If above doesn't apply, maximise power saving
[Rule]
name=battery_on
ac=off
battery_interval=0-100
cpu_interval=0-100
profile=battery
|
But for some reason, instead of going to 800 Mhz, it only drops to 1.6 GHz when I unplug it. Ideas? _________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim |
|
Back to top |
|
|
loftwyr l33t
Joined: 29 Dec 2004 Posts: 970 Location: 43°38'23.62"N 79°27'8.60"W
|
Posted: Mon Jan 09, 2006 2:57 am Post subject: |
|
|
I have the same problem. What the system says and what the scaling frequencies are, don't match. I've filed a bug but so far, no bites.
Cpufreq.conf doesn't set what frequencies you can go to, powersave and the other modules do. Somehow there's a misread in the kernel.
If you go to the /sys/devices/system/cpu/cpu0/cpufreq directory and look at the values in the files, scaling_min_freq != cpuinfo_min_freq and they absolutely should. _________________ My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing. |
|
Back to top |
|
|
Bigun Advocate
Joined: 21 Sep 2003 Posts: 2196
|
Posted: Mon Jan 09, 2006 4:04 pm Post subject: |
|
|
I can set it to 800 MHz manually by using:
Code: | cpufreq-set -f 800000 |
But yeah, cpufreqd doesn't. _________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim |
|
Back to top |
|
|
hvengel Guru
Joined: 19 Sep 2004 Posts: 515
|
Posted: Mon Jan 09, 2006 6:59 pm Post subject: |
|
|
There apear to be problems in the amd drivers that were introduced in kernel 2.6.12. This change intended to make speed scaling work with dual core processors. I started seeing random stability problems wieh I installed 2.6.12 with my 3500 Winchester. But these rair enough that I didn't presue resolving them. But I was having problems mostly with firefox crashing. A few weeks ago I upgraded to an X2 and my system became very unstable in both Linux and Windows (with the X2 version of the AMD CPU driver). I was running kernel 2.6.14-r2 at the time. I removed the speed scaling drivers and the system is now totally stable. Even firefox has stopped crashing. So there appear to be significant problems with these drivers starting with kernel 2.6.12. |
|
Back to top |
|
|
JohnnieStalker n00b
Joined: 30 Dec 2005 Posts: 6
|
Posted: Tue Jan 10, 2006 5:04 am Post subject: |
|
|
yep |
|
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
|
|