Skip to contentSkip to conversation

cpufreq default governor

DISCUSSION William Heimbigner 4 participants 9 messages Apr 24, 2007 – Apr 25, 2007

lore
Share & tools
lore
#0 lore raw

Question: is there some reason that kconfig does not allow for default governors of conservative/ondemand/powersave? I'm not aware of any reason why one of those governors could not be used as default.

William Heimbigner
[email protected]

#1 lore raw

Hi William,

Quoted 2 lines · William Heimbigner

Question: is there some reason that kconfig does not allow for default governors of conservative/ondemand/powersave?

Performance?

Quoted 2 lines

I'm not aware of any reason why one of those governors could not be used as default.

My hardware doesn't work properly with ondemand governor. I hear strange noises when frequency is changed.

Quoted 3 lines

William Heimbigner
[email protected]

Regards,
Michal

Signature · 5 lines
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
#2 lore raw
Quoted 6 lines · Michal Piotrowski

Hi William,

Quoted 2 lines · William Heimbigner

Question: is there some reason that kconfig does not allow for default governors of conservative/ondemand/powersave?

Quoted 8 lines

Performance?

Quoted 2 lines

I'm not aware of any reason why one of those governors could not be used as default.

My hardware doesn't work properly with ondemand governor. I hear strange noises when frequency is changed.

That doesn't mean it isn't working, though. I here weird noises if the cpu is clocked anywhere from 333MHz to 1GHz (sounds like an RD-D2 beeping noises in ultra high pitch?)

William Heimbigner
[email protected]

#3 lore raw
Quoted 10 lines · William Heimbigner
Quoted 8 lines · Michal Piotrowski

Hi William,

Quoted 2 lines · William Heimbigner

Question: is there some reason that kconfig does not allow for default governors of conservative/ondemand/powersave?

Performance?

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

I'm not aware of any reason why one of those governors could not be used as default.

My hardware doesn't work properly with ondemand governor. I hear strange noises when frequency is changed.

That doesn't mean it isn't working, though.

I didn't say that cpufreq ondemand is broken. It's a hardware problem.

Quoted 3 lines

I here weird noises if the cpu
is clocked anywhere from 333MHz to 1GHz (sounds like an RD-D2 beeping noises in ultra high pitch?)

Yes, something like that.

Quoted 4 lines

William Heimbigner
[email protected]

Regards,
Michal

Signature · 5 lines
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
#4 lore raw
Quoted 22 lines · Michal Piotrowski
Quoted 15 lines · William Heimbigner
Quoted 13 lines · Michal Piotrowski

Hi William,

Quoted 3 lines · William Heimbigner

Question: is there some reason that kconfig does not allow for default
governors of conservative/ondemand/powersave?

Performance?

Quoted 3 lines

I'm not aware of any reason why one of those governors could not be used
as default.

Quoted 5 lines
Quoted 3 lines

My hardware doesn't work properly with ondemand governor. I hear strange noises when frequency is changed.

That doesn't mean it isn't working, though.

Quoted 7 lines

I didn't say that cpufreq ondemand is broken. It's a hardware problem.

Quoted 3 lines

I here weird noises if the cpu
is clocked anywhere from 333MHz to 1GHz (sounds like an RD-D2 beeping noises in ultra high pitch?)

Yes, something like that.

Is it actually "not working" though, even at the hardware level? To my knowledge those noises are normal, and aren't even signs of a harware problem. I believe it is the natural result of changing frequencies at any time. If you change frequencies, especially in the low end of available frequencies, you should hear a very brief noise. A governor such as ondemand, which is rapidly switching the frequency from say, 333 MHz to 2.66 GHz, is likely to make this much more noticable.

William Heimbigner
[email protected]

#5 lore raw
Quoted 26 lines · William Heimbigner
Quoted 24 lines · Michal Piotrowski
Quoted 15 lines · William Heimbigner
Quoted 13 lines · Michal Piotrowski

Hi William,

Quoted 3 lines · William Heimbigner

Question: is there some reason that kconfig does not allow for default
governors of conservative/ondemand/powersave?

Performance?

Quoted 3 lines

I'm not aware of any reason why one of those governors could not be used
as default.

Quoted 5 lines
Quoted 3 lines

My hardware doesn't work properly with ondemand governor. I hear strange noises when frequency is changed.

That doesn't mean it isn't working, though.

I didn't say that cpufreq ondemand is broken. It's a hardware problem.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

I here weird noises if the cpu
is clocked anywhere from 333MHz to 1GHz (sounds like an RD-D2 beeping noises in ultra high pitch?)

Yes, something like that.

Is it actually "not working" though, even at the hardware level?

It works, but for me this sounds are very weird ;)

Quoted 7 lines

To my
knowledge those noises are normal, and aren't even signs of a harware problem. I believe it is the natural result of changing frequencies at any time. If you change frequencies, especially in the low end of available frequencies, you should hear a very brief noise. A governor such as ondemand, which is rapidly switching the frequency from say, 333 MHz to 2.66 GHz, is likely to make this much more noticable.

Ok, it might be normal behavior. I might be wrong, but IMO users prefer speed and no strange sounds as default setting.

Quoted 4 lines

William Heimbigner
[email protected]

Regards,
Michal

