Subject: Re: Need help with timecounters/todr
To: Garrett D'Amore <email@example.com>
From: Tobias Nygren <firstname.lastname@example.org>
Date: 09/16/2006 14:06:04
Garrett D'Amore wrote:
> I could use some help with todr and timecounters on alpha. Any intrepid
> souls want to help tackle it? SMP expertise would be helpful.
I actually did a semi-working implementation a couple of weeks
ago, before the generic todr changes.
While the old patch works in uniprocessor mode the algorithm
wasn't very well thought-through. I've made some major
improvements since then. I will clean up the new patch and
post it if someone wants to try it.
I think for some alpha machines that provide an i8254 timer it
would be nice to be able to use it. But for this the i8254 code
needs to be made MI. Maybe this is already work-in-progress?
SMP box running my local pcc timecounter patches:
assID=0 status=06f4 leap_none, sync_ntp, 15 events, event_peer/strat_chg,
version="ntpd 4.2.2p2-o Fri Aug 25 15:11:34 GMT 2006 (1)",
processor="alpha", system="NetBSD/4.99.1", leap=00, stratum=2,
precision=-19, rootdelay=6.355, rootdispersion=47.683, peer=63146,
reftime=c8b66191.defe12f1 Sat, Sep 16 2006 13:42:09.871, poll=10,
clock=c8b664e5.160989b9 Sat, Sep 16 2006 13:56:21.086, state=4,
offset=11.155, frequency=11.421, jitter=4.069, noise=3.572,