[Xenomai-core] Getting the clock model right

2007-04-06 Thread Jan Kiszka
Hi, recent announcement of some new TSC synchronisation feature in RTAI made me stick my nose into this and think about the whole issue of clock synchronisation again. Well, let's not talk about RTAI details here, but they got one thing right: as long as we cannot handle unsynch'ed TSC on SMP, we

Re: [Xenomai-core] Getting the clock model right

2007-04-06 Thread Gilles Chanteperdrix
Jan Kiszka wrote: Hi, recent announcement of some new TSC synchronisation feature in RTAI made me stick my nose into this and think about the whole issue of clock synchronisation again. Well, let's not talk about RTAI details here, but they got one thing right: as long as we cannot handle

Re: [Xenomai-core] Getting the clock model right

2007-04-06 Thread Jan Kiszka
Gilles Chanteperdrix wrote: Jan Kiszka wrote: Hi, recent announcement of some new TSC synchronisation feature in RTAI made me stick my nose into this and think about the whole issue of clock synchronisation again. Well, let's not talk about RTAI details here, but they got one thing right:

Re: [Xenomai-core] Getting the clock model right

2007-04-06 Thread Gilles Chanteperdrix
Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Hi, recent announcement of some new TSC synchronisation feature in RTAI made me stick my nose into this and think about the whole issue of clock synchronisation again. Well, let's not talk about RTAI details here, but they got

Re: [Xenomai-core] Getting the clock model right

2007-04-06 Thread Jan Kiszka
Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Hi, recent announcement of some new TSC synchronisation feature in RTAI made me stick my nose into this and think about the whole issue of clock synchronisation again. Well, let's not talk about

Re: [Xenomai-core] Getting the clock model right

2007-04-06 Thread Jan Kiszka
Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Hi, recent announcement of some new TSC synchronisation feature in RTAI made me stick my nose into this and think about the whole issue of clock synchronisation again. Well, let's not talk about

Re: [Xenomai-core] Getting the clock model right

2007-04-06 Thread Jan Kiszka
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