home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / 18455 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  3.8 KB

  1. Path: sparky!uunet!spool.mu.edu!olivea!sgigate!sgi!rhyolite!vjs
  2. From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: NTP Time?
  5. Message-ID: <ufbu0ag@rhyolite.wpd.sgi.com>
  6. Date: 4 Jan 93 20:07:27 GMT
  7. References: <C08w41.65J@rahul.net> <ud00eh0@rhyolite.wpd.sgi.com> <srp.726165968@cgl.ucsf.edu>
  8. Organization: Silicon Graphics, Inc.  Mountain View, CA
  9. Lines: 64
  10.  
  11. In article <srp.726165968@cgl.ucsf.edu>, srp@babar.mmwb.ucsf.edu (Scott R. Presnell) writes:
  12. > shenkin@still3.chem.columbia.edu (Peter Shenkin) writes:
  13. > >2.  Would there be any advantage to someone in my position's running NTP 
  14. > >    rather than timeslave/timed?  My position is as follows:  several 
  15. > >    machines at Columbia will be running NTP synched to a Higher Authority;  
  16. > >    as I understand it, several hosts will be NTP servers in some sense, 
  17. > >    to provide redundancy.  We could synch to them either by means of 
  18. > >    timeslave/timed or else by running NTP ourselves.  My understanding 
  19. > >    so far is that the advantage of running NTP would be a smaller load 
  20. > >    on system/network resources (though I find it hard to imagine that 
  21. > >    timeslave/timed constitutes a heavy load), and possibly the ability 
  22. > There is a substantial difference in the algorithms used to keep and
  23. > calculate time offests, timeslave is similar to ntpd in result, but timed
  24. > averages over a network, I believe - but VS would be the best to tackle
  25. > that.
  26.  
  27. When running in isolation, the `timed` "master" is really a moderator,
  28. averaging and distributing the time of all particpating machines.
  29. (Recent SGI versions actually compute the median of the times instead
  30. of the average computed by the 4.3BSD code.)
  31.  
  32. When using `timed` to synchronize a gaggle of other machines to a
  33. master, there is much less difference functional between NTP and
  34. timed.  `Timed` uses a relatively primitive method of measuring the
  35. difference between the master and each client.  That method is fine on
  36. an ethernet, but lacks the filtering needed for a wide area link, where
  37. packet delays vary widely and where varying assymmetric delays are
  38. common.  The Silicon Graphics `timed` client adjusts the premanent
  39. frequence of the system clock ("-P") and does not always do always do
  40. exactly the adjustment the master orders, all to improve the resulting
  41. accuracy.  With all of that, `timed` does not do as well as timeslave
  42. or NTP.  You only get between 10 and 150 milliseconds as measured by
  43. `timedc clockdiff host`.  Of course, by default, 10 ms is one system
  44. clock tick.
  45.  
  46. (I have always distrusted the accuracy measurements of NTP's results
  47. reported by NTP implementations.  It seems optimistic to trust clock
  48. code to accurately report on itself.)
  49.  
  50.  
  51. > I cannot answer to machine load, but to network load there is an advantage
  52. > - say to timeslave: timeslave uses 10 pings to ntp's *one.* (atleast simple
  53. > ntpd - I don't run xntpd) my understanding is that ntpd gets you the
  54. > highest precision per network buck (accuracy is up to you).
  55.  
  56. The network load is insignicant in all reasonable cases for all of
  57. these protocols, even if you do as I do and run timeslave over very low
  58. speed network links.
  59.  
  60. The number of packets used by timeslave varies depending on how well
  61. timeslave has predicted the variation in the drift of the local clock.
  62. It is also subject to the -T and -t args (see `man timeslave`).  If
  63. things are stable and the network is not overloaded, and the symmetry
  64. of network delays have not changed (what happens if a file transfer
  65. starts over a SLIP line), timeslave with the default settings should
  66. use a total of 5 round trips, 1 UDP to get the date and 4 ICMP
  67. timestamps to get the time.  (I presume "10 pings" meant 10 round
  68. trips, not 10 packets.)  10 small packets every 210 seconds is about
  69. 0.05% of an ethernet, fewer than the number of ARP's probably present.
  70.  
  71.  
  72. Vernon Schryver,  vjs@sgi.com
  73.