taiclockd without clockspeed (no NTP source available) ?

View: New views
4 Messages — Rating Filter:   Alert me  

taiclockd without clockspeed (no NTP source available) ?

by Marco Molteni-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

let's say I have a network with no access to an external time source,
(no access to NTP at all) so I cannot use sntpclock.

Let's also say that I don't care about the absolute time (be it UTC or
TAI), I just care that all my nodes in the network have the same
relative time, so that I can correlate events happening on different
nodes between them.

I am thinking of choosing one of the nodes as master, and run taiclockd
on it, and have all the others node be clients with taiclock.

My question is: where do I run clockspeed? I assume on all the clients
but on the master it would be useless. Am I correct?

thanks
marco

Re: taiclockd without clockspeed (no NTP source available) ?

by Luca Morettoni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 19, 2005 at 01:24:48PM +0200, Marco Molteni wrote:

> Hi,
>
> let's say I have a network with no access to an external time source,
> (no access to NTP at all) so I cannot use sntpclock.
>
> Let's also say that I don't care about the absolute time (be it UTC or
> TAI), I just care that all my nodes in the network have the same
> relative time, so that I can correlate events happening on different
> nodes between them.
>
> I am thinking of choosing one of the nodes as master, and run taiclockd
> on it, and have all the others node be clients with taiclock.
>
> My question is: where do I run clockspeed? I assume on all the clients
> but on the master it would be useless. Am I correct?
>
> thanks
> marco
hi Marco, take a look at http://morettoni.net/clockspeed.html (italian
page), there you can find all info you need!

the config is simple:
into the master machine you run taiclockd, and into the clients just run
taiclock!

bye!

--
Luca Morettoni <luca(AT)morettoni(DOT)net> - http://morettoni.net
GUFI staff/core member <luca(AT)gufi(DOT)org> - http://gufi.org
AIP/ITCS member #2589 | FreeSBIE developer <luca(AT)FreeSBIE(DOT)org>
Current system: FreeBSD 5.4-STABLE, up 2 days, 1 hr, 26 mins, 24 secs


attachment0 (202 bytes) Download Attachment

Re: taiclockd without clockspeed (no NTP source available) ?

by Marco Molteni-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wednesday 19 October 2005 14:08, Luca Morettoni wrote:

> On Wed, Oct 19, 2005 at 01:24:48PM +0200, Marco Molteni wrote:
> > Hi,
> >
> > let's say I have a network with no access to an external time
> > source, (no access to NTP at all) so I cannot use sntpclock.
> >
> > Let's also say that I don't care about the absolute time (be it UTC
> > or TAI), I just care that all my nodes in the network have the same
> > relative time, so that I can correlate events happening on
> > different nodes between them.
> >
> > I am thinking of choosing one of the nodes as master, and run
> > taiclockd on it, and have all the others node be clients with
> > taiclock.
> >
> > My question is: where do I run clockspeed? I assume on all the
> > clients but on the master it would be useless. Am I correct?
> >
> > thanks
> > marco
>
> hi Marco, take a look at http://morettoni.net/clockspeed.html
> (italian page), there you can find all info you need!
>
> the config is simple:
> into the master machine you run taiclockd, and into the clients just
> run taiclock!

ciao Luca,

your page doesn't answer my question: given that I cannot synchronize
the master, does it make sense to run clockspeed on it?

marco

Re: taiclockd without clockspeed (no NTP source available) ?

by Otavio Exel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Marco Molteni wrote:
>
> your page doesn't answer my question: given that I cannot synchronize
> the master, does it make sense to run clockspeed on it?

Marco,

yes, it would!

if your clock is drifting clockspeed is "the" way to fix that!

having an external source is a handy way to figure the exact "adjust" to
feed to clockspeed;

if you don't have an external source *and* your clock is drifting
abnormally, you could figure a "reasonable" adjust using (for instance)
your wirstwach (done that with "reasonable" results!);

plese note that the above procedure only makes sense if your clock is
drifting *abnormally* like 10s per day!

[]s,

--
Otavio Exel /<\oo/>\ oexel@...