You are not logged in.

#1 2009-09-03 09:39:34

tealson
Member
Registered: 2007-06-14
Posts: 54

cpufreq-set: does not work, again

Hello toghether,
My cpu is (as it seems) always clocked with 2.53 GHZ, although the ondemand govenor is loaded via "sudo cpufreq-set -g ondemand". But cpufreq-info shows it is running at 2.53 GHZ with ondemand govenor although CpuFreqDisplay (kde tray app) tells me that it works like it should be working. When on idle CpuFreqDisplay tells me my cpu is at 800mhz and when going on a flash site for example it is getting up at 2.53ghz, but this is not verified by cpufreq-info.

The Problem is: I don't believe the kde tray application because everything is running quite smooth and it seems like cpufreq-info is telling the truth.

MODULES=(e1000e vboxdrv acpi-cpufreq !snd-pcm-oss cpufreq_ondemand cpufreq_powersave)
I don't have the cpufreq Daemon running because I want to start it myself.

Any ideas why my cpufreq is not running as it should be?
Regards,
tealson

Last edited by tealson (2009-09-03 09:50:38)

Offline

#2 2009-09-03 16:38:25

uwinkelvos
Member
Registered: 2009-06-07
Posts: 129

Re: cpufreq-set: does not work, again

i had similar problems and "solved" them by commenting out the min/max values in cpufreq conf:
[my@bmy-pc ~]$ cat /etc/conf.d/cpufreq
#configuration for cpufreq control

# valid governors:
#  ondemand, performance, powersave,
#  conservative, userspace
governor="ondemand"

# valid suffixes: Hz, kHz (default), MHz, GHz, THz
#min_freq="2.25GHz"
#max_freq="3GHz"

but this might just have been a lucky coincindence of circunstances and won't possibly work for you as you are not using the daemon.

whats the output of: "sudo cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_*_freq" on your system?

Last edited by uwinkelvos (2009-09-03 16:38:59)

Offline

#3 2009-09-03 18:52:03

tealson
Member
Registered: 2007-06-14
Posts: 54

Re: cpufreq-set: does not work, again

I already tried the first one wink
#configuration for cpufreq control
# valid governors:
#  ondemand, performance, powersave,
#  conservative, userspace
#governor="ondemand"
#, powersave, userspace, performance"

# valid suffixes: Hz, kHz (default), MHz, GHz, THz
#min_freq="800MHz"
#max_freq="2.53GHz"
#2.53 GHz, 2.53 GHz, 1.60 GHz, 800 MHz

Nothing, in any variation helps.

sudo cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_*_freq
2533000
2534000
800000
2534000
2534000
800000

So the speedsteps are somewhat recognized, but not initiated? I am going to use the cpufreq daemon later and will hope that this might work.

Offline

#4 2009-09-03 19:02:37

uwinkelvos
Member
Registered: 2009-06-07
Posts: 129

Re: cpufreq-set: does not work, again

Infact that deamon script does exactly the same thing, youre trying to do manually. Atleast it should not cause anymore trouble, but remember to uncomment the #governor="ondemand" line! smile

Offline

#5 2009-09-15 07:58:29

palinux
Member
Registered: 2009-09-15
Posts: 21

Re: cpufreq-set: does not work, again

what i've done was:

pacman -S acpi_cpufreq

then, edit /etc/rc.conf


and add the module acpi_cpufreq, reboot

then it works 4 me.

(forgive my english, my natural language is spanish)

Offline

#6 2009-09-15 13:44:58

todin
Member
Registered: 2009-09-15
Posts: 1

Re: cpufreq-set: does not work, again

Hi, I'm experiencing a similar issue.
When I try to change the governor to 'ondemand' using the 'cpufreq-set -g ondemand', it doesn't show an error message, however, when I check it with cpufreq-info it turns out, that the governor hasn't changed to 'ondemand', but to 'performance'. Changing to 'powersave' works fine. Any ideas?

Offline

#7 2009-09-15 20:47:06

palinux
Member
Registered: 2009-09-15
Posts: 21

Re: cpufreq-set: does not work, again

pacman -S acpi_cpufreq


then, cpufreq-info
chek minimum and max speed of processor on "hardware limits",

then edit /etc/conf.d/cpufreq with the previous results. (min & max)

add the "cpufreq" daemon on /etc/rc.conf
and the "acpi_cpufreq" module too
and it's ready, just reboot


or if you wanna try it before
modprobe acpi_cpufreq
and then
/etc/rc.d/cpufreq start

and now you will be able to change governor speed

Last edited by palinux (2009-09-15 20:47:22)

Offline

Board footer

Powered by FluxBB