Re: Laptops & CPU frequency

From: Robert Love
Date: Sat Jan 10 2004 - 22:18:58 EST


On Sat, 2004-01-10 at 21:56, jlnance@xxxxxxxxxxxxxx wrote:

> The frequency displayed in /proc/cpuinfo does not change if the AC
> adapter is toggled on or off after the machine has booted. It stays
> in the same mode as it was booted into. I am curious if this is because
> the CPU frequency really is not changing, or if it is because the
> number in /proc/cpuinfo is only calculated at boot.

The MHz value in /proc/cpuinfo should be updated as the CPU speed
changes - that is, it is not calculated just at boot, but it is updated
as the speed actually changes.

You probably have some issue in your power management scripts - Fedora
should scale the CPU speed back as soon as you remove AC power, not just
at boot if not on AC.

Robert Love


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/