[chrony-users] Chrony on CM4 |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-users] Chrony on CM4
- From: James Clark <jjc@xxxxxxxxxx>
- Date: Sun, 3 Sep 2023 11:52:40 +0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jclark-com.20230601.gappssmtp.com; s=20230601; t=1693716769; x=1694321569; darn=chrony.tuxfamily.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=78OwlxzFjIAW+jYwkpgcDyd2pQlRZRLIunCCnp1T+vA=; b=hAHaoBIHneBMNF3VbnF4HUzteM6BLgakAwR3CqJoFVFOZW8ZWMX38q0isoMf35LRjH 9zVe7DGu+etpn2/0jpn5eP3SzQrNH8ho+gunImcgjNFVZYFKrcwJyQXrFpZGC5XPe0AO LuqPLk27XimizBSo78uUK64IbtPMTR9O5Fud4cG5dpYpuPwl0njalq6JHStWIY1fCRfG QsCIr/dxTta9X++owXg3uAhZG7NMZHIKwZov7hzM/vdgVzfTgLFMNFv+zlGx8Ci5Fj/7 vvmVsDIlpnRnAPJ3EvJJN26rbMKUndD+N038z0J+CQMRN+4WiP/o8pvkpqXl5gtF5eKM +fdw==
On Mon, Aug 21, 2023 at 3:28 PM Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> As for the PTP-specific timestamping of the CM4 NIC, I'm interested in
> tests using the NTP-over-PTP transport with the latest chrony version
> (you might need to set hwtstimeout to 0.1 or even longer for the CM4).
I've written a guide to how to set Fedora and chrony on the CM4 so as
to take advantage of both NTP-over-PTP and PHC extpps:
https://github.com/jclark/rpi-cm4-ptp-guide/blob/main/fedora.md
https://github.com/jclark/rpi-cm4-ptp-guide/blob/main/chrony.md
Corrections/suggestions welcome.
I'm using the CM4 as a server (with a very inexpensive GPS). As a
client, I used a PC with an AQC107 10GbE card (using atlantic driver),
also running Fedora (the AQC107 is cheapest 10Gbe card around, and can
only timestamp PTP packets). There are two switches in between.
It seems to be working properly: I get no errors and much better
results than with another local chrony server that is not using
hardware timestamping. But how do I tell if the hardware timestamping
is working properly in both directions?
I haven't tried to optimize it yet. The RMS offset on the client seems
to jump around more than I would expect: sometimes around 1us;
sometimes down to a few hundred nanoseconds. Not sure if that is the
switches or the CM4 flakiness or less than optimal configuration.
What would be good tests/measurements to do?
James
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.