All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] Getting the clock model right
Date: Fri, 06 Apr 2007 19:06:09 +0200	[thread overview]
Message-ID: <46167E01.3080600@domain.hid> (raw)
In-Reply-To: <46167B46.6010902@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]

Jan Kiszka wrote:
> Gilles Chanteperdrix wrote:
>> What about emitting Adeos events when receiving NTP corrections ? This
>> way, we would avoid reinventing NTP ?
>>
> 
> IIRC, NTP was designed to synchronise clocks over unreliable and slow
> media. The math behind it /may/ be useful (though it may also turn out
> to be too heavy), but beyond that... Already seen a NTP-over-CAN
> realisation, e.g.?
> 
> And what would NTP over standard network buy us on a Xenomai system when
> the accuracy of NTP time stamps taken under Linux gets additionally
> degraded by Xenomai activity? I thought about NTP for our problem for a
> short while, but then quickly dropped the idea due to lacking guarantees.
> 
> Likely, we rather need something like IEEE 1588, but there are
> unfortunate patents around that protocol.
> 

Hmm, I think I just got distracted from my original idea.

IEEE 1588, NTP, whatever, those are synchronisation protocols, designed
for specific media. What we probably need in the Xenomai nucleus is a
generic infrastructure to tune the local clock based on some offset and
drift factor, however those were obtained. That leaves the door open for
any protocol and communication media to exchange the required sync
information.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

      reply	other threads:[~2007-04-06 17:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-06 12:07 [Xenomai-core] Getting the clock model right Jan Kiszka
2007-04-06 13:47 ` Gilles Chanteperdrix
2007-04-06 14:29   ` Jan Kiszka
2007-04-06 15:13     ` Gilles Chanteperdrix
2007-04-06 16:36       ` Jan Kiszka
     [not found]     ` <461677BB.1090301@domain.hid>
2007-04-06 16:54       ` Jan Kiszka
2007-04-06 17:06         ` Jan Kiszka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46167E01.3080600@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.