From owner-freebsd-arch Wed May 16 19:56: 2 2001 Delivered-To: freebsd-arch@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 962DF37B422; Wed, 16 May 2001 19:55:48 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f4H2tmM57663; Wed, 16 May 2001 19:55:48 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 35895380E; Wed, 16 May 2001 19:55:48 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Nik Clayton Cc: Matt Dillon , Bruce Evans , Terry Lambert , dave , freebsd-questions@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: Gettimeofday Again... In-Reply-To: <20010517012753.A99822@catkin.nothing-going-on.org> Date: Wed, 16 May 2001 19:55:48 -0700 From: Peter Wemm Message-Id: <20010517025548.35895380E@overcee.netplex.com.au> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nik Clayton wrote: > On Wed, May 16, 2001 at 10:43:14AM -0700, Matt Dillon wrote: > > I don't change the timercounter method defaults, and I sure hope you > > aren't advocating that people change their timecounter defaults. If > > the TSC is a reasonable default, the system should figure it out and > > use it without requiring intervention. > > At the risk of going off at a slight tangent, TSC is not a good default > on some hardware. In particular, at least some laptops will start to > gain or lose time almost immediately they boot if the timecounter is set > to TSC. It has to be set to i8254 in /etc/sysctl.conf. This is covered > in the FAQ. FYI: Pentium4 cpus have: Features=0x3febfbff,ACC> The last one is interesting. As I understand it, ACC ("Auto Clock Correction") allows for TSC correction in spite of varying cpu clocks. This is important because of the variable cpu speed throttling to keep the heat down. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message