From owner-freebsd-current@FreeBSD.ORG Fri Oct 28 20:19:00 2005 Return-Path: X-Original-To: current@freebsd.org 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 6DD3A16A41F for ; Fri, 28 Oct 2005 20:19:00 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A8FB43D46 for ; Fri, 28 Oct 2005 20:18:59 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id j9SKIwrM060616; Fri, 28 Oct 2005 13:18:58 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id j9SKIvfP060615; Fri, 28 Oct 2005 13:18:57 -0700 (PDT) (envelope-from jmg) Date: Fri, 28 Oct 2005 13:18:57 -0700 From: John-Mark Gurney To: Michael VInce Message-ID: <20051028201857.GQ4115@funkthat.com> Mail-Followup-To: Michael VInce , current@freebsd.org References: <30622.1130493370@critter.freebsd.dk> <4361FA1C.1070103@freebsd.org> <4361FDBE.7000500@freebsd.org> <43621A8E.1060006@roq.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43621A8E.1060006@roq.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: current@freebsd.org Subject: Re: Timers and timing, was: MySQL Performance 6.0rc1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 20:19:00 -0000 Michael VInce wrote this message on Fri, Oct 28, 2005 at 22:33 +1000: > Hey guys, I been watching this thread and I can confirm that MySQL and > the Super-smack benchmark greatly rely on this, > I was able to increase performance %600 by changing > kern.timecounter.hardware to dummy. This is probably because dummy doesn't actually do any real timecounting... and that the times that the benchmark took was longer then reported by the machine.. dummy just increments a counter, and means that the times returned only have a relation to how often/much the time "hardware" was queried... Use a stopwatch to time the benchmark, and make sure that the time the benchmark took agrees with what the computer says... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."