Network Time Protocol

Vick Khera khera at thneed.cs.duke.edu
Wed Nov 14 03:10:49 AEST 1990


In article <1423 at nixsin.UUCP> koerberm at nixsin.UUCP (Mathias Koerber) writes:

   From: koerberm at nixsin.UUCP (Mathias Koerber)
   Newsgroups: comp.unix.questions
   Keywords: ntp PROGRESS

   In article <Nov.6.13.28.58.1990.23381 at caip.rutgers.edu> nguyend at caip.rutgers.edu (Duc Nguyen) writes:
   > I've been trying to synchronize the clocks of sites on the
   Ethernet >but could not figure out how to do this as accurate as
   possible. I

   OK, I get the idea of synchronising the clocks of different hosts
   on a network, and I think it is quite useful...

   BUT: I know, that PROGRESS Database eg is *very* allergic against changes in
   the system time. Especially setting the time BACKWARDS (even 1 sec)
   will kill the server/broker process, because database integrity is
   based on the time.

with time synchronization, if you need to set the clock backwards, you
don't just change the time, you slow down the clock until it has
reached the proper time. in unix, this is accomplished by the
adjtime() system call.  this should be indetectible by processes.
similarly, to set the clock forward, the speed is increased until the
proper time is reached.

								v
.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vick Khera     Gradual Student          Department of Computer Science
ARPA:   khera at cs.duke.edu               Duke University
UUCP:   ...!mcnc!duke!khera             Durham, NC 27706       (919) 660-6528



More information about the Comp.unix.questions mailing list