Re: [chrony-users] Leveraging PTM |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Leveraging PTM
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Thu, 7 Sep 2023 16:02:26 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1694095350; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TJZPzLJTJawvaaVh7+TFdtmSh1SxLILBxUr+bdwF2ig=; b=Pmb939Q2zt3A+fB6X7BRw7Q/opD+8IEokmyBESfRix1eUdPrldntB7BDC3b8lnAa9HtMRq /LlMX+RcPaAS+pFAilZE/gqpu2tRPvFG8tpMOCAg3023uFQUPEWSkSrb/wOe7jiZeaPtlq qt4WsIwxQFF3IZtThRQnvVJkEMNsGC4=
On Thu, Sep 07, 2023 at 10:49:50AM +0700, James Clark wrote:
> I'm curious about how well this works when there are multiple switches
> between server/client. I've got two slightly different variants of this
> switch, so I could potentially test this.
Not exactly the same thing, but I simulated 4 switches by splitting
the single switch into 4 VLANs and daisy chaining the 4 pairs of
ports.
The jitter observed by chrony doubled when not using the PTP
correction, but there was no change at all when using the correction.
It still seems symmetric and jitter of only about 10 ns, which I think
mostly comes from the I210 resolution (125MHz clock).
Here are some plots:
https://i.imgur.com/O9FngmX.png
I'd be curious to see some tests with PTM.
I also tested the switch with PTP in the other supported modes. There
are some issues:
- 2-step E2E and both 1-step and 2-step P2P transparent clocks
insert a VLAN tag to the sync/follow up messages if using UDP
transport, which completely breaks synchronization. L2 transport
works ok.
- Boundary clock doesn't lock. It's constantly switching between
FREQ_LOCKING and PHASE_LOCKING states. I tried changing the PID
constants to few different values, but that didn't seem to help.
- Boundary clock doesn't adopt grandmaster identity from its master.
Maybe that happens only when it locks.
--
Miroslav Lichvar
--
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.