Page MenuHomeVyOS Platform

ntp: support hardware timestamp offload and other mechanisms to improve accuracy
In progress, LowPublic

Description

Now that we are using Chrony, there are a lot of interesting options and optimizations that can be leveraged to improve the accuracy of time synchronization.

The main focus of this ticket would be the "hwtimestamp" option (see https://chrony-project.org/doc/4.3/chrony.conf.html), which enables Chrony to use functionality present in many NICs (particularly Intel), that can record the exact timestamp the NTP packet was received or sent by the NIC. This could especially make a difference on more heavily loaded systems, where there might be some variance in how long packets sit in the kernel queues, etc.

Goal would be to expose this functionality such that two Vyos instances on the local network can synchronize with each other using the higher accuracy afforded by the timestamp offload. Non-Vyos linux systems on the network could also benefit.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)