comp.lang.ada
 help / color / mirror / Atom feed
From: "Stanley R. Allen" <Stanley_R_Allen-NR@raytheon.com>
Subject: Re: Clock Synchronization
Date: 2000/07/14
Date: 2000-07-14T00:00:00+00:00	[thread overview]
Message-ID: <396F71EE.A1351E44@raytheon.com> (raw)
In-Reply-To: 396ED195.8DED1C1A@ib-paus.com

"Dr. Michael Paus" wrote:
> 
> 
> We are running a distributed application on three PowerPC boards
> which are connected via VME-Bus. The application is written in
> Ada 95 (GNAT) and we use LynxOS as our RTOS. The problem we are
> facing is that we need highly synchronized (~1ms) clocks on
> each board. We are sending messages with time-stamps back and forth
> and so it is important that each part of the application has the
> same understanding of the time. Does anybody have an idea of how
> to accomplish this without putting too much extra load on the
> system? Does anybody know of a hardware solution for this problem
> (a common clock which can be read from all CPU-boards)?
> 

http://www.truetime.com
http://www.datum.com

These companies provide time cards that can be synchronized using
an external signal.  You'll need to have a central source for the
time to distribute to each machine, probably a GPS receiver that
can produce output in IRIG B format.  The cost can be fairly high
for a complete solution.  Your applications will have to use the
time card's clock instead of the motherboard clock.

Another technique is to use the Network Time Protocol (NTP), which
requires that a daemon be running on each machine (ntpd).  One
node is designated the 'server'; its daemon sends it's concept
of time to the 'clients'.  The daemons in the client will adjust
the local CPU clocks, so you can use the local clock.  The NTP
daemons talk over an ordinary LAN, so there's no need for extra
IRIG B wires.

NTP is said to be good for applications needing about 1 millisecond
resolution.  For approx. 1 microsecond resolution, use the time cards.

-- 
Stanley Allen
mailto:Stanley_R_Allen-NR@raytheon.com




  reply	other threads:[~2000-07-14  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-14  0:00 Clock Synchronization Dr. Michael Paus
2000-07-14  0:00 ` Stanley R. Allen [this message]
2000-07-14  0:00 ` Marin D. Condic
2000-07-14  0:00 ` Ehud Lamm
2000-07-14  0:00   ` Marin D. Condic
2000-07-14  0:00     ` Ehud Lamm
2000-07-15  0:00       ` Marin D. Condic
2000-07-14  0:00 ` Jeff Creem
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox