Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2001 20:23:26 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Martin Blapp <mb@imp.ch>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/30135: Time drifting on STABLE SMP when calling gettimeofday
Message-ID:  <20010827202326.A99505@walton.maths.tcd.ie>
In-Reply-To: <200108271750.f7RHo2j29464@freefall.freebsd.org>; from mb@imp.ch on Mon, Aug 27, 2001 at 10:50:02AM -0700
References:  <200108271750.f7RHo2j29464@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 27, 2001 at 10:50:02AM -0700, Martin Blapp wrote:
>  But why does gettimeofday() modify the system counter
>  only on SMP systems ?

Can you see what "sysctl kern.timecounter.hardware" outputs under
SMP and UP on that machine? I'd expect the SMP one to say "i8254"
and the UP one to say "TSC". When running UP you could try changing
the timecounter to whatever is in use under SMP and see if the problem
can then be reproduced under UP.

	David.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010827202326.A99505>