From owner-cvs-all@FreeBSD.ORG Sun Apr 6 14:22:38 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 73F2637B401; Sun, 6 Apr 2003 14:22:38 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 225EF43F75; Sun, 6 Apr 2003 14:22:37 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h36LMHLd030503; Sun, 6 Apr 2003 23:22:30 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Nate Lawson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 06 Apr 2003 13:39:27 PDT." Date: Sun, 06 Apr 2003 23:22:17 +0200 Message-ID: <30502.1049664137@critter.freebsd.dk> cc: cvs-src@FreeBSD.org cc: des@ofug.org cc: cvs-all@FreeBSD.org cc: src-committers@FreeBSD.org cc: Tor.Egge@cvsup.no.freebsd.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 21:22:39 -0000 In message , Nate Lawson wri tes: >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. It will require considerable statistics to convince me to enable TSC on SMP systems in general or by default. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.