Re: high precision tracking: trying to understand sudden jumps



David Woolley wrote:
Heiko Gerstung wrote:

time has passed without the signal coming back. This results in the time server replying with stratum 12 (for example) after a while and ensures that everybody has the same time, although it might be wrong. If a user does not want that, they can simply set the local clock stratum to 15 and the server will not be accepted anymore.

Can you please let me know why you consider this a "bad implementation"?


Because the protocol fails to signal the loss of the time source properly when one has a local clock configured. As such, I believe that enabling a local clock should always be an opt in choice. Basically, when it falls back to the local clock, root dispersion goes to zero, when the true situation is that root dispersion is growing without bound.

Things can go seriously wrong if there is more than one local clock source on a network, as it becomes possible for them to outvote the real time.

Local clock IS an opt in choice. If you don't configure it, it doesn't serve time. Stratum is taken into account in selecting a time source.
I can't swear to it but I'd be surprised if three stratum 10 servers could out vote one stratum 2 server.

.



Relevant Pages

  • Re: Too high steps in time reset
    ... never going to be used as the server of record, ... The DCF server worked good for 8 years, syncronizing my ntp server ... number of LOCAL clock sources that you have. ...
    (comp.protocols.time.ntp)
  • Re: Forcing Stratum Level
    ... I just need all the Windows XP clients to sync their time to the NTPD server. ... However when I try to sync them I get "The peer's stratum is less than the host's stratum." ... You can change the stratum level of the "local clock" reference with that fudge line. ... If you need it to be lower than 10, you should be aware of the fact that this can lead to ugly effects and bad timekeeping on the clients if you ever introduce synchronized NTP time servers into your network and forget to reconfigure your server. ...
    (comp.protocols.time.ntp)
  • Re: high precision tracking: trying to understand sudden jumps
    ... If a user does not want that, they can simply set the local clock stratum to 15 and the server will not be accepted anymore. ... Basically, when it falls back to the local clock, root dispersion goes to zero, when the true situation is that root dispersion is growing without bound. ...
    (comp.protocols.time.ntp)
  • Re: Cannot synchronize to server with local clock
    ... local clock, since the machine is always running, and used it as the clock ... server for my LAN. ... remember correctly, its stratum changed from 16 when unsynced, to one less ...
    (comp.protocols.time.ntp)
  • Server/Peers - I really dont understand whats going on
    ... On an intranet the n/w has ONE time source at stratum 4 (please don't ... Each server is configured in ntp.conf ... and ALL the other peers are at stratum 5. ...
    (comp.protocols.time.ntp)