Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Mar 2006 06:13:33 +0000
From:      "Ben Kaduk" <minimarmot@gmail.com>
To:        "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc:        Mike Jakubik <mikej@rogers.com>, freebsd-current@freebsd.org
Subject:   Re: Still seeing "calcru: runtime went backwards" messages
Message-ID:  <47d0403c0603012213o32b6d6d0m6ab4207de9134577@mail.gmail.com>
In-Reply-To: <15841.1141279248@critter.freebsd.dk>
References:  <200603011724.08214.jhb@freebsd.org> <15841.1141279248@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/2/06, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <200603011724.08214.jhb@freebsd.org>, John Baldwin writes:
>
> >Maybe we could make the dynamic flag for the tsc controllable via tunabl=
e?
>
> Ideally ACPI would tell us the max TSC frequency and the TSC wouldn't nee=
d
> to be marked variable. Havn't had time to look at this yet though.
>
> >If I have a server machine without any fancy pentium-m cpufreq type stuf=
f,
> >then I would rather just use the tsc frequency snapshot taken at boot an=
d
> >just stick with that as the static frequency then have a bunch of warnin=
gs
> >on the console if the max freq changes sometime later.
>
> Right, I would actually prefer to try to make the calibration more precis=
e
> first, rather than add yet another knob for roots to remember to tweak.
>
> >Also, note that
> >I am still getting a bunch of the backwards messages on my DS20 Alpha wh=
ich
> >is _not_ using the TSC. :)
>
> That's interesting...  Alpha should be using the timecounter and that
> is not marked "variable".
>
> My alpha hasn't been able to boot in a long time now :-(
>
> > (I should probably fix Alpha to use its own
> >version of the TSC at some point, but for now I want to get it to stop
> >spitting out the warnings when using the timecounters as that shouldn't
> >be causing any warnings).
>
> I'd be tempted to just supress the warning if the negative delta is less
> than 3usec (for some value of 3).

Could not one put in a counter variable and only print the message
every 50 times it happens (for some value of 50)?

Ben Kaduk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47d0403c0603012213o32b6d6d0m6ab4207de9134577>