home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / protocol / time / ntp / 874 < prev    next >
Encoding:
Text File  |  1992-09-09  |  2.0 KB  |  53 lines

  1. Newsgroups: comp.protocols.time.ntp
  2. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!fauern!fauna!darkstar.informatik.uni-erlangen.de!kardel
  3. From: kardel@darkstar.informatik.uni-erlangen.de (Frank Kardel)
  4. Subject: Re: XNTP3 on SVR4 (DELL Intel release)
  5. References: <BuBH2H.3uA@portal.hq.videocart.com>
  6. Message-ID: <BuCrKx.Ktw@immd4.informatik.uni-erlangen.de>
  7. Sender: news@immd4.informatik.uni-erlangen.de
  8. Organization: CSD., University of Erlangen
  9. Date: Thu, 10 Sep 1992 08:00:33 GMT
  10. Lines: 41
  11.  
  12. kdenning@portal.hq.videocart.com (Karl Denninger) writes:
  13.  
  14. >Has anyone ported xntp3 to the SVR4 releases?  I have a Dell machine which
  15. >runs ntpd just fine, but xntpd seems to have some problems getting going.
  16. >Before I go dive in, has anyone else done this?
  17.  
  18. Main point, besides ordinarily porting issues, is to convince xntp3
  19. that settimeofday() probably calls stime() (don't know for Dell)
  20. to set the clock (-> second resolution). This behaviour is at
  21. least documented for Solaris 2.0 (SysVR4 for Suns).
  22.  
  23. Aren't "leading operating system technology standards" nice ?
  24.  
  25. With stime() and second clock resolution you seldom get
  26. within 128ms of the "actual" time. xntp3 does clock slewing once
  27. it gets within 128ms of the "actual" time.
  28.  
  29. It might be configurable, but ask Dave what breaks when setting
  30. CLOCK_MAX_F to 0.5 secs.
  31.  
  32. The Sun documentation has a cute way of telling you how to cope
  33. with the inferior stime() kernel interface:
  34.  
  35. Quoted from Sun's Manual:
  36.  
  37. ...
  38.      The implementation of  settimeofday()  ignores  the  tv_usec
  39.      field  of  tp.  If the time needs to be set with better than
  40.      one second accuracy, call settimeofday() for the seconds and
  41.      then adjtime() for finer accuracy.
  42. ...
  43.  
  44. Yuck!
  45.  
  46. I don't know whether this behaviour is common to all SysVR4 or only
  47. a feature of the advanced SunOS Operating System Technology.
  48.  
  49. --
  50.        Frank Kardel (kardel@informatik.uni-erlangen.de)
  51.     All SCSI disks will from now on be required to send an email
  52.          notice 24 hours prior to complete hardware failure!
  53.