Date: Sun, 27 Feb 2000 10:57:45 -0500 (EST) From: Omachonu Ogali <oogali@intranova.net> To: Paul Murphy <pnmurphy@home.com> Cc: Ben Smithurst <ben@scientia.demon.co.uk>, freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: My machine prints "calcru: negative time..." Message-ID: <Pine.BSF.4.10.10002271057260.29959-100000@hydrant.intranova.net> In-Reply-To: <38B9354E.879F116B@home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10002271057260.29959-100000>