From owner-freebsd-current Tue Jul 14 20:38:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA06305 for freebsd-current-outgoing; Tue, 14 Jul 1998 20:38:23 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ns2.cetlink.net (root@ns2.cetlink.net [209.54.54.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA06300 for ; Tue, 14 Jul 1998 20:38:20 -0700 (PDT) (envelope-from jak@cetlink.net) Received: from EXIT10 (i485-gw.cetlink.net [209.198.15.97]) by ns2.cetlink.net (8.9.1/8.9.1) with SMTP id XAA16090; Tue, 14 Jul 1998 23:38:05 -0400 (EDT) From: jak@cetlink.net (John Kelly) To: Bruce Evans Cc: Subject: Re: tickadj -t not changing tick Date: Wed, 15 Jul 1998 03:40:42 GMT Message-ID: <35ac2401.106331343@mail.cetlink.net> References: <199807150330.NAA22646@godzilla.zeta.org.au> In-Reply-To: <199807150330.NAA22646@godzilla.zeta.org.au> X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id UAA06301 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 15 Jul 1998 13:30:29 +1000, Bruce Evans wrote: >`tick' shouldn't be changed in any version of 2.2 or -current. Instead, >change some of the the lower-level timer variables machdep.i586_freq, >machdep.tsc_freq and machdep.i8254_freq using sysctl to make `tick' >actually correct. These variables should be set correctly enough by >default, just like `tick', but if not, changing them works better than >changing `tick' because the change routines propagate necessary changes >to associated variables and/or hardware programming. > >The relevant sysctl variables depend on the the FreeBSD version and >configuration: > >machdep.i8254_freq: always exists, never hurts to set it right, but only > essential for it to be right on systems using it for timekeeping > (2.2., -current on sub-586's and 586+'s running SMP or APM. >machdep.i586_freq: 2.2 name for machdep.tsc_freq. Doesn't hurt to set it > right, but not essential for it it be right. >machdep.tsc_freq: -current only, must be right if it is used for timekeeping. > It is used on 586+'s not running SMP or APM. > >Bruce Ick! And all I wanted to change was tick! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message