Re: [chrony-users] PPS Synchronization Verification |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] PPS Synchronization Verification
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 2 Nov 2020 17:31:43 +0100
- 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=1604334710; 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=S3Gg8/JpjdRbbMbDaE0rgzjdyw1ATv9kx7p6/ZHCqa8=; b=fazzuI0NsfqLwQeNtAupLMBfZJgIouUurhgGM1r0gyhMcDeVapE16uGkrJAycquGT3RuLh Tv+XibUH8tVw17VlK+DEutmM5Bp0A0iUWoqYCgIDmeK4w/hh+z+AbaESUdTkXiN/bNrQjE xZ8gqwYiYN9PUkiybaMctCo9ln7AYKY=
On Mon, Nov 02, 2020 at 08:02:12AM -0800, Bill Unruh wrote:
>
> On Mon, 2 Nov 2020, Miroslav Lichvar wrote:
>
> > On Mon, Nov 02, 2020 at 12:24:32PM +0000, Chang, Benjamin wrote:
> > > The PPS signal is coming from the NTP server (it's a syncserver S650) and is connected via a 232 line. I essentially did this https://www.crc.id.au/2016/09/24/adding-a-pps-source-to-ntpd/ but switched the ntpd kernel with the chrony kernel. Should I set an offset of .00002 for the PPS?
>
> 20 microseconds for an interrupt? That seems pretty high. One tests I ran
> about 10 years ago, (sending a timed signal over on the parallel port lines to
> the serial port interrupt line) the latency was closer to or less than 1 microsecond.
Modern hardware seems to be worse. There are other delays than the CPU
handling an interrupt, e.g. due to various bridges between the CPU and
UART. On one machine I have measured an offset of about 27
microseconds between PPS on serial port and hardware-timestamped NTP
(accurate to 1us).
--
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.