Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 1996 09:40:09 -0700 (PDT)
From:      Doug White <dwhite@riley-net170-164.uoregon.edu>
To:        sthaug@nethelp.no
Cc:        bde@zeta.org.au, current@freebsd.org
Subject:   Re: xntpd stepping clock backwards? (was: Re: NFSv3 fixes for review)
Message-ID:  <Pine.BSF.3.91.960715092841.877J-100000@gdi.uoregon.edu>
In-Reply-To: <20426.837433714@verdi.nethelp.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Jul 1996 sthaug@nethelp.no wrote:

> > xntpd only does tiny adjustments which can't possibly make the clock
> > go backwards.  OTOH, ntpdate or ordinary `date' can set the clock back
> > by years.
> 
> Then why does my syslog show the following? It sure looks to me like xntpd
> sometimes steps the clock backwards. This is on 2.2-960612-SNAP.

I think you are misinterpeting the log entry.  xtnpd works by adjusting 
the length of a 'tick' so the clock 'speeds up' or 'slows down' as 
necessary.  This adjustment is called 'slew' and is inserted in very, 
very small increments.  But time continues to move forward, even if it 
means slewing the ticks for quite a while.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960715092841.877J-100000>