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

From: Alexander Leidinger (Alexander_at_Leidinger.net)
Date: 10/28/05

  • Next message: David Xu: "Re: Timers and timing, was: MySQL Performance 6.0rc1"
    Date: Fri, 28 Oct 2005 15:34:57 +0200
    To: Poul-Henning Kamp <phk@phk.freebsd.dk>
    
    

    Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:

    > In message <20051028112833.7vs98zpvy808s04k@netchild.homeip.net>,
    > Alexander Lei
    > dinger writes:
    >> Hi,
    >>
    >> I switched the timecounter used to use the TSC instead of the ACPI one
    >> (/etc/sysctl.conf). After rebooting powerd refused to start. I removed the
    >> line which changes the timecounter in sysctl.conf and powerd starts again.
    >>
    >> Is this expected, or is this a bug?
    >>
    >> If this is expected:
    >> - powerd fails with an unhelpful message
    >
    > Alexander sends unhelpful bug report without including unhelpful message :-)

    :-)

    I don't have the message at hand. I just had time to write the mail, but I
    don't have my laptop with me to reproduce the message. But it's easy to
    reproduce, just take a PC which is able to make use of powerd and switch to
    using TSC as the timecounter.

    > 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?

    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)?

    Bye,
    Alexander.

    -- 
    http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
    http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
    The relative importance of files depends on their cost
    in terms of the human effort needed to regenerate them.
    		-- T.A. Dolotta
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: David Xu: "Re: Timers and timing, was: MySQL Performance 6.0rc1"

    Relevant Pages