[chrony-dev] [GIT] chrony/chrony.git branch master updated. 4.2-41-gf503a9a |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
This is an automated email from git. It was generated because a ref
change was pushed to the "chrony/chrony.git" repository.
The branch, master has been updated
via f503a9a4901d60ffa02cbb16d1faf236eb368732 (commit)
via 9c64fbb9c4dd98b01c53460714741ddb7051199c (commit)
via b428f901c7574df1a26304461a0eadf825955972 (commit)
via 09b7f77f9a61a3906ad621737ecafd429fe64a99 (commit)
via c23c0b84841e2710a8cd04746ef8cc3a0697903c (commit)
via d5300559170c15647f49f36d826dfc051b7ca074 (commit)
from f41d09e19f436985b15bccb913165f52e38aca40 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f503a9a4901d60ffa02cbb16d1faf236eb368732
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Thu Jun 9 13:56:46 2022 +0200
test: improve 133-hwtimestamp test
commit 9c64fbb9c4dd98b01c53460714741ddb7051199c
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Thu Jun 9 12:21:38 2022 +0200
hwclock: improve filtering of readings
Estimate the 1st and 2nd 10-quantile of the reading delay and accept
only readings between them unless the error of the offset predicted from
previous samples is larger than the minimum reading error. With the 25
PHC readings per ioctl it should combine about 2-3 readings.
This should improve hwclock tracking and synchronization stability when
a PHC reading delay occasionally falls below the normal expected
minimum, or all readings in the batch are delayed significantly (e.g.
due to high PCIe load).
commit b428f901c7574df1a26304461a0eadf825955972
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Wed May 18 12:16:33 2022 +0200
quantiles: add support for quantile estimation
Add estimation of quantiles using the Frugal-2U streaming algorithm
(https://arxiv.org/pdf/1407.1121v1.pdf). It does not need to save
previous samples and adapts to changes in the distribution.
Allow multiple estimates of the same quantile and select the median for
better stability.
commit 09b7f77f9a61a3906ad621737ecafd429fe64a99
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Tue Jun 7 15:03:14 2022 +0200
hwclock: refactor processing of PHC readings
Move processing of PHC readings from sys_linux to hwclock, where
statistics can be collected and filtering improved.
In the PHC refclock driver accumulate the samples even if not in the
external timestamping mode to update the context which will be needed
for improved filtering.
commit c23c0b84841e2710a8cd04746ef8cc3a0697903c
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Wed Jun 8 15:30:05 2022 +0200
ntp: convert HW timestamp even if PHC reading fails
Reading of PHC can fail occasionally on some hardware. If that happens,
don't abort the conversion of the timestamp that triggered the reading.
commit d5300559170c15647f49f36d826dfc051b7ca074
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Thu Jun 2 16:06:04 2022 +0200
sys_linux: increase number of PHC readings
Increase the number of requested readings from 10 to 25 - the maximum
accepted by the PTP_SYS_OFFSET* ioctls. This should improve stability of
HW clock tracking and PHC refclock.
-----------------------------------------------------------------------
Summary of changes:
configure | 4 +-
hwclock.c | 109 +++++++++++++++++++++-
hwclock.h | 7 +-
ntp_io_linux.c | 31 ++++---
quantiles.c | 201 ++++++++++++++++++++++++++++++++++++++++
sys_macosx.h => quantiles.h | 22 ++---
refclock_phc.c | 28 ++++--
sys_linux.c | 112 +++++++---------------
sys_linux.h | 4 +-
test/simulation/133-hwtimestamp | 33 +++++--
test/unit/hwclock.c | 49 ++++++++--
test/unit/quantiles.c | 66 +++++++++++++
12 files changed, 531 insertions(+), 135 deletions(-)
create mode 100644 quantiles.c
copy sys_macosx.h => quantiles.h (66%)
create mode 100644 test/unit/quantiles.c
hooks/post-receive
--
chrony/chrony.git
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.