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