From owner-freebsd-arch@FreeBSD.ORG Thu Nov 4 16:36:54 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAEA516A4CE; Thu, 4 Nov 2004 16:36:54 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2534A43D41; Thu, 4 Nov 2004 16:36:54 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id iA4Gardc048658; Thu, 4 Nov 2004 17:36:53 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Scott Long From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 04 Nov 2004 09:36:02 MST." <418A5A72.6020700@freebsd.org> Date: Thu, 04 Nov 2004 17:36:53 +0100 Message-ID: <48657.1099586213@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= cc: arch@freebsd.org Subject: Re: HEADSUP: HZ=1000 by default on i386 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 16:36:54 -0000 In message <418A5A72.6020700@freebsd.org>, Scott Long writes: >>> 2) 1000 is not a good choice, because we can't approximate it well >>> with the 8254. 1268 is better, 1381 is even better, 1903 is the >>> best we can do between 1000 and 2000, 2299 is the best we can do >>> between 1000 and 5000. >> >> I played with it here and found that 1000 actually works better than 941. >> (1193182 / 941 ~= 1268) because the 941 gives a slow beat against 1Hz. >> >> It is actually preferable to have a fast beat (jitter) than a slow >> beat (wander), particularly for people doing benchmarks. >> >> Poul-Henning > >What timing hardware is used on amd64? Would it suffer there too? I only tested on i386, but any platform would suffer from this kind of syncronism/syntonism. -- 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.