Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 1999 22:26:25 -0500 (EST)
From:      Chuck Robey <chuckr@mat.net>
To:        "William S. Duncanson" <caesar@starkreality.com>
Cc:        freebsd-smp@FreeBSD.ORG
Subject:   Re: Problems keeping time
Message-ID:  <Pine.BSF.4.05.9902082225390.338-100000@picnic.mat.net>
In-Reply-To: <4.1.19990208211126.00c5ab40@fire.starkreality.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 8 Feb 1999, William S. Duncanson wrote:

> Hmm...doesn't appear to be working.  I'm grepping through the source trying
> to find the valid values for this parameter, but haven't been able to find
> it yet.

I've seen his posting, that WAS the other valid value.

> 
> At 20:02 2/8/99 -0500, Chuck Robey wrote:
> >On Mon, 8 Feb 1999, William S. Duncanson wrote:
> >
> >> I just upgraded a FreeBSD box to a SMP system (basically, I swapped out the
> >> MB and added a processor).  Now, I'm having horrendous problems with the
> >> kernel clock drifting (it's running fast, about 7 seconds every 10
> >> minutes).  So far, xntpd seems to be keeping everything relatively close,
> >> but it's updating the clock every 10 minutes or so.  ntpq claims that all
> >> of the configured peers are "insane".  I'm pretty sure that this is a SMP
> >> issue, since it worked fine with a single processor (4.0-current).  So, the
> >> question is, how do I fix this?
> >> 
> >> Here's my kernel config.  I added the "CLK_USE_I8254_CALIBRATION" after I
> >> noticed the problem, but it doesn't appear to have fixed it:
> >
> >I have a smp system too.  I've never had to use this method, but I
> >recall Poul-Henning talking about it, so I'll pass it on.  You can tweak
> >the method used to keep time via a sysctl:
> >
> >sysctl -w kern.timecounter.method=1
> >
> >I don't know more than that, you can either experiment (and let us know
> >if it worked) or wait for Poul-Henning to comment.

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@glue.umd.edu         | communications topic, C programming, and Unix.
213 Lakeside Drive Apt T-1  |
Greenbelt, MD 20770         | I run picnic (FreeBSD-current)
(301) 220-2114              | and jaunt (Solaris7).
----------------------------+-----------------------------------------------





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" 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.05.9902082225390.338-100000>