From owner-freebsd-current@FreeBSD.ORG Thu Jun 30 17:43:20 2005 Return-Path: X-Original-To: freebsd-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 1906716A41C; Thu, 30 Jun 2005 17:43:20 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id A611B43D53; Thu, 30 Jun 2005 17:43:19 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.41.231] (Not Verified[65.202.103.25]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Thu, 30 Jun 2005 13:57:06 -0400 From: John Baldwin To: Jens Schweikhardt Date: Thu, 30 Jun 2005 13:32:47 -0400 User-Agent: KMail/1.8 References: <20050516113420.GA786@schweikhardt.net> <200506291421.09040.jhb@FreeBSD.org> <20050629220151.GA760@schweikhardt.net> In-Reply-To: <20050629220151.GA760@schweikhardt.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506301332.48829.jhb@FreeBSD.org> Cc: freebsd-current@FreeBSD.org, phk@FreeBSD.org Subject: Re: Timekeeping hosed by factor 3, high lapic[01] interrupt rates 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: Thu, 30 Jun 2005 17:43:20 -0000 On Wednesday 29 June 2005 06:01 pm, Jens Schweikhardt wrote: > John et al, > > # Well, that's certainly weird. I got those types of numbers (~40 secs) > when I # was using the broken patch. Without any patches at all, my > adjustments were # -100 seconds, not +40. There probably should be at > least some difference # between unpatched and patched. For the sake of my > sanity, can you please # build a GENERIC kernel from scratch without any > patches and capture the above # output > > > (last cvsup about 2 weeks ago) > Script started on Wed Jun 29 23:45:39 2005 > # uname -a > FreeBSD hal9000.schweikhardt.net 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Wed > Jun 29 23:32:05 CEST 2005 > toor@hal9000.schweikhardt.net:/share/HEAD/obj/share/HEAD/src/sys/GENERIC > i386 # /etc/rc.d/ntpd stop > Stopping ntpd. > # ntpdate 192.53.103.103; sleep 10; ntpdate 192.53.103.103 > 29 Jun 23:46:28 ntpdate[620]: adjust time server 192.53.103.103 offset > -0.408871 sec 29 Jun 23:46:39 ntpdate[622]: adjust time server > 192.53.103.103 offset -0.407218 sec # sysctl > kern.timecounter.hardware=i8254 > kern.timecounter.hardware: TSC -> i8254 > # ntpdate 192.53.103.103; sleep 10; ntpdate 192.53.103.103 > 29 Jun 23:47:01 ntpdate[624]: step time server 192.53.103.103 offset > 1.356553 sec 29 Jun 23:48:02 ntpdate[626]: step time server 192.53.103.103 > offset 50.226572 sec # sysctl kern.timecounter.hardware=TSC > kern.timecounter.hardware: i8254 -> TSC > # ntpdate 192.53.103.103; sleep 10; ntpdate 192.53.103.103 > 29 Jun 23:48:10 ntpdate[628]: step time server 192.53.103.103 offset > 3.169196 sec 29 Jun 23:48:21 ntpdate[630]: adjust time server > 192.53.103.103 offset 0.001696 sec Script done on Wed Jun 29 23:48:31 2005 Hmm, about 50 seconds there. > # and then apply http://www.FreeBSD.org/~jhb/patches/i8254_lapic.patch > # and rebuild and capture the same output again? > > 404. There's only a lapic_timer.patch dated 14-Jan-2005 20:29... > Please don't lose your sanity :-) Ah, uploading it now. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org