From owner-cvs-src@FreeBSD.ORG Sun Apr 6 15:04:04 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70BB637B401; Sun, 6 Apr 2003 15:04:04 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70CBF43FAF; Sun, 6 Apr 2003 15:04:03 -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 h36M3xLd030950; Mon, 7 Apr 2003 00:03:59 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Dag-Erling Smorgrav From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 06 Apr 2003 23:32:40 +0200." Date: Mon, 07 Apr 2003 00:03:59 +0200 Message-ID: <30949.1049666639@critter.freebsd.dk> cc: cvs-src@FreeBSD.org cc: Tor.Egge@cvsup.no.freebsd.org cc: cvs-all@FreeBSD.org cc: src-committers@FreeBSD.org cc: Nate Lawson Subject: Re: cvs commit: src/sys/conf options.i386 src/sys/i386/i386 tsc.c src/sys/i386/conf NOTES X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2003 22:04:04 -0000 In message , Dag-Erling Smorgrav writes: >--=-=-= > >Nate Lawson writes: >> 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. > >There wouldn't be much point in that unless the SMP_TSC option also >forced the TSC to be selected at boot time. On most SMP systems, the >PIIX timecounter is automatically selected by virtue of being >discovered last. It is specifically discovered last because it should be used if at all possible. >I must have bad benchmark karma, BTW - I can see no reduction of >context switch time or any other significant performance boost when >using the TSC on my dual Celeron system. There is a big difference if you get to use "ACPI-fast" (correctly implemented hardware) instead of "ACPI-safe" (buggy hardware). -- 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.