[chrony-users] minstratum directive option |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: [chrony-users] minstratum directive option
- From: Sviatoslav Feshchenko <sviatoslav.feshchenko@xxxxxxxxx>
- Date: Wed, 20 Mar 2024 01:49:38 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1710899385; x=1711158585; bh=+t6lL68VQ3uG2XvINE++DyFANNk0271glq+YmoSnS2U=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=YgeGKlkZnebXKagn/IihjbDjv9hAEeeWkz+EALN/G9pKge0KdF0TL20mQal0o4DYE FrRIo8bMSMvoWIsLzWnMboX84a0m/tZEkc921IIDATnIu3ZAMIP+Z4V3yr7IJtUQoM wGBqKPx/gEUzB+4jFvXL4xrPwQJBZnAmZsOWSdLIlWd8J/tkWzCHidlqas0c3c6Q20 5RSJm2P0nKbrc3jMYwS/Tm7J/4Dwn65FLXW7O97ZUfDysNxWTCZweMpLdVXxK9yvka zmoGQYjEF6rxvmKjj56ckN0saZCqD2BO82eQR7WunQWRWwfR3BZpMJttNURHk+41Iq OT6VFwPzKpW8g==
- Feedback-id: 45472054:user:proton
Hello,
The server directive has an option "minstratum"
which increases the stratum of the source to affect its preference. In
opinion, there should also be an opposite directive perhaps called
"maxstratum" that will do the opposite. It will lower the stratum of the
source to affect its preference. Consider the official time of Canada
provided by the National Research Council of Canada (NRC). According to
their website (link below) they operate stratum 1 servers internally,
and they also operate stratum 2 server which get their time from the
stratum 1 internal servers. Public dissemination of NTP time is only
available via their stratum 2 servers, but not stratum 1 servers.
Although I don't know their exact synchronisation mechanism between
their stratum 1 and stratum 2 server, considering that this is a
government organization providing the official time of Canada, it is
likely that they use highly accurate synchronisation methods. Their
website states "For all practical purposes, the average time disseminated by the stratum-2 server is the same as the stratum-1 servers."
It would therefore be reasonable in my opinion to be able to adjust
their NTP source from stratum 2 to stratum 1 in Chrony, and currently,
there is no such possibility.
What
are your thoughts on adding maxstratum option to the server directive
that decreases the stratum of a source for preference purposes? I think
it makes sense to have this option, and this option would only affect
the preference of the source. It would not affect the advertised stratum
level of the chrony server to its clients.
Many thanks to everyone, and Miroslav in particular.