From owner-freebsd-arch@FreeBSD.ORG Thu Nov 4 16:34:58 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 AADD416A4CE for ; Thu, 4 Nov 2004 16:34:58 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E8D843D45 for ; Thu, 4 Nov 2004 16:34:58 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id iA4Gapcd026293; Thu, 4 Nov 2004 09:36:51 -0700 (MST) (envelope-from scottl@freebsd.org) Message-ID: <418A5A72.6020700@freebsd.org> Date: Thu, 04 Nov 2004 09:36:02 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040929 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <48555.1099585930@critter.freebsd.dk> In-Reply-To: <48555.1099585930@critter.freebsd.dk> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org 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:34:58 -0000 Poul-Henning Kamp wrote: > In message , =?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?= writes: > >>Poul-Henning Kamp writes: >> >>>So pending any really good arguments to the contrary I plan to increase >>>HZ to 1000 on i386 this weekend. >> >>two good arguments: >> >> 1) I'm already working on this, and you know it, since I asked you >> about it in Karlsruhe. > > > Ahh, sorry, I got the impression that you were not going to do it on > your own. > > >> 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? Scott