Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 1998 03:40:42 GMT
From:      jak@cetlink.net (John Kelly)
To:        Bruce Evans <bde@zeta.org.au>
Subject:   Re: tickadj -t not changing tick
Message-ID:  <35ac2401.106331343@mail.cetlink.net>
In-Reply-To: <199807150330.NAA22646@godzilla.zeta.org.au>
References:  <199807150330.NAA22646@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 Jul 1998 13:30:29 +1000, Bruce Evans <bde@zeta.org.au>
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



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