View previous topic :: View next topic |
Author |
Message |
Phk Guru


Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Thu Nov 17, 2005 12:58 am Post subject: CPUFreqd BUG!! (AC and no BATT) |
|
|
Hi there!
I'm having a strange behaviour from the cpufreqd..
Code: | cpufreqd | boot
cpufrequtils |
|
This is my "rc-update show" section about the cpufreq stuff.
The behaviour is: The daemon switches the desired frequency automatically, even when i set it to userspace mode, using
Code: | cpufreqd-set -g userspace && cpufreqd-set -f 2.53Ghz |
When i have the computer plugged to AC, the system chooses "ondemand" schedule, and keeps activating it until i
Code: | /etc/init.d/cpufreqd stop |
so it stops bothering me after that.
Why's this?
Thanks,
Phk! _________________ "# cat /dev/urandom >> /tmp/life"
Last edited by Phk on Mon Nov 21, 2005 1:48 am; edited 1 time in total |
|
Back to top |
|
 |
feivelda Guru


Joined: 21 Feb 2005 Posts: 480 Location: Frankfurt, Germany
|
Posted: Thu Nov 17, 2005 7:08 am Post subject: |
|
|
You're mixing ttwo things:
What you want to do is
Code: | cpufreq-set -g userspace && cpufreq-set -f 2.53 Ghz |
cpufreqd is a daemon to control your cpu. The config file for this is in
/etc/cpufreqd.conf
Look at this and all will be clear.
If you want to set your freq by hand, do an /etc/init.d/cpufreqd stop
before you set something with the cpufreq-set command.
Also I would suggest to use cpufreqd on the default runlevel, not on the boot |
|
Back to top |
|
 |
Phk Guru


Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Thu Nov 17, 2005 3:57 pm Post subject: |
|
|
Yes, i know the conf file you've mentioned, and i know the supposed behaviour of the Daemon.
However, there is a strange bug:
Why does it change to "ON DEMAND" or "POWER SAVE"
WHEN
i don't even have my battery plugged?
If it's on powercable, it should always be at maximum speed... don't you think?!
Phk _________________ "# cat /dev/urandom >> /tmp/life" |
|
Back to top |
|
 |
Phk Guru


Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Mon Nov 21, 2005 1:47 am Post subject: |
|
|
Well, this is INDEED a bug within cpufreqd....
Try booting with AC and no BATT plugged in.
Although the system should use it's hyperpower, it uses a 316Mhz ultra-fast-cpu
Funny, isn't it?
Cheers,
Phk _________________ "# cat /dev/urandom >> /tmp/life" |
|
Back to top |
|
 |
feivelda Guru


Joined: 21 Feb 2005 Posts: 480 Location: Frankfurt, Germany
|
Posted: Mon Nov 21, 2005 9:08 am Post subject: |
|
|
If the cpu is getting to hot, it automatically slows down the cpu
Look at the etc/cpufreqd.conf and post this file as well as an output from cpufreq-info
Cpufreqd works not like other frequency tools. It uses the kernel internal mechanism to set the cpuspeed and the kernel intern govenors. For my own opinion this is a good behavior, but I know other daemons ( I think powernow ) which have an own implementation to scale the cpu. |
|
Back to top |
|
 |
toralf Developer


Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Mon Nov 21, 2005 1:25 pm Post subject: |
|
|
Why you use an external tool instead of the well-working internal kernel governor 'ondemand' ? What is the advantage of cpufreqd compared to the feature of newer kernels ? |
|
Back to top |
|
 |
Phk Guru


Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Mon Nov 21, 2005 10:42 pm Post subject: |
|
|
toralf wrote: | Why you use an external tool instead of the well-working internal kernel governor 'ondemand' ? What is the advantage of cpufreqd compared to the feature of newer kernels ? |
Sorry but i couldn't understand you. What Internal Kernel Feature?! I have a P4 (not a normal scalable centrino), and i can only downclock my CPU if i use CPUFreqDaemon.
feivelda wrote: | If the cpu is getting to hot, it automatically slows down the cpu |
Don't worry, i'm too careful with temps and voltages O\C addiction has taken me
This IS a CpuFREQd bug. I haven't configured the /etc/cpufreqd.conf, although i've look at it and everything seemed fine.
Try this:
with a P4 Mobile (2.5Ghz normally) plug the AC cable, unplug the battery, and boot with CPUfreqD at boot
then report it back
Thanks,
Phk _________________ "# cat /dev/urandom >> /tmp/life" |
|
Back to top |
|
 |
feivelda Guru


Joined: 21 Feb 2005 Posts: 480 Location: Frankfurt, Germany
|
Posted: Tue Nov 22, 2005 1:55 pm Post subject: |
|
|
I have a 1.6 GHz P4 Mobile
I load cpufreqd in the default runlevel and have the speedstep_ich and p4-clockmod as modules ( For some scripts, first setting the voltage and then the frequency )
At my place all is running 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
|
|