From owner-freebsd-questions Sun Feb 27 7:58: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hydrant.intranova.net (hydrant.intranova.net [209.201.95.10]) by hub.freebsd.org (Postfix) with SMTP id 2AD9837B520 for ; Sun, 27 Feb 2000 07:57:57 -0800 (PST) (envelope-from oogali@intranova.net) Received: (qmail 30011 invoked from network); 27 Feb 2000 15:57:45 -0000 Received: from localhost (user52084@127.0.0.1) by hydrant.intranova.net with SMTP; 27 Feb 2000 15:57:45 -0000 Date: Sun, 27 Feb 2000 10:57:45 -0500 (EST) From: Omachonu Ogali To: Paul Murphy Cc: Ben Smithurst , freebsd-questions Subject: Re: My machine prints "calcru: negative time..." In-Reply-To: <38B9354E.879F116B@home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This comes from LINT: -- snip -- # If you see the "calcru: negative time of %ld usec for pid %d (%s)\n" # message you probably have some broken sw/hw which disables interrupts # for too long. You can make the system more resistant to this by # choosing a high value for NTIMECOUNTER. The default is 5, there # is no upper limit but more than a couple of hundred are not productive. # A better strategy may be to sysctl -w kern.timecounter.method=1 options NTIMECOUNTER=20 -- snip -- On Sun, 27 Feb 2000, Paul Murphy wrote: > > > > > It is actually a 486DX2/66. Is the 'Timecounter' settable in the > > > kernel? > > > > I think only 586s and above have a TSC, so the machdep.tsc_freq sysctl may > > not exist, or may be meaningless. > > > > You must be right, 'sysctl -a' does not show a 'machdep.tca_freq'. > > So back to the original question: How to trace the root cause of the > calcru problem? Setting kern.timecounter.method=0 -> 1 seems to have > worked, does anyone know how much of a performance hit [as stated in the > FAQ] this costs? > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- +-------------------------------------------------------------------------+ | Omachonu Ogali oogali@intranova.net | | Intranova Networking Group http://tribune.intranova.net | | PGP Key ID: 0xBFE60839 | | PGP Fingerprint: C8 51 14 FD 2A 87 53 D1 E3 AA 12 12 01 93 BD 34 | +-------------------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message