]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Handle fluctuations in peer distance better.
authorBill Unruh <unruh@physics.ubc.ca>
Tue, 26 Jun 2007 22:45:04 +0000 (23:45 +0100)
committerRichard P. Curnow <rc@rc0.org.uk>
Tue, 26 Jun 2007 22:45:04 +0000 (23:45 +0100)
sourcestats.c

index fecba31441547b1bd150fe6ee547f5c5a95a9c92..163a2ebd9127079d9734e0b544a4e1b8db9c94f4 100644 (file)
@@ -373,9 +373,9 @@ find_best_sample_index(SST_Stats inst, double *times_back)
 /* This defines the assumed ratio between the standard deviation of
    the samples and the peer distance as measured from the round trip
    time.  E.g. a value of 4 means that we think the standard deviation
-   is a quarter of the peer distance */
+   is four times the fluctuation  of the peer distance */
 
-#define SD_TO_DIST_RATIO 8.0
+#define SD_TO_DIST_RATIO 1.0
 
 /* ================================================== */
 /* This function runs the linear regression operation on the data.  It