[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference wrksys::alphastation

Title:Alpha Workstation Conference
Notice:See note 1.* for conference notices
Moderator:WRKSYS::HOUSE
Created:Wed Sep 07 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1996
Total number of notes:9122

1851.0. "Clock drift on AS600" by SEDSWS::SIAREY () Tue Feb 11 1997 10:10

    Hi,
    
    Can anyone help me with the following question I have had from a
    customer about the clock on a AS600.
    
    He would like to know what the expected (worsecase) drift would be
    assuming that they did 2 POSIX 4 gettime system call approx 8-10 seces
    apart.
    
    I hope this makes sense, also where can I look for technical
    documentation about this clock.
    
    Many thanks,
    Colin S. 
T.RTitleUserPersonal
Name
DateLines
1851.1more informatinSEDSWS::SIAREYTue Feb 11 1997 10:168
    Customer has just called me again to give some more information on this, 
    it is actually the real time clock drift that the customer is interested 
    in not the system clock. 
    
    Also do we know the name/manufacturer of the clock chip.
    
    Manh thanks,
    Colin S.
1851.21 minute per monthWRKSYS::SCHUMANNTue Feb 11 1997 14:247
I believe the AS600 uses a Benchmarq BQ3287 or similar part. The accuracy spec
for that part is "+/- 1 minute per month at 25 degree C." Other similar parts
are likely to have similar specs. This is the clock that Unix uses to do
1ms interrupts. The CPU clock (i.e. RPCC) uses a separate time base that is
less accurate.

--RS
1851.31 minute per monthWRKSYS::MURRAYTue Feb 11 1997 17:251
The AS600 uses a Dallas 1287 toy clock. It is accurate to +/- 1 minute per month
1851.4See AARM For Specified Drift, OS Can Drift FurtherXDELTA::HOFFMANSteve, OpenVMS EngineeringWed Feb 12 1997 09:585
   The worst-case drift is quoted in the Alpha architecture specification,
   and in the Alpha Architecture Reference Manual.  The running clock can
   skew further depending on memory errors or other local high-IPL activity.

1851.5similar questionSEDTMA::SIAREYWed Feb 12 1997 12:4218
    Many thanks, for the answers so far, I have given these to my customer
    and he is uncertain if this is what he needs so he has defined his 
    needs further.
    
    If he uses a POSIX4 "clock_gettime (CLOCK_REALTIME,xxx)" and then 10 secs
    later issues the same system call, what is the worstcase drift over
    this period.
    
    They know that when using this function call they see a resolution of
    976 micro seconds, but need to know the worst case drift.
    
    Please excuse ignorance of the question, this is as the customer has
    asked me, if this is not the correct conference please could someone
    point me in the right direction.
    
    
    Many thanks for your help,
    Colin S.
1851.6500 microsecondsWIBBIN::NOYCEPulling weeds, pickin' stonesWed Feb 12 1997 14:368
From the Alpha Architecture Reference Manual, section II-A, page 6-22:

	The accuracy of the interval clock must be at least [sic]
	50 parts per million (ppm).

So in 10 seconds, the clock can drift no more than 500 microseconds.
You need to add this to the quantization error caused by the ~1msec
resolution.
1851.7It's a computer not a chronometerBBPBV1::WALLACEjohn wallace @ bbp. +44 860 675093Thu Feb 13 1997 04:017
    All of this is irrelevant if the customer's system has a clock fault
    (it could happen). For known good time, use a known good external time
    source - e.g. a GPS receiver with a serial interface. Other approaches
    are possible.
    
    regards
    john
1851.8Question answered - thanksSEDSWS::SIAREYFri Feb 14 1997 04:318
    Many thanks to you all for the replies to my question.
    
    I have given the customer all the information and he is happy.
    
    Another success for the notesfiles.
    
    Best regards,
    Colin S.