From owner-freebsd-current Wed Jul 15 23:17:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA20825 for freebsd-current-outgoing; Wed, 15 Jul 1998 23:17:31 -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 XAA20819 for ; Wed, 15 Jul 1998 23:17:26 -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 CAA05937; Thu, 16 Jul 1998 02:16:49 -0400 (EDT) From: jak@cetlink.net (John Kelly) To: Bruce Evans Cc: current@FreeBSD.ORG Subject: Re: tickadj -t not changing tick Date: Thu, 16 Jul 1998 06:19:36 GMT Message-ID: <35ad9407.200559635@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 XAA20820 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 15 Jul 1998 13:30:29 +1000, Bruce Evans wrote: >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. Sysctl shows my default value of machdep.i8254_freq = 1,193,182, the same value one of my hardware books says is the "standard" oscillator rate input to the 8254. But since my clock runs fast, my oscillator seems to be at a slightly higher rate. So am I correct in assuming I need to increase the i8254_freq value to match the true oscillator rate, and the kernel will adjust accordingly? And besides trial and error, is there any way of determining what the true frequency of my oscillator is? >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. I know what the 8254 is, but what is the TSC? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message