cvs commit: src/sys/i386/cpufreq est.c

Poul-Henning Kamp phk at
Mon Mar 17 13:40:22 PDT 2008

In message <200803171635.51748.jhb at>, John Baldwin writes:

>Err, actually, it's the other way around.  On previous releases the BIOS is 
>going to set your CPU to a lower speed on boot to save battery (on a laptop 
>not connected to A/C during boot).

John, you are right about laptops, but people with laptops know power
management is part of the job.

Nobody would ever dream of having to run powerd on a server, in particular
not to get _full_ performance.

If you can find some way to detect if we are on a server or a laptop,
I'm fine with divergent defaults.

But given that suspend/resume has barely worked for any new laptop
for 18 months, I can't really justify hurting the servers for the
laptops on this issue.

Please also note that p4tcc.c driver has done the same thing all along,
no matter what the bios hat set, it would set 100%.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the cvs-src mailing list