CPU Frequency Scaling

Callum Lerwick seg at haxxed.com
Mon Dec 4 11:40:02 UTC 2006


On Sat, 2006-12-02 at 22:03 -0500, Jon Nettleton wrote:
> The kernel has had the scaling governor modules for a while now and I am
> not sure why Fedora is still relying on the cpuspeed daemon by default.
> If anyone in the know could answer that question I would appreciate it.

On my wife's eMachines m6805, running FC6 x86_64, it boots up with
ondemand enabled automagically. It seems to be built into the kernel?
Its not listed as a module.

On my Athlon 64 3000+ desktop, it doesn't work out of the box. Being a
desktop, the native PowerNow driver doesn't seem to work but ACPI does.
It only has two speeds, 2ghz and 1ghz. I found the cpuspeed demon will
flap up and down by default, as its doesn't tune itself to the actual
speed difference. I shouldn't have to tune *anything*. I dumped it in
favor of loading and enabling ondemand in rc.local, it doesn't seem to
have such flapping problems.

Another point against userspace is the recent crusade against context
switching. A bit ironically, all the userspace polling sends context
switching through the roof. In theory, I don't know how its actually
implemented, but the kernel governor could run alongside and interact
with the kernel scheduler directly, without adding additional context
switching and without icky polling.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20061204/ae18509f/attachment.sig>


More information about the fedora-devel-list mailing list