From owner-freebsd-current@FreeBSD.ORG Fri Oct 28 10:25:39 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 88D0C16A41F for ; Fri, 28 Oct 2005 10:25:39 +0000 (GMT) (envelope-from pertti.kosunen@pp.nic.fi) Received: from pne-smtpout2-sn2.hy.skanova.net (pne-smtpout2-sn2.hy.skanova.net [81.228.8.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id D63A643D5F for ; Fri, 28 Oct 2005 10:25:36 +0000 (GMT) (envelope-from pertti.kosunen@pp.nic.fi) Received: from [192.168.0.20] (84.249.3.49) by pne-smtpout2-sn2.hy.skanova.net (7.2.060.1) id 4360E00A000394BF; Fri, 28 Oct 2005 12:25:34 +0200 Message-ID: <4361FCA0.8040403@pp.nic.fi> Date: Fri, 28 Oct 2005 13:25:36 +0300 From: Pertti Kosunen User-Agent: Mozilla Thunderbird 1.0.2 / FreeBSD 6.0-BETA5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <30622.1130493370@critter.freebsd.dk> In-Reply-To: <30622.1130493370@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 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 10:25:39 -0000 Poul-Henning Kamp wrote: >Not apart from the CPU overhead. > > sysctl kern.timecounter.hardware > >is much more important. > >and all the reports here which fail to include it are mostly >useless. > I have: kern.timecounter.hardware: TSC ( null function: 0.01060 getpid(): 0.41378 time(): 0.66705 gettimeofday(): 0.64459 FreeBSD 6.0-BETA5 #1: Sun Oct 9 13:09:23 EEST 2005 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(TM)Processor (1009.95-MHz 686-class CPU) )