From owner-freebsd-questions Thu Jun 27 19:24:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by hub.freebsd.org (Postfix) with ESMTP id F362037B408 for ; Thu, 27 Jun 2002 19:24:13 -0700 (PDT) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.11.6/8.11.6) with ESMTP id g5S2Mrr41461; Thu, 27 Jun 2002 20:22:53 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Thu, 27 Jun 2002 20:22:53 -0600 (CST) From: Ryan Thompson To: Brian Astill Cc: freebsd-questions@FreeBSD.ORG Subject: Re: microuptime In-Reply-To: <200206280138.g5S1coL48161@tierzero.apana.org.au> Message-ID: <20020627201854.I18697-100000@ren.sasknow.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Brian Astill wrote to Greg 'groggy' Lehey: > > I set it to the following and it stopped : > > > > %sysctl kern.timecounter > > kern.timecounter.method: 1 > > kern.timecounter.hardware: TSC > > However, I cannot find out how to set those desirable parameters. > How is this done, please? They're sysctl variables, tunable in userland via the sysctl(8) utility. man 8 sysctl... but basically, as root, executing the following: # sysctl kern.timecounter.method=1 kern.timecounter.hardware=TSC should change the settings as you have quoted, above, on a 4.x system. (the 3.x syntax differed slightly). - Ryan -- Ryan Thompson SaskNow Technologies - http://www.sasknow.com 901 1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-664-3630 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message