mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 03:25:06 -05:00
ntp: add filter option
Add an option to use the median filter to reduce noise in measurements before they are accumulated to sourcestats, similarly to reference clocks. The option specifies how many samples are reduced to a single sample. The filter is intended to be used with very short polling intervals in local networks where it is acceptable to generate a lot of NTP traffic.
This commit is contained in:
@@ -161,6 +161,11 @@ Set the minimum number of samples kept for this source. This overrides the
|
||||
*maxsamples* _samples_:::
|
||||
Set the maximum number of samples kept for this source. This overrides the
|
||||
<<maxsamples,*maxsamples*>> directive.
|
||||
*filter* _samples_:::
|
||||
This option enables a median filter to reduce noise in NTP measurements. The
|
||||
filter will reduce the specified number of samples to a single sample. It is
|
||||
intended to be used with very short polling intervals in local networks where
|
||||
it is acceptable to generate a lot of NTP traffic.
|
||||
*offline*:::
|
||||
If the server will not be reachable when *chronyd* is started, the *offline*
|
||||
option can be specified. *chronyd* will not try to poll the server until it is
|
||||
|
||||
Reference in New Issue
Block a user