TSC instead of ACPI: powerd doesn't work anymore (to be expected?)

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Oct 28 07:21:18 PDT 2005


In message <20051028153457.d0wqgn2ask4sgw4k at netchild.homeip.net>, Alexander Lei
dinger writes:

>> In general, if you run powerd to change your cpu clock (= TSC
>> frequency), using TSC as timecounter is _not_ what you want to do.
>
>Is it not possible to recalibrate on frequency change, or is it "just" that
>nobody wrote the code do to it?

It's all a matter of what precision you want and how sensitive you
are to jumps.

Making it work in one specific (well chosen) machine is possible,
making it work in general across all possible types of PC hardware
is not.

>We need to document this in the powerd man-page and let powerd tell the user
>if he tries to run in this unsupported mode. Any volunteers (I'm moving my
>PC's to the new appartment at the weekend, so I can't volunteer)?

Our defaults do the right thing I belive.  It's only when the user
overrides the defaults that bad things happen.

-- 
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 freebsd-current mailing list