Signature · 5 lines
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
#6 lore raw
Quoted 46 lines · Michal Piotrowski
Quoted 27 lines · William Heimbigner
Quoted 25 lines · Michal Piotrowski
Quoted 16 lines · William Heimbigner
Quoted 14 lines · Michal Piotrowski

Hi William,

Quoted 3 lines · William Heimbigner

Question: is there some reason that kconfig does not allow for default
governors of conservative/ondemand/powersave?

Performance?

Quoted 4 lines

I'm not aware of any reason why one of those governors could not be
used
as default.

Quoted 5 lines
Quoted 3 lines

My hardware doesn't work properly with ondemand governor. I hear strange noises when frequency is changed.

That doesn't mean it isn't working, though.

I didn't say that cpufreq ondemand is broken. It's a hardware problem.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

I here weird noises if the cpu
is clocked anywhere from 333MHz to 1GHz (sounds like an RD-D2 beeping noises in ultra high pitch?)

Yes, something like that.

Is it actually "not working" though, even at the hardware level?

It works, but for me this sounds are very weird ;)

Quoted 7 lines

To my
knowledge those noises are normal, and aren't even signs of a harware problem. I believe it is the natural result of changing frequencies at any time. If you change frequencies, especially in the low end of available frequencies, you should hear a very brief noise. A governor such as ondemand, which is rapidly switching the frequency from say, 333 MHz to 2.66 GHz, is likely to make this much more noticable.

Quoted 2 lines

Ok, it might be normal behavior. I might be wrong, but IMO users prefer speed and no strange sounds as default setting.

I agree! My suggestion, however, is that if they do want a different scheduler as the default, they can choose one.

There are some cases in which this could be very useful. A couple examples would be the processor with poor cooling that overheats easily, or a laptop with a poor battery.

However, on second thought with regards to Kconfig, would it be feasible to have performance always be the default, unless a "cpufreqgov=conservative" arguement was specified on the command line?

This would be less susceptible to users complaining that their cpu is chirping all of a sudden.

William Heimbigner
[email protected]

#7 lore raw
Quoted 57 lines · William Heimbigner
Quoted 46 lines · Michal Piotrowski
Quoted 27 lines · William Heimbigner
Quoted 25 lines · Michal Piotrowski
Quoted 16 lines · William Heimbigner
Quoted 14 lines · Michal Piotrowski

Hi William,

Quoted 3 lines · William Heimbigner

Question: is there some reason that kconfig does not allow for default
governors of conservative/ondemand/powersave?

Performance?

Quoted 4 lines

I'm not aware of any reason why one of those governors could not be
used
as default.

Quoted 5 lines
Quoted 3 lines

My hardware doesn't work properly with ondemand governor. I hear strange noises when frequency is changed.

That doesn't mean it isn't working, though.

I didn't say that cpufreq ondemand is broken. It's a hardware problem.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

I here weird noises if the cpu
is clocked anywhere from 333MHz to 1GHz (sounds like an RD-D2 beeping noises in ultra high pitch?)

Yes, something like that.

Is it actually "not working" though, even at the hardware level?

It works, but for me this sounds are very weird ;)

Quoted 7 lines

To my
knowledge those noises are normal, and aren't even signs of a harware problem. I believe it is the natural result of changing frequencies at any time. If you change frequencies, especially in the low end of available frequencies, you should hear a very brief noise. A governor such as ondemand, which is rapidly switching the frequency from say, 333 MHz to 2.66 GHz, is likely to make this much more noticable.

Quoted 2 lines

Ok, it might be normal behavior. I might be wrong, but IMO users prefer speed and no strange sounds as default setting.

I agree! My suggestion, however, is that if they do want a different scheduler as the default, they can choose one.

There are some cases in which this could be very useful. A couple examples would be the processor with poor cooling that overheats easily, or a laptop with a poor battery.

Quoted 6 lines

However, on second thought with regards to Kconfig, would it be feasible to have performance always be the default, unless a "cpufreqgov=conservative" arguement was specified on the command line?

This would be less susceptible to users complaining that their cpu is chirping all of a sudden.

I'm all for the ability to set the default to whatever governor the user wants. I _always_ run my laptops with the ondemand governor, my Pentium M-based PVR runs with ondemand too, and only my old P4 box doesn't because it's pointless. If you're running servers that _aren't_ going to be idle most of the time, then by all means set your default to performance, or just don't enable cpufreq at all, but give the rest of us the option.

Particularily with laptops, I've always wanted the kernel to boot and immediately slow the CPU down, even if all I do is boot into single user mode, or even bypass init altogether. This will give best battery life and coolest operation out of the box without having to rely on userland whatsoever.

I had an old laptop a while back that _would_ overheat and shutdown within a couple of minutes, even though idle, if booted to single user mode because the cpu freq wasn't slowed down.

Signature · 1 line
Ian Morgan
#8 lore raw
In reply to William Heimbigner
Quoted 7 lines · William Heimbigner

Is it actually "not working" though, even at the hardware level? To my knowledge those noises are normal, and aren't even signs of a harware problem. I believe it is the natural result of changing frequencies at any time. If you change frequencies, especially in the low end of available frequencies, you should hear a very brief noise. A governor such as ondemand, which is rapidly switching the frequency from say, 333 MHz to 2.66 GHz, is likely to make this much more noticable.

It's only normal if your vendor used cheap noisy components. This would be a fatal flaw for a system that was intended for audio production for example.

Lee