From owner-freebsd-current@FreeBSD.ORG Sat Aug 21 18:05:20 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CDA516A4CE; Sat, 21 Aug 2004 18:05:20 +0000 (GMT) Received: from sardine.webcom.it (gen053.n002.c03.escapebox.net [213.73.82.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4358743D64; Sat, 21 Aug 2004 18:05:20 +0000 (GMT) (envelope-from "") Received: from [213.140.17.96] (helo=brian) by webcom.it with asmtp (Exim 3.36 #1) id 1ByaEx-000665-00; Sat, 21 Aug 2004 18:05:19 +0000 Resent-From: andrea@webcom.it Resent-Date: Sat, 21 Aug 2004 20:05:16 +0200 Resent-Message-ID: <20040821180516.GD690@webcom.it> Resent-To: Peter Jeremy , Robert Watson , current@freebsd.org Date: Sun, 15 Aug 2004 09:57:57 +0200 From: Andrea Campi To: Peter Jeremy Message-ID: <20040815075757.GA657@webcom.it> References: <20040815074616.GJ423@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040815074616.GJ423@cirb503493.alcatel.com.au> User-Agent: Mutt/1.5.6i Received: from andrea by webcom.it with asmtp (Exim 3.36 #1) id 1ByaEx-000665-00; Sat, 21 Aug 2004 18:05:19 +0000 cc: Robert Watson cc: current@freebsd.org Subject: Re: Summary of discussion of harvester/random locking and performance optimization X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2004 18:05:20 -0000 On Sun, Aug 15, 2004 at 05:46:16PM +1000, Peter Jeremy wrote: > >systems may not have a TSC, and insead read the system clock (ouch!). We > >may want to investigate what approaches we can use to mitigate this, > >especially if systems like soekris boxes don't have TSC. > > in efficiently supporting the i486. If the various low-end iA32 clones > do support the TSC, there seems little point in changing the status quo. Since nobody chimed in yet, my Soekris box has: kern.timecounter.stepwarnings: 0 kern.timecounter.nbinuptime: 76822456 kern.timecounter.nnanouptime: 2 kern.timecounter.nmicrouptime: 2728 kern.timecounter.nbintime: 2659850 kern.timecounter.nnanotime: 596 kern.timecounter.nmicrotime: 2659254 kern.timecounter.ngetbinuptime: 15352306 kern.timecounter.ngetnanouptime: 3901 kern.timecounter.ngetmicrouptime: 278552 kern.timecounter.ngetbintime: 0 kern.timecounter.ngetnanotime: 0 kern.timecounter.ngetmicrotime: 15 kern.timecounter.nsetclock: 5 kern.timecounter.hardware: i8254 kern.timecounter.choice: ELAN(-2000) i8254(0) dummy(-1000000) kern.timecounter.tick: 1 This is the ELAN-based model, which is a 486 class CPU. More powerful models might or might not have the TSC. I haven't investigated the cost/benefit of using ELAN timecounter instead of i8254. Bye, andrea -- I believe the technical term is "Oops!"