Date: Thu, 30 Jun 2005 13:32:47 -0400 From: John Baldwin <jhb@FreeBSD.org> To: Jens Schweikhardt <schweikh@schweikhardt.net> Cc: freebsd-current@FreeBSD.org, phk@FreeBSD.org Subject: Re: Timekeeping hosed by factor 3, high lapic[01] interrupt rates Message-ID: <200506301332.48829.jhb@FreeBSD.org> In-Reply-To: <20050629220151.GA760@schweikhardt.net> References: <20050516113420.GA786@schweikhardt.net> <200506291421.09040.jhb@FreeBSD.org> <20050629220151.GA760@schweikhardt.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506301332.48829.jhb>
