Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jun 2005 00:01:51 +0200
From:      Jens Schweikhardt <schweikh@schweikhardt.net>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Timekeeping hosed by factor 3, high lapic[01] interrupt rates
Message-ID:  <20050629220151.GA760@schweikhardt.net>
In-Reply-To: <200506291421.09040.jhb@FreeBSD.org>
References:  <20050516113420.GA786@schweikhardt.net> <200506281729.22302.jhb@FreeBSD.org> <20050629174243.GA762@schweikhardt.net> <200506291421.09040.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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

# 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 :-)

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?20050629220151.GA760>