From owner-freebsd-bugs Mon Aug 27 12:23:32 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 90CD537B40A for ; Mon, 27 Aug 2001 12:23:27 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 27 Aug 2001 20:23:26 +0100 (BST) Date: Mon, 27 Aug 2001 20:23:26 +0100 From: David Malone To: Martin Blapp 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> References: <200108271750.f7RHo2j29464@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200108271750.f7RHo2j29464@freefall.freebsd.org>; from mb@imp.ch on Mon, Aug 27, 2001 at 10:50:02AM -0700 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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