From owner-cvs-all@FreeBSD.ORG Sun Apr 6 13:39:27 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0809C37B401 for ; Sun, 6 Apr 2003 13:39:27 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 0DCB043F85 for ; Sun, 6 Apr 2003 13:39:26 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 23373 invoked by uid 1000); 6 Apr 2003 20:39:27 -0000 Date: Sun, 6 Apr 2003 13:39:27 -0700 (PDT) From: Nate Lawson To: Tor.Egge@cvsup.no.freebsd.org In-Reply-To: <20030406152554B.tegge@cvsup.no.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: des@ofug.org Subject: Re: cvs commit: src/sys/conf options.i386 src/sys/i386/i386 tsc.c src/sys/i386/conf NOTES X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2003 20:39:27 -0000 On Sun, 6 Apr 2003 Tor.Egge@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