Date: Thu, 30 Jun 2005 22:35:41 +0200 From: Jens Schweikhardt <schweikh@schweikhardt.net> To: John Baldwin <jhb@FreeBSD.org> Cc: current@freebsd.org Subject: Re: Timekeeping hosed by factor 3, high lapic[01] interrupt rates Message-ID: <20050630203541.GA764@schweikhardt.net> In-Reply-To: <200506301332.48829.jhb@FreeBSD.org> References: <20050516113420.GA786@schweikhardt.net> <200506291421.09040.jhb@FreeBSD.org> <20050629220151.GA760@schweikhardt.net> <200506301332.48829.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John et al, # > # 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. Got it. And it works! Script started on Thu Jun 30 22:21:04 2005 # /etc/rc.d/ntpd stop Stopping ntpd. # ntpdate 192.53.103.103; sleep 10; ntpdate 192.53.1031.103 30 Jun 22:21:38 ntpdate[615]: step time server 192.53.103.103 offset 0.605704 sec 30 Jun 22:21:49 ntpdate[617]: adjust time server 192.53.103.103 offset -0.003176 sec # sysctl kern.timecounter.hardware=i8254 kern.timecounter.hardware: TSC -> i8254 # ntpdate 192.53.103.103; sleep 10; ntpdate 192.53.103.103 30 Jun 22:22:27 ntpdate[629]: adjust time server 192.53.103.103 offset -0.008593 sec 30 Jun 22:22:38 ntpdate[631]: adjust time server 192.53.103.103 offset -0.006727 sec # ntpdate 192.53.103.103; sleep 10; ntpdate 192.53.103.103 30 Jun 22:22:48 ntpdate[632]: adjust time server 192.53.103.103 offset -0.004264 sec 30 Jun 22:22:59 ntpdate[634]: adjust time server 192.53.103.103 offset -0.001882 sec # vmstat -i interrupt total rate irq1: atkbd0 360 1 irq12: psm0 4114 22 irq13: npx0 1 0 irq14: ata0 68 0 irq15: ata1 82 0 irq18: em0 77 0 irq24: ahd0 4232 23 irq25: ahc0 15 0 lapic0: timer 364343 1980 Total 373292 2028 And when booting without kern.smp.disabled=1 interrupt total rate irq1: atkbd0 462 2 irq12: psm0 188 0 irq13: npx0 1 0 irq14: ata0 68 0 irq15: ata1 82 0 irq18: em0 38 0 irq24: ahd0 4553 19 irq25: ahc0 15 0 lapic0: timer 456392 1992 lapic1: timer 436538 1906 Total 898337 3922 Script done on Thu Jun 30 22:23:35 2005 If you could get this fix past re@ for 6.0 that would be nice. Thanks John and Doug, for all your support in tracking this down! Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050630203541.GA764>
