From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 4 02:13:37 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37B0237B401 for ; Wed, 4 Jun 2003 02:13:37 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id E323543F3F for ; Wed, 4 Jun 2003 02:13:35 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from lanczos.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 4 Jun 2003 10:12:18 +0100 (BST) Date: Wed, 4 Jun 2003 10:12:02 +0100 From: David Malone To: gson@nominum.com MMDF-Warning: Unable to confirm address in 'To' line at salmon.maths.tcd.ie Message-ID: <20030604091202.GA33362@lanczos.maths.tcd.ie> References: <200306032110.h53LAEtA068006@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200306032110.h53LAEtA068006@freefall.freebsd.org> User-Agent: Mutt/1.5.3i Sender: dwmalone@maths.tcd.ie cc: freebsd-bugs@FreeBSD.org Subject: Re: misc/34596: slow gettimeofday in FreeBSD 4.5 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 09:13:37 -0000 On Tue, Jun 03, 2003 at 02:10:14PM -0700, gson@nominum.com wrote: > That's more than 5 microseconds on a 2.8 GHz processor, or more than > 14000 clock cycles per call. > > Other info: > > $ grep -i time /var/run/dmesg.boot > Timecounter "i8254" frequency 1193182 Hz > $ sysctl kern.timecounter > kern.timecounter.method: 0 > kern.timecounter.hardware: i8254 What happens if you try "sysctl kern.timecounter.hardware=TSC"? David.