Re: [chrony-users] asymmetric phy delay? |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] asymmetric phy delay?
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 10 Aug 2020 14:45:41 +0200
- Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1597063548; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R9KkwWHCdFiWCtIp1zTWhP1g+ttp5W0/rvVj5NgnxL8=; b=jIFh0nHscI0kGjSqBqe+GAmOcttmkNAaFKtNLWgYnuelmv9THEw7vATMPvE5bXwV6UrciK D5zRla6yDzRewar8JoCqWo8g8+MEOBW+DJl5z4WxHJ62LaoCBKTYfSbnOEoV9Vp5MphPsn C0Vqd0Wq+AgI6RtcYm6OcSIMKUvTew4=
On Mon, Aug 10, 2020 at 12:55:59PM +0100, Nuno Gonçalves wrote:
> SOC A to A shows a offset of about 50us+-25us
> SOC A to B shows a offset of about 0us+25us
> SOC B to B shows a offset of about 75us+-25us
> SOC B to A shows a offset of about 130us+-25us
> I understand that a eventual asymmetric tx/rx delay on the phy could
> cause this unbalance, but my understanding of the NTP protocol is that
> this would cancel each other on a query/response cycle of the same
> board type, which is not happening.
The asymmetry is likely in the timestamping. If you don't enable the
interleaved mode, only three of the four timestamps from the NTP
exchange will be kernel or hardware timestamps. Only when the
interleaved mode is enabled, the fourth timestamp (server TX) will be
symmetric to the client TX timestamp.
The client could be easily modified to ignore the more accurate
kernel/HW timestamp when not using interleaved mode, but the idea was
to prefer stability over symmetry between two identical machines.
There are many sources of asymmetry and this is just one of them.
--
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.