cvs commit: src/sys/conf options.i386 src/sys/i386/i386 tsc.c src/sys/i386/conf NOTES

Nate Lawson nate at root.org
Sun Apr 6 13:39:27 PDT 2003


On Sun, 6 Apr 2003 Tor.Egge at cvsup.no.freebsd.org wrote:
> > Is there a simple procedure to determine whether the TSCs on any given
> > multi-CPU machine are synchronized?
> 
> Ensure that the TSCs are used, then run a program which calls
> gettimeofday() in a loop and prints an error message each time the
> clock steps backwards.  Repeat procedure after 1 day of uptime.

Perhaps you could enable this option by default if it had a corresponding
check for drift that would disable it if things got out of hand.

-Nate



More information about the cvs-src mailing list