Dave Hart wrote:
> I've since realized that on this Vista laptop, the minimum step
> observed from the OS clock is 1 msec but only after starting ntpd with
> -M to use timeBeginPeriod to request 1ms timing service.  Run withouut
> -M, my hacked ntpd observes the traditional 15.mumble msec clock
> quantum.  That means the interpolation scheme should have a much
> better shot at working on Vista without -M specified.

I have used Vista-64 (and before that XP-64) on my laptop for quite 
awhile now, and atleast on this machine, I have always had better 
results without the -M timer than what I get with it enabled, so I 
always skip that part of the setup/installation.

> 
> I've also added another fix to the mix, locking both the main thread
> and the high-priority timer thread to the same (2nd) logical processor
> on computers with more than one core or processor.  There's already an

That is a very good idea, and it would even make it feasible to go back 
to RDTSC instead of QueryPerformanceCounter(), with the slight caveat 
that the TSC frequency can and will change on any machine where 
power-reducing frequency changes are allowed.

Terje

-- 
- <[email protected]>
"almost all programming can be viewed as an exercise in caching"

_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.org/mailman/listinfo/questions

Reply via email to