From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4cf2bf48a13f1d9 X-Google-Attributes: gid103376,public From: "Marin D. Condic" Subject: Re: Clock Synchronization Date: 2000/07/14 Message-ID: <396F1B02.77B87D24@acm.com>#1/1 X-Deja-AN: 646321610 Content-Transfer-Encoding: 7bit References: <396ED195.8DED1C1A@ib-paus.com> Organization: Quadrus Corporation X-Sender: "Marin D. Condic" (Unverified) X-Server-Date: 14 Jul 2000 13:52:10 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-07-14T13:52:10+00:00 List-Id: 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)? Try these guys: http://www.datum.com/ When you have multiple computers that you need to synch up to a high degree of accuracy, nothing beats a hardware solution. The Datum guys make network time references that are accurate enough for almost any need. If you need better accuracy, you might want to consult with: http://www.nist.gov/ http://www.bldrdoc.gov/timefreq/ Of course, getting the time across the net is pointless since you can't guarantee TCP/IP propogation delays. You'd have to go with some sort of radio source and correct for speed of light. Software synchronization of the different CPU's clocks could be a problem. It depends a lot on what you have to communicate with between the different CPUs. Lots of communication mechanisms are not deterministic, so it becomes impossible to synchronize with any high degree of accuracy or confidence. Hope this helps. MDC -- ====================================================================== Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/ Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m Visit my web site at: http://www.mcondic.com/ "Some people think programming Windows is like nailing jello to the ceiling... easy with the right kind of nails." -- Ivor Horton - Beginning Visual C++ 6 ======================================================================