mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 14:05:07 -05:00
Add a new test for maximum delay using a long-term estimate of a p-quantile of the peer delay. If enabled, it replaces the maxdelaydevratio test. It's main advantage is that it is not sensitive to outliers corrupting the minimum delay. As it can take a large number of samples for the estimate to reach the expected value and adapt to a new value after a network change, the option is recommended only for local networks with very short polling intervals.
This is a collection of simulation tests using the clknetsim simulator (supported on Linux only). https://github.com/mlichvar/clknetsim The CLKNETSIM_PATH environment variable should point to the directory where clknetsim was downloaded and compiled. If the variable is not set, the tests will look for clknetsim in ./clknetsim in the current directory. The tests are written in bash and they can be run directly. The ./run script runs all tests.