Re: strange behaviour of ntp peerstats entries.



Unruh wrote:
"David L. Mills" <mills@xxxxxxxx> writes:

You might not have noticed a couple of crucial issues in the clock filter code.

I did notice them all. Thus my caveate. However throwing away 80% of the
precious data you have seems excessive.

But it isn't really. It would be if there were no correlation between
the delay and the error, but there is a correlation. If the sampling
were completely random, then you would want to use all of the samples
to determine the correct offset, by averaging or some such method.
But since the error in the sample is correlated to the size of the
delay, using samples with greater delay and thus greater error just
increases the error of the final result, not lessens it. Since the
clocks involved also slew between samples, we want to use the newest
sample with the smallest delay.

Brian Utterback
.



Relevant Pages

  • Re: anyone have an answer to this?
    ... correlation plot, and retrieve the correct delay with xcorr...as well ... when I try to retrieve phase correlation: ... My signals are two sinusoids of freq f and delay T ...
    (comp.dsp)
  • Re: anyone have an answer to this?
    ... correlation plot, and retrieve the correct delay with xcorr...as well ... when I try to retrieve phase correlation: ... My signals are two sinusoids of freq f and delay T ...
    (comp.dsp)
  • Re: PREEMPT_RT vs I-PIPE: the numbers, part 2
    ... >> of the maximum delay assumes that the maximum delays for the logger ... What causes this correlation? ... > being measured is twice the latency of the ipipe in that specific ...
    (Linux-Kernel)
  • Re: GCC Clarity.
    ... %The time duration of the signal. ... %%%This is where the correlation is done. ... %%Setting up a time lag axis. ... This is the code where i compute the delay factor. ...
    (comp.dsp)
  • anyone have an answer to this?
    ... correlation plot, and retrieve the correct delay with xcorr...as well as ... when I try to retrieve phase correlation: ... delay position. ...
    (comp.dsp)