Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Any program which runs right is obsolete.


devel / comp.protocols.time.ntp / Re: NTP community feels broken

SubjectAuthor
* NTP community feels brokenPhillip Hellewell
`* Re: NTP community feels brokenchris
 `* Re: NTP community feels brokenDavid Woolley
  `* Re: NTP community feels brokenchris
   `* Re: NTP community feels brokenPaul G
    +* Re: NTP community feels brokenchris
    |+* Re: NTP community feels brokenGarrett Wollman
    ||+* Re: NTP community feels brokenchris
    |||`* Re: NTP community feels brokenGarrett Wollman
    ||| `* Re: NTP community feels brokenchris
    |||  `* Re: NTP community feels brokenPaul G
    |||   `* Re: NTP community feels brokenchris
    |||    `* Re: NTP community feels brokenPaul G
    |||     +* Re: NTP community feels brokenchris
    |||     |`* Re: NTP community feels brokenPhillip Hellewell
    |||     | `* Re: NTP community feels brokenchris
    |||     |  +* Re: NTP community feels brokenJim Pennino
    |||     |  |`* Re: NTP community feels brokenchris
    |||     |  | `* Re: NTP community feels brokenJim Pennino
    |||     |  |  `* Re: NTP community feels brokenchris
    |||     |  |   `* Re: NTP community feels brokenDavid Woolley
    |||     |  |    `- Re: NTP community feels brokenchris
    |||     |  `* Re: NTP community feels brokenDavid Woolley
    |||     |   +* Re: NTP community feels brokenchris
    |||     |   |`* Re: NTP community feels brokenDavid Woolley
    |||     |   | `* Re: NTP community feels brokenWilliam Unruh
    |||     |   |  `* Re: NTP community feels brokenDavid Woolley
    |||     |   |   `* Re: NTP community feels brokenWilliam Unruh
    |||     |   |    `- Re: NTP community feels brokenDavid Woolley
    |||     |   `* Re: NTP community feels brokenWilliam Unruh
    |||     |    `* Re: NTP community feels brokenJim Pennino
    |||     |     `- Re: NTP community feels brokenTerje Mathisen
    |||     `- Re: [questions] Re: NTP community feels brokenHarlan Stenn
    ||`* Re: [questions] Re: NTP community feels brokenHarlan Stenn
    || `- Re: [questions] Re: NTP community feels brokenPhillip Hellewell
    |`* Re: NTP community feels brokenPaul G
    | +- Re: NTP community feels brokenchris
    | `* Re: NTP community feels brokenDavid Woolley
    |  `- Re: NTP community feels brokenPaul G
    `- Re: [questions] Re: NTP community feels brokenHarlan Stenn

Pages:12
Re: NTP community feels broken

<t8mtrp$1cbm$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=386&group=comp.protocols.time.ntp#386

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.protocols.time.ntp
Subject: Re: NTP community feels broken
Date: Sun, 19 Jun 2022 11:30:17 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t8mtrp$1cbm$1@gioia.aioe.org>
References: <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.com> <t8i6bd$13fh$1@gioia.aioe.org> <t8ibrr$1l3u$1@usenet.csail.mit.edu> <t8ie8u$hjr$1@gioia.aioe.org> <t8iem4$1mjf$1@usenet.csail.mit.edu> <t8ig72$1ahc$1@gioia.aioe.org> <8933ee48-e2e1-43e2-94b1-291cabd89da7n@googlegroups.com> <t8igs2$1h4g$2@gioia.aioe.org> <94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com> <t8iv7g$pv6$1@gioia.aioe.org> <6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com> <t8lpae$gud$1@gioia.aioe.org> <t8mskm$617$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="45430"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sun, 19 Jun 2022 10:30 UTC

On 06/19/22 11:09, David Woolley wrote:
> On 19/06/2022 01:06, chris wrote:
>> In practice, that will be small, since the
>> data sheet figures for a typical max232 assume a 2.5nf capacitive
>> load on the output, whereas a few inches of wire into a rs232 line
>> receiver setup might be much faster.
>
> As we are talking about compliant RS232, which is the only real world
> reason for not just connecting TTL directly to the RS232 port, the the
> 2.5nF condition is the maximum capacitance that can appear across the
> driver output as the result of what it is driving. That sets a minimum
> possible slew rate.
>
> However a compliant RS232 system also has a maximum permitted slew rate,
> intended to minimise cross talk, and probably also to ensure that long
> cables don't ring, as the initial transient reflects backwards and
> forwards. 30V/µs is the maximum permitted slew rate for a compliant
> system. If your system exceeds that, even if it is using RS232 drivers,
> it is not a compliant system.
>

Yes, it does have a spec for the slew rate, but i'm not sure that would
always be met for modern devices, as such uarts can often be run at data
rates of up to 230 Kbytes / second, or about a 4uS bit time. That
implies much faster rise and fall times, which relates to slew rate.

We can theorise about that, but iirc, I bought two ttl to rs232
converters at the time. If I can find the second one, i'll set it up
on the bench and measure the propagation delay on a scope from input to
output. Also, see what effect the 2.5nF cap has on the waveform and
timing...

Chris

Re: NTP community feels broken

<t8mv48$1sqv$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=387&group=comp.protocols.time.ntp#387

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.protocols.time.ntp
Subject: Re: NTP community feels broken
Date: Sun, 19 Jun 2022 11:51:52 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t8mv48$1sqv$1@gioia.aioe.org>
References: <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.com> <t8i6bd$13fh$1@gioia.aioe.org> <t8ibrr$1l3u$1@usenet.csail.mit.edu> <t8ie8u$hjr$1@gioia.aioe.org> <t8iem4$1mjf$1@usenet.csail.mit.edu> <t8ig72$1ahc$1@gioia.aioe.org> <8933ee48-e2e1-43e2-94b1-291cabd89da7n@googlegroups.com> <t8igs2$1h4g$2@gioia.aioe.org> <94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com> <t8iv7g$pv6$1@gioia.aioe.org> <6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com> <t8lpae$gud$1@gioia.aioe.org> <oh82oi-2m51.ln1@gonzo.specsol.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="62303"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sun, 19 Jun 2022 10:51 UTC

On 06/19/22 01:51, Jim Pennino wrote:
> chris<chris-nospam@tridac.net> wrote:
>> On 06/18/22 04:45, Phillip Hellewell wrote:
>>> Does anyone have answers to the specific issues I found, like why the github repo
>>
>> isn't being synced, or why I can't log into bugs.ntp.org, or why emails
>> to webmaster@ntp.org bounce?
>>
>> Sorry, no idea at all, but does seem to be a common thread running
>> through, the lack of community in terms of future direction and
>> progress.
>>
>> The build here is earlier than I remembered, from the end of 2019, but
>> one of the reasons I sort of gave up, was the difficulty in sorting out
>> the pps input options. PPS handling at hardware interface level is a
>> critical function if the most accurate results are to be obtained.
>> At present there is just a single hardware option for that, the
>> rs232 data carrier detect (dcd) line, which as David has said, is
>> less than ideal because of the need for level translation, which
>> introduces a delay. In practice, that will be small, since the
>> data sheet figures for a typical max232 assume a 2.5nf capacitive
>> load on the output, whereas a few inches of wire into a rs232 line
>> receiver setup might be much faster. Having no other options for pps
>> is serious limitation though. The key thing is that whatever interface
>> is used, it must be capable of generating an interrupt to system,
>> to minimise offset. Both the dcd and the parallel port ack line
>> satisfy that requirement, though modern pc hardware often has neither
>> interface.
>>
>> Do hw and sw here, but the limitations of the present system only
>> become evident when looking in depth at all aspects. Just wish there
>> could be some sort of plan to fix the various issues.
>>
>> Chris
>
> A delay in a hardware level translator will be a fixed amount easily
> fudged out and with jitter far less than that of the computer reading
> and processing the interrupt.

Agreed and that is the best option. Polling methods will always suffer
from more jitter. There will be timing uncertainty around the polling
rate, of which there is a minimum practical limit. Direct interrupt
methods are really the only way to go for best precision.

>
> An industrial strength serial/parallel card costs about $40 these days.
>
> You need more that just an interrupt to handle PPS, you need a high
> priority interrupt.
>

Using FreeBSD here and that needed a kernel rebuild to enable PPS
support. Also enabled kernel thread preemption, which should help
make the os more deterministic. Unless you write your own os
optimised for the task, there's not much else you can do afaics...

Chris

Re: [questions] Re: NTP community feels broken

<80b13a59-125c-e341-34f4-bba0f7b40bfd@nwtime.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=388&group=comp.protocols.time.ntp#388

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: ste...@nwtime.org (Harlan Stenn)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Re: NTP community feels broken
Date: Sun, 19 Jun 2022 11:03:00 -0000 (UTC)
Organization: Taughannock Networks, Trumansburg NY
Message-ID: <80b13a59-125c-e341-34f4-bba0f7b40bfd@nwtime.org>
References: <t8igs2$1h4g$2@gioia.aioe.org> <t8i6bd$13fh$1@gioia.aioe.org> <t8ibrr$1l3u$1@usenet.csail.mit.edu> <t8ie8u$hjr$1@gioia.aioe.org> <t8ig72$1ahc$1@gioia.aioe.org> <t8iv7g$pv6$1@gioia.aioe.org> <39e66bf3-4542-4b38-b600-1d59a1bc53fdn@googlegroups.com> <t8iem4$1mjf$1@usenet.csail.mit.edu> <6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com> <da72d365-a96b-5b16-0c33-b7f55921a029@nwtime.org> <94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com> <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.
Reply-To: questions@lists.ntp.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 19 Jun 2022 11:03:00 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="73797"; mail-complaints-to="abuse@iecc.com"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv: 91.0) Gecko/20100101 Thunderbird/91.10.0
To: questions@lists.ntp.org
Return-Path: <questions+bounces-81-ntpquestions=iecc.com@lists.ntp.org>
Delivered-To: ntpquestions@iecc.com
Delivered-To: questions@lists.ntp.org
X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on gal.iecc.com
X-Spam-Status: No, score=-2.8 required=4.4 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.5
Authentication-Results: iecc.com; spf=pass spf.mailfrom=questions+bounces-81-ntpquestions=iecc.com@lists.ntp.org spf.helo=mail0.chi1.ntfo.org smtp.remote-ip="204.93.207.17"; dkim=pass header.d=nwtime.org header.s=mail header.a=rsa-sha256 header.b="kETGclYa"; dmarc=pass header.from=nwtime.org polrec.p=none polrec.pct=100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nwtime.org; s=mail; t=1655636468; bh=UWFCftWCDe1BqW9Fbuj349ncT8BYdJxqVzPaW+ePtsU=; h=Message-ID:Date:Reply-To:List-unsubscribe:List-Id:MIME-Version: Subject:To:References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=kETGclYaDDP4df71m92E3Eg7Gy+dKDOV1JNKnzO4twHFXh8BlzjH2thuJcweFCtrC BK5OQQ+NdaTcXjq5IDLRtYzEGlQScApQ6jWgSalUXG8wjyvIc5ZF8J3/AAZiXPkfrm 94gYWplSixXRs9Pacs4WiXMPZ265rcR4pyKRkQYE=
X-Original-To: questions@lists.ntp.org
List-unsubscribe: mailto: questions+unsubscribe@lists.ntp.org
X-BeenThere: questions@lists.ntp.org
List-Id: questions.lists.ntp.org
Precedence: list
Content-Language: en-US
In-Reply-To: <39e66bf3-4542-4b38-b600-1d59a1bc53fdn@googlegroups.com>
X-DCC-iecc-Metrics: gal.iecc.com 1107; Body=1 Fuz1=1 Fuz2=1
Mail-to-news: iecc.com
 by: Harlan Stenn - Sun, 19 Jun 2022 11:03 UTC

Hi Phillip,

Please let me know if you see this.

I'll dig thru my Sent folder to find my previous messages. Some of what
I want to chat about would be better handled via direct communication.

If I see something where others might have an interest, I make public
comments.

Thanks!

On 6/18/2022 11:58 AM, Phillip Hellewell wrote:
> On Saturday, June 18, 2022 at 1:33:02 AM UTC-6, Harlan Stenn wrote:
>> Phillip,
>>
>> I have send you several emails. Have you received any of them?
>
> Unfortunately, no. Maybe they went to my Spam folder? If you want to try again, I'll keep a closer eye on that.
>
> Or feel free to just answer here since this seems to be working. I do believe most of my questions are ones that a wider audience could benefit from.
>
> I am happy to know that my concerns are not getting ignored. Thank you for that.
>
> Phillip

--
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!
--
This is questions@lists.ntp.org
Subscribe: questions+subscribe@lists.ntp.org
Unsubscribe: questions+unsubscribe@lists.ntp.org

Re: NTP community feels broken

<t8n5c4$2oj$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=391&group=comp.protocols.time.ntp#391

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@ex.djwhome.demon.invalid (David Woolley)
Newsgroups: comp.protocols.time.ntp
Subject: Re: NTP community feels broken
Date: Sun, 19 Jun 2022 13:38:27 +0100
Organization: No affiliation
Lines: 25
Message-ID: <t8n5c4$2oj$1@dont-email.me>
References: <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.com>
<t8i6bd$13fh$1@gioia.aioe.org> <t8ibrr$1l3u$1@usenet.csail.mit.edu>
<t8ie8u$hjr$1@gioia.aioe.org> <t8iem4$1mjf$1@usenet.csail.mit.edu>
<t8ig72$1ahc$1@gioia.aioe.org>
<8933ee48-e2e1-43e2-94b1-291cabd89da7n@googlegroups.com>
<t8igs2$1h4g$2@gioia.aioe.org>
<94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com>
<t8iv7g$pv6$1@gioia.aioe.org>
<6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com>
<t8lpae$gud$1@gioia.aioe.org> <t8mskm$617$1@dont-email.me>
<t8mtrp$1cbm$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 19 Jun 2022 12:38:28 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="36aef9898cfc0962ee427492d93d4d99";
logging-data="2835"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+x4OtWMaMGqqbQMlh24Abkuv0S6lQht0c="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Cancel-Lock: sha1:T4khPjB/oNgNBvHcQGaSJdLxNCQ=
In-Reply-To: <t8mtrp$1cbm$1@gioia.aioe.org>
Content-Language: en-GB
 by: David Woolley - Sun, 19 Jun 2022 12:38 UTC

On 19/06/2022 11:30, chris wrote:
>
> Yes, it does have a spec for the slew rate, but i'm not sure that would
> always be met for modern devices, as such uarts can often be run at data
> rates of up to 230 Kbytes / second, or about a 4uS bit time. That
> implies much faster rise and fall times, which relates to slew rate.

But those aren't RS232 compliant devices, although the slew rate limit
is still low enough to support those data rates, but not with the full
cable length.
>
> We can theorise about that, but iirc, I bought two ttl to rs232
> converters at the time. If I can find the second one, i'll set it up
> on the bench and measure the propagation delay on a scope from input to
> output. Also, see what effect the 2.5nF cap has on the waveform and
> timing...

The 2.5nF is mainly intended to represent the capacitance of the cable,
which is deliberately operated with both source and load termination
impedances well above the characteristic impedances, so behaves like
capacitor. With the full length cable, rather than the lumped
capacitance, you would expect the voltage to staircase upwards, each
time the leading edge reflection returns.

The 2.5nF basically allows for the 50 foot maximum cable at 50pF/ft.

Re: NTP community feels broken

<72j3oi-30m2.ln1@gonzo.specsol.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=392&group=comp.protocols.time.ntp#392

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jim...@gonzo.specsol.net (Jim Pennino)
Newsgroups: comp.protocols.time.ntp
Subject: Re: NTP community feels broken
Date: Sun, 19 Jun 2022 05:57:13 -0700
Organization: A noiseless patient Spider
Lines: 65
Message-ID: <72j3oi-30m2.ln1@gonzo.specsol.net>
References: <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.com> <t8ie8u$hjr$1@gioia.aioe.org> <t8iem4$1mjf$1@usenet.csail.mit.edu> <t8ig72$1ahc$1@gioia.aioe.org> <8933ee48-e2e1-43e2-94b1-291cabd89da7n@googlegroups.com> <t8igs2$1h4g$2@gioia.aioe.org> <94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com> <t8iv7g$pv6$1@gioia.aioe.org> <6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com> <t8lpae$gud$1@gioia.aioe.org> <oh82oi-2m51.ln1@gonzo.specsol.net> <t8mv48$1sqv$1@gioia.aioe.org>
Injection-Info: reader02.eternal-september.org; posting-host="e559ef464aa817d2c497ade1ab77cf7c";
logging-data="12040"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18i+GAXLwLW3Ac0eMK7FTqw"
User-Agent: tin/2.4.4-20191224 ("Millburn") (Linux/5.4.0-120-lowlatency (x86_64))
Cancel-Lock: sha1:7bfGHQSWXyoWeD4MpfC/JUAgMuI=
 by: Jim Pennino - Sun, 19 Jun 2022 12:57 UTC

chris <chris-nospam@tridac.net> wrote:
> On 06/19/22 01:51, Jim Pennino wrote:
>> chris<chris-nospam@tridac.net> wrote:
>>> On 06/18/22 04:45, Phillip Hellewell wrote:
>>>> Does anyone have answers to the specific issues I found, like why the github repo
>>>
>>> isn't being synced, or why I can't log into bugs.ntp.org, or why emails
>>> to webmaster@ntp.org bounce?
>>>
>>> Sorry, no idea at all, but does seem to be a common thread running
>>> through, the lack of community in terms of future direction and
>>> progress.
>>>
>>> The build here is earlier than I remembered, from the end of 2019, but
>>> one of the reasons I sort of gave up, was the difficulty in sorting out
>>> the pps input options. PPS handling at hardware interface level is a
>>> critical function if the most accurate results are to be obtained.
>>> At present there is just a single hardware option for that, the
>>> rs232 data carrier detect (dcd) line, which as David has said, is
>>> less than ideal because of the need for level translation, which
>>> introduces a delay. In practice, that will be small, since the
>>> data sheet figures for a typical max232 assume a 2.5nf capacitive
>>> load on the output, whereas a few inches of wire into a rs232 line
>>> receiver setup might be much faster. Having no other options for pps
>>> is serious limitation though. The key thing is that whatever interface
>>> is used, it must be capable of generating an interrupt to system,
>>> to minimise offset. Both the dcd and the parallel port ack line
>>> satisfy that requirement, though modern pc hardware often has neither
>>> interface.
>>>
>>> Do hw and sw here, but the limitations of the present system only
>>> become evident when looking in depth at all aspects. Just wish there
>>> could be some sort of plan to fix the various issues.
>>>
>>> Chris
>>
>> A delay in a hardware level translator will be a fixed amount easily
>> fudged out and with jitter far less than that of the computer reading
>> and processing the interrupt.
>
> Agreed and that is the best option. Polling methods will always suffer
> from more jitter. There will be timing uncertainty around the polling
> rate, of which there is a minimum practical limit. Direct interrupt
> methods are really the only way to go for best precision.
>
>>
>> An industrial strength serial/parallel card costs about $40 these days.
>>
>> You need more that just an interrupt to handle PPS, you need a high
>> priority interrupt.
>>
>
> Using FreeBSD here and that needed a kernel rebuild to enable PPS
> support. Also enabled kernel thread preemption, which should help
> make the os more deterministic. Unless you write your own os
> optimised for the task, there's not much else you can do afaics...
There is still the matter of interrupt priority.

Serial ports normally show up on irq 3 and 4. If it is an add in card
they can show up anywhere, and if it happens to be something like
irq 19, then you will find your jitter in the PPS to be something in the
order of 10 to 20 microseconds even on a very fast machine.

Re: NTP community feels broken

<t8ne5p$stt$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=396&group=comp.protocols.time.ntp#396

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: comp.protocols.time.ntp
Subject: Re: NTP community feels broken
Date: Sun, 19 Jun 2022 15:08:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <t8ne5p$stt$1@dont-email.me>
References: <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.com>
<t8i6bd$13fh$1@gioia.aioe.org> <t8ibrr$1l3u$1@usenet.csail.mit.edu>
<t8ie8u$hjr$1@gioia.aioe.org> <t8iem4$1mjf$1@usenet.csail.mit.edu>
<t8ig72$1ahc$1@gioia.aioe.org>
<8933ee48-e2e1-43e2-94b1-291cabd89da7n@googlegroups.com>
<t8igs2$1h4g$2@gioia.aioe.org>
<94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com>
<t8iv7g$pv6$1@gioia.aioe.org>
<6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com>
<t8lpae$gud$1@gioia.aioe.org> <t8mskm$617$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 19 Jun 2022 15:08:41 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="21fc72fea2af4ea6a338d7c24cfd40c8";
logging-data="29629"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++TRUZF9YmXelik60mwodD"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:AvLhySu7hILmY38oBN39IR0fP1g=
 by: William Unruh - Sun, 19 Jun 2022 15:08 UTC

On 2022-06-19, David Woolley <david@ex.djwhome.demon.invalid> wrote:
> On 19/06/2022 01:06, chris wrote:
>> In practice, that will be small, since the
>> data sheet figures for a typical max232 assume a 2.5nf capacitive
>> load on the output, whereas a few inches of wire into a rs232 line
>> receiver setup might be much faster.
>
> As we are talking about compliant RS232, which is the only real world
> reason for not just connecting TTL directly to the RS232 port, the the
> 2.5nF condition is the maximum capacitance that can appear across the
> driver output as the result of what it is driving. That sets a minimum
> possible slew rate.
>
> However a compliant RS232 system also has a maximum permitted slew rate,
> intended to minimise cross talk, and probably also to ensure that long
> cables don't ring, as the initial transient reflects backwards and
> forwards. 30V/µs is the maximum permitted slew rate for a compliant
> system. If your system exceeds that, even if it is using RS232 drivers,
> it is not a compliant system.
>

Who cares if it is compliant esp as most real RS232 do better. RS232
standards are about 50 years old. They were still using vacuum tubes:-)

Test your system to see what it can do.

Re: NTP community feels broken

<t8ne9j$stt$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=397&group=comp.protocols.time.ntp#397

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: comp.protocols.time.ntp
Subject: Re: NTP community feels broken
Date: Sun, 19 Jun 2022 15:10:43 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <t8ne9j$stt$2@dont-email.me>
References: <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.com>
<t8i6bd$13fh$1@gioia.aioe.org> <t8ibrr$1l3u$1@usenet.csail.mit.edu>
<t8ie8u$hjr$1@gioia.aioe.org> <t8iem4$1mjf$1@usenet.csail.mit.edu>
<t8ig72$1ahc$1@gioia.aioe.org>
<8933ee48-e2e1-43e2-94b1-291cabd89da7n@googlegroups.com>
<t8igs2$1h4g$2@gioia.aioe.org>
<94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com>
<t8iv7g$pv6$1@gioia.aioe.org>
<6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com>
<t8lpae$gud$1@gioia.aioe.org> <t8mskm$617$1@dont-email.me>
<t8mtrp$1cbm$1@gioia.aioe.org> <t8n5c4$2oj$1@dont-email.me>
Injection-Date: Sun, 19 Jun 2022 15:10:43 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="21fc72fea2af4ea6a338d7c24cfd40c8";
logging-data="29629"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+IHIsd46Yjo0k9Wm0otKRI"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:o79OviMog3bHq0ycWRJ7ZmvpeSw=
 by: William Unruh - Sun, 19 Jun 2022 15:10 UTC

On 2022-06-19, David Woolley <david@ex.djwhome.demon.invalid> wrote:
> On 19/06/2022 11:30, chris wrote:
>>
>> Yes, it does have a spec for the slew rate, but i'm not sure that would
>> always be met for modern devices, as such uarts can often be run at data
>> rates of up to 230 Kbytes / second, or about a 4uS bit time. That
>> implies much faster rise and fall times, which relates to slew rate.
>
> But those aren't RS232 compliant devices, although the slew rate limit
> is still low enough to support those data rates, but not with the full
> cable length.
>>
>> We can theorise about that, but iirc, I bought two ttl to rs232
>> converters at the time. If I can find the second one, i'll set it up
>> on the bench and measure the propagation delay on a scope from input to
>> output. Also, see what effect the 2.5nF cap has on the waveform and
>> timing...
>
> The 2.5nF is mainly intended to represent the capacitance of the cable,
> which is deliberately operated with both source and load termination
> impedances well above the characteristic impedances, so behaves like
> capacitor. With the full length cable, rather than the lumped
> capacitance, you would expect the voltage to staircase upwards, each

So teminate it to get rid of the refections.

> time the leading edge reflection returns.
>
> The 2.5nF basically allows for the 50 foot maximum cable at 50pF/ft.

Re: NTP community feels broken

<pcs3oi-i273.ln1@gonzo.specsol.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=399&group=comp.protocols.time.ntp#399

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jim...@gonzo.specsol.net (Jim Pennino)
Newsgroups: comp.protocols.time.ntp
Subject: Re: NTP community feels broken
Date: Sun, 19 Jun 2022 08:36:27 -0700
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <pcs3oi-i273.ln1@gonzo.specsol.net>
References: <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.com> <t8ie8u$hjr$1@gioia.aioe.org> <t8iem4$1mjf$1@usenet.csail.mit.edu> <t8ig72$1ahc$1@gioia.aioe.org> <8933ee48-e2e1-43e2-94b1-291cabd89da7n@googlegroups.com> <t8igs2$1h4g$2@gioia.aioe.org> <94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com> <t8iv7g$pv6$1@gioia.aioe.org> <6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com> <t8lpae$gud$1@gioia.aioe.org> <t8mskm$617$1@dont-email.me> <t8ne5p$stt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="e559ef464aa817d2c497ade1ab77cf7c";
logging-data="15706"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18suObIMAa4d2EZdv4YrjNE"
User-Agent: tin/2.4.4-20191224 ("Millburn") (Linux/5.4.0-120-lowlatency (x86_64))
Cancel-Lock: sha1:nNHOt/W7UzWmlPaaUYl+YjQQuj4=
 by: Jim Pennino - Sun, 19 Jun 2022 15:36 UTC

William Unruh <unruh@invalid.ca> wrote:
> On 2022-06-19, David Woolley <david@ex.djwhome.demon.invalid> wrote:
>> On 19/06/2022 01:06, chris wrote:
>>> In practice, that will be small, since the
>>> data sheet figures for a typical max232 assume a 2.5nf capacitive
>>> load on the output, whereas a few inches of wire into a rs232 line
>>> receiver setup might be much faster.
>>
>> As we are talking about compliant RS232, which is the only real world
>> reason for not just connecting TTL directly to the RS232 port, the the
>> 2.5nF condition is the maximum capacitance that can appear across the
>> driver output as the result of what it is driving. That sets a minimum
>> possible slew rate.
>>
>> However a compliant RS232 system also has a maximum permitted slew rate,
>> intended to minimise cross talk, and probably also to ensure that long
>> cables don't ring, as the initial transient reflects backwards and
>> forwards. 30V/µs is the maximum permitted slew rate for a compliant
>> system. If your system exceeds that, even if it is using RS232 drivers,
>> it is not a compliant system.
>>
>
> Who cares if it is compliant esp as most real RS232 do better. RS232
> standards are about 50 years old. They were still using vacuum tubes:-)
>
> Test your system to see what it can do.

Hand-wringing over the serial physical characteristics are pointless
unless you have a very long cable or are designing your own interface.

Commercial hardware is orders of magnitude better at both latency and
jitter than most all computer hardware/software combinations unless you
are using computer hardware specifically designed for real time systems
with a real time OS.

The limiting factor for PC's and things like the Pi will be the jitter
in processing the interrupt generated by the PPS signal.

This tends to be on the order of 1 microsecond at best on every PC and
SBC board I have used.

FYI the best I've seen so far is about 900 nanoseconds on a Pi4.

Re: NTP community feels broken

<t8ni7q$sk7$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=401&group=comp.protocols.time.ntp#401

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@ex.djwhome.demon.invalid (David Woolley)
Newsgroups: comp.protocols.time.ntp
Subject: Re: NTP community feels broken
Date: Sun, 19 Jun 2022 17:18:01 +0100
Organization: No affiliation
Lines: 16
Message-ID: <t8ni7q$sk7$1@dont-email.me>
References: <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.com>
<t8i6bd$13fh$1@gioia.aioe.org> <t8ibrr$1l3u$1@usenet.csail.mit.edu>
<t8ie8u$hjr$1@gioia.aioe.org> <t8iem4$1mjf$1@usenet.csail.mit.edu>
<t8ig72$1ahc$1@gioia.aioe.org>
<8933ee48-e2e1-43e2-94b1-291cabd89da7n@googlegroups.com>
<t8igs2$1h4g$2@gioia.aioe.org>
<94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com>
<t8iv7g$pv6$1@gioia.aioe.org>
<6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com>
<t8lpae$gud$1@gioia.aioe.org> <t8mskm$617$1@dont-email.me>
<t8mtrp$1cbm$1@gioia.aioe.org> <t8n5c4$2oj$1@dont-email.me>
<t8ne9j$stt$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 19 Jun 2022 16:18:02 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="36aef9898cfc0962ee427492d93d4d99";
logging-data="29319"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19U91wevI5MpK3FPabccdjHVkWGzUGYPNU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Cancel-Lock: sha1:o7zCfmjiLMhD+dBm9QY6lYXT42s=
In-Reply-To: <t8ne9j$stt$2@dont-email.me>
Content-Language: en-GB
 by: David Woolley - Sun, 19 Jun 2022 16:18 UTC

On 19/06/2022 16:10, William Unruh wrote:
> So teminate it to get rid of the refections.

It's no longer RS232 if you terminate it anything less than, ISTR, 4k,
or reverse terminate in anything other than 300 ohms.

I think 100 ohm is typical for the characteristic impedance of a wire
pair, so given the open source voltage of the driver is 12 volts, by
terminating it you have removed all your noise margin, if you accept the
transition region is the full +/-3V.

If you want to use an EIA standard that uses terminated lines, you
should use RS 422, which also uses differential pairs, which also
improves noise immunity. Or RS 423, which, although it uses a
differential line receiver, is unbalanced, with one of the pair tied to
local functional ground at the transmitter.

Re: NTP community feels broken

<t8oakf$14hh$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=403&group=comp.protocols.time.ntp#403

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.protocols.time.ntp
Subject: Re: NTP community feels broken
Date: Mon, 20 Jun 2022 00:14:23 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t8oakf$14hh$1@gioia.aioe.org>
References: <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.com> <t8ie8u$hjr$1@gioia.aioe.org> <t8iem4$1mjf$1@usenet.csail.mit.edu> <t8ig72$1ahc$1@gioia.aioe.org> <8933ee48-e2e1-43e2-94b1-291cabd89da7n@googlegroups.com> <t8igs2$1h4g$2@gioia.aioe.org> <94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com> <t8iv7g$pv6$1@gioia.aioe.org> <6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com> <t8lpae$gud$1@gioia.aioe.org> <oh82oi-2m51.ln1@gonzo.specsol.net> <t8mv48$1sqv$1@gioia.aioe.org> <72j3oi-30m2.ln1@gonzo.specsol.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="37425"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sun, 19 Jun 2022 23:14 UTC

On 06/19/22 13:57, Jim Pennino wrote:
> chris<chris-nospam@tridac.net> wrote:
>> On 06/19/22 01:51, Jim Pennino wrote:
>>> chris<chris-nospam@tridac.net> wrote:
>>>> On 06/18/22 04:45, Phillip Hellewell wrote:
>>>>> Does anyone have answers to the specific issues I found, like why the github repo
>>>>
>>>> isn't being synced, or why I can't log into bugs.ntp.org, or why emails
>>>> to webmaster@ntp.org bounce?
>>>>
>>>> Sorry, no idea at all, but does seem to be a common thread running
>>>> through, the lack of community in terms of future direction and
>>>> progress.
>>>>
>>>> The build here is earlier than I remembered, from the end of 2019, but
>>>> one of the reasons I sort of gave up, was the difficulty in sorting out
>>>> the pps input options. PPS handling at hardware interface level is a
>>>> critical function if the most accurate results are to be obtained.
>>>> At present there is just a single hardware option for that, the
>>>> rs232 data carrier detect (dcd) line, which as David has said, is
>>>> less than ideal because of the need for level translation, which
>>>> introduces a delay. In practice, that will be small, since the
>>>> data sheet figures for a typical max232 assume a 2.5nf capacitive
>>>> load on the output, whereas a few inches of wire into a rs232 line
>>>> receiver setup might be much faster. Having no other options for pps
>>>> is serious limitation though. The key thing is that whatever interface
>>>> is used, it must be capable of generating an interrupt to system,
>>>> to minimise offset. Both the dcd and the parallel port ack line
>>>> satisfy that requirement, though modern pc hardware often has neither
>>>> interface.
>>>>
>>>> Do hw and sw here, but the limitations of the present system only
>>>> become evident when looking in depth at all aspects. Just wish there
>>>> could be some sort of plan to fix the various issues.
>>>>
>>>> Chris
>>>
>>> A delay in a hardware level translator will be a fixed amount easily
>>> fudged out and with jitter far less than that of the computer reading
>>> and processing the interrupt.
>>
>> Agreed and that is the best option. Polling methods will always suffer
>> from more jitter. There will be timing uncertainty around the polling
>> rate, of which there is a minimum practical limit. Direct interrupt
>> methods are really the only way to go for best precision.
>>
>>>
>>> An industrial strength serial/parallel card costs about $40 these days.
>>>
>>> You need more that just an interrupt to handle PPS, you need a high
>>> priority interrupt.
>>>
>>
>> Using FreeBSD here and that needed a kernel rebuild to enable PPS
>> support. Also enabled kernel thread preemption, which should help
>> make the os more deterministic. Unless you write your own os
>> optimised for the task, there's not much else you can do afaics...
>
> There is still the matter of interrupt priority.

Yes and that depends on a raft of factors, including processor type,
hardware organisation and software architecture. Early processors
often had just a couple of interrupt pins, irq and nmi, so that
several devices had to be polled to find out the source of the
interrupt. That imposed it's own priority structure.
Later devices, starting in the 68000 era, used an interrupt vector
table, where interrupt sources were vectored directly to the interrupt
handler, with other methods used to organise priority.
All a bit of a wash now, with nanosecond processor response times, but
was a serious issue in the past, often requiring counting machine
cycles in interrupt handlers to ensure timing accuracy.

Real time embedded here for over 3 decades and still love the work, but
need to get more into the FreeBSD kernel to understand more about
timing. The FreeBSD internals book is well worth a read and is one
of the best documented ever seen here...

Chris

>
> Serial ports normally show up on irq 3 and 4. If it is an add in card
> they can show up anywhere, and if it happens to be something like
> irq 19, then you will find your jitter in the PPS to be something in the
> order of 10 to 20 microseconds even on a very fast machine.
>
>

Re: NTP community feels broken

<t8pj9g$r11$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=406&group=comp.protocols.time.ntp#406

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@ex.djwhome.demon.invalid (David Woolley)
Newsgroups: comp.protocols.time.ntp
Subject: Re: NTP community feels broken
Date: Mon, 20 Jun 2022 11:48:15 +0100
Organization: No affiliation
Lines: 11
Message-ID: <t8pj9g$r11$1@dont-email.me>
References: <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.com>
<t8ie8u$hjr$1@gioia.aioe.org> <t8iem4$1mjf$1@usenet.csail.mit.edu>
<t8ig72$1ahc$1@gioia.aioe.org>
<8933ee48-e2e1-43e2-94b1-291cabd89da7n@googlegroups.com>
<t8igs2$1h4g$2@gioia.aioe.org>
<94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com>
<t8iv7g$pv6$1@gioia.aioe.org>
<6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com>
<t8lpae$gud$1@gioia.aioe.org> <oh82oi-2m51.ln1@gonzo.specsol.net>
<t8mv48$1sqv$1@gioia.aioe.org> <72j3oi-30m2.ln1@gonzo.specsol.net>
<t8oakf$14hh$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 20 Jun 2022 10:48:16 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="834a49b280c6fda56590a0b0d1902567";
logging-data="27681"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sqYuBl3KScaASjRMwM3jkgIFXZ/FCSGc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Cancel-Lock: sha1:+qcPC4XreiCdwLlzFp91bfYrqak=
In-Reply-To: <t8oakf$14hh$1@gioia.aioe.org>
Content-Language: en-GB
 by: David Woolley - Mon, 20 Jun 2022 10:48 UTC

On 20/06/2022 00:14, chris wrote:
> Early processors
> often had just a couple of interrupt pins, irq and nmi,

You mean microprocessors. NMI seems to be a concept that was introduced
with microprocessors, and multi-priority interrupts existed before even
the earliest microprocessors.

In terms of software, I don't think typical Linux code really fully
supports multi-level interrupts, and, if anything, may effectively
invert the priority order.

Re: NTP community feels broken

<t8pmk6$1r9e$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=407&group=comp.protocols.time.ntp#407

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!aioe.org!10O9MudpjwoXIahOJRbDvA.user.46.165.242.91.POSTED!not-for-mail
From: terje.ma...@tmsw.no (Terje Mathisen)
Newsgroups: comp.protocols.time.ntp
Subject: Re: NTP community feels broken
Date: Mon, 20 Jun 2022 13:45:17 +0200
Organization: Aioe.org NNTP Server
Message-ID: <t8pmk6$1r9e$1@gioia.aioe.org>
References: <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.com>
<t8ie8u$hjr$1@gioia.aioe.org> <t8iem4$1mjf$1@usenet.csail.mit.edu>
<t8ig72$1ahc$1@gioia.aioe.org>
<8933ee48-e2e1-43e2-94b1-291cabd89da7n@googlegroups.com>
<t8igs2$1h4g$2@gioia.aioe.org>
<94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com>
<t8iv7g$pv6$1@gioia.aioe.org>
<6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com>
<t8lpae$gud$1@gioia.aioe.org> <t8mskm$617$1@dont-email.me>
<t8ne5p$stt$1@dont-email.me> <pcs3oi-i273.ln1@gonzo.specsol.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="60718"; posting-host="10O9MudpjwoXIahOJRbDvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
Firefox/68.0 SeaMonkey/2.53.12
X-Notice: Filtered by postfilter v. 0.9.2
 by: Terje Mathisen - Mon, 20 Jun 2022 11:45 UTC

Jim Pennino wrote:
> William Unruh <unruh@invalid.ca> wrote:
>> On 2022-06-19, David Woolley <david@ex.djwhome.demon.invalid> wrote:
>>> On 19/06/2022 01:06, chris wrote:
>>>> In practice, that will be small, since the
>>>> data sheet figures for a typical max232 assume a 2.5nf capacitive
>>>> load on the output, whereas a few inches of wire into a rs232 line
>>>> receiver setup might be much faster.
>>>
>>> As we are talking about compliant RS232, which is the only real world
>>> reason for not just connecting TTL directly to the RS232 port, the the
>>> 2.5nF condition is the maximum capacitance that can appear across the
>>> driver output as the result of what it is driving. That sets a minimum
>>> possible slew rate.
>>>
>>> However a compliant RS232 system also has a maximum permitted slew rate,
>>> intended to minimise cross talk, and probably also to ensure that long
>>> cables don't ring, as the initial transient reflects backwards and
>>> forwards. 30V/µs is the maximum permitted slew rate for a compliant
>>> system. If your system exceeds that, even if it is using RS232 drivers,
>>> it is not a compliant system.
>>>
>>
>> Who cares if it is compliant esp as most real RS232 do better. RS232
>> standards are about 50 years old. They were still using vacuum tubes:-)
>>
>> Test your system to see what it can do.
>
> Hand-wringing over the serial physical characteristics are pointless
> unless you have a very long cable or are designing your own interface.
>
> Commercial hardware is orders of magnitude better at both latency and
> jitter than most all computer hardware/software combinations unless you
> are using computer hardware specifically designed for real time systems
> with a real time OS.
>
> The limiting factor for PC's and things like the Pi will be the jitter
> in processing the interrupt generated by the PPS signal.
>
> This tends to be on the order of 1 microsecond at best on every PC and
> SBC board I have used.
>
> FYI the best I've seen so far is about 900 nanoseconds on a Pi4.

Back before OoO processors, spread spectrum clocks and variable
frequency boosts, i.e. Pentium days around 1994-1997, it was trivially
easy to get far below your stated 1 us jitter.

It is indeed harder today!

A propr GPS clock these days needs to be inverted, i.e. the server asks
the clock what time it is _now_, and gets back a timestamp.

So, by taking the local system clock, sending off this querey, and then
checking the local clock again, you can both measure the latency of this
reading and get the official/gps-based time.

In order to work this way, the GPS needs a way to use its local osc
(typically running at 10 MHz) to count ticks since the last second
transition, there has been at least one reference clock that worked this
way.

Repeat this call maybe 5 times and pick the one with the lowest
turnaround time.

Terje

--
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"

Re: NTP community feels broken

<t8q03b$f6k$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=408&group=comp.protocols.time.ntp#408

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.protocols.time.ntp
Subject: Re: NTP community feels broken
Date: Mon, 20 Jun 2022 15:26:51 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t8q03b$f6k$1@gioia.aioe.org>
References: <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.com> <t8ie8u$hjr$1@gioia.aioe.org> <t8iem4$1mjf$1@usenet.csail.mit.edu> <t8ig72$1ahc$1@gioia.aioe.org> <8933ee48-e2e1-43e2-94b1-291cabd89da7n@googlegroups.com> <t8igs2$1h4g$2@gioia.aioe.org> <94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com> <t8iv7g$pv6$1@gioia.aioe.org> <6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com> <t8lpae$gud$1@gioia.aioe.org> <oh82oi-2m51.ln1@gonzo.specsol.net> <t8mv48$1sqv$1@gioia.aioe.org> <72j3oi-30m2.ln1@gonzo.specsol.net> <t8oakf$14hh$1@gioia.aioe.org> <t8pj9g$r11$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="15572"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Mon, 20 Jun 2022 14:26 UTC

On 06/20/22 11:48, David Woolley wrote:
> On 20/06/2022 00:14, chris wrote:
>> Early processors
>> often had just a couple of interrupt pins, irq and nmi,
>
> You mean microprocessors. NMI seems to be a concept that was introduced
> with microprocessors, and multi-priority interrupts existed before even
> the earliest microprocessors.
>
> In terms of software, I don't think typical Linux code really fully
> supports multi-level interrupts, and, if anything, may effectively
> invert the priority order.

That's correct, thinking of things like early Arm, 6502, 6800 and many
others. Suspect some of the early minis used similar ideas, perhaps
under different names. The pdp11 mini, for example, had a fully vectored
interrupt dispatch table from day one back in 1969. Not sure about the
Data General Nove from the same era...

As for Linux, dumped that for good in frustration about the bloat after
systemd. Little more than a windows replacement these days imho. FreeBSD
is much more easily configured for real time work and comes with far
less baggage. Of course, traditional unix, including Linux tasks run
to completion, where a fully preemptive kernel is needed for real time
work...

Chris

Re: NTP community feels broken

<t8s45f$8v3$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=413&group=comp.protocols.time.ntp#413

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: comp.protocols.time.ntp
Subject: Re: NTP community feels broken
Date: Tue, 21 Jun 2022 09:48:31 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <t8s45f$8v3$1@dont-email.me>
References: <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.com>
<t8i6bd$13fh$1@gioia.aioe.org> <t8ibrr$1l3u$1@usenet.csail.mit.edu>
<t8ie8u$hjr$1@gioia.aioe.org> <t8iem4$1mjf$1@usenet.csail.mit.edu>
<t8ig72$1ahc$1@gioia.aioe.org>
<8933ee48-e2e1-43e2-94b1-291cabd89da7n@googlegroups.com>
<t8igs2$1h4g$2@gioia.aioe.org>
<94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com>
<t8iv7g$pv6$1@gioia.aioe.org>
<6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com>
<t8lpae$gud$1@gioia.aioe.org> <t8mskm$617$1@dont-email.me>
<t8mtrp$1cbm$1@gioia.aioe.org> <t8n5c4$2oj$1@dont-email.me>
<t8ne9j$stt$2@dont-email.me> <t8ni7q$sk7$1@dont-email.me>
Injection-Date: Tue, 21 Jun 2022 09:48:31 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6c3870359d5a9a2f2b71673ec439c242";
logging-data="9187"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+LXkFATl9T8KelHRTdndzL"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:9lrGI/Ah0JOnISjAcL3u1ecKKrQ=
 by: William Unruh - Tue, 21 Jun 2022 09:48 UTC

On 2022-06-19, David Woolley <david@ex.djwhome.demon.invalid> wrote:
> On 19/06/2022 16:10, William Unruh wrote:
>> So teminate it to get rid of the refections.
>
> It's no longer RS232 if you terminate it anything less than, ISTR, 4k,
> or reverse terminate in anything other than 300 ohms.

Who cares if it is no longer RS232, if it works. As has been pointed out
virtually no rs232 hardware is RS232 according to the standards. What
one wants is a signal pin that triggers an interrupt. If your bog
standard RS232 does that, then use it. I do agree that if you terminate
it with too low an impedance, you will get a small signal on the pin,
and it could be problematic, or could not, again depending on the
hardware.
>
> I think 100 ohm is typical for the characteristic impedance of a wire
> pair, so given the open source voltage of the driver is 12 volts, by
> terminating it you have removed all your noise margin, if you accept the
> transition region is the full +/-3V.
>
> If you want to use an EIA standard that uses terminated lines, you
> should use RS 422, which also uses differential pairs, which also
> improves noise immunity. Or RS 423, which, although it uses a
> differential line receiver, is unbalanced, with one of the pair tied to
> local functional ground at the transmitter.

Re: NTP community feels broken

<t8s8f1$b44$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=415&group=comp.protocols.time.ntp#415

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@ex.djwhome.demon.invalid (David Woolley)
Newsgroups: comp.protocols.time.ntp
Subject: Re: NTP community feels broken
Date: Tue, 21 Jun 2022 12:01:52 +0100
Organization: No affiliation
Lines: 8
Message-ID: <t8s8f1$b44$1@dont-email.me>
References: <0155011a-ad2a-4f1c-bd9e-6dcfb3af372cn@googlegroups.com>
<t8i6bd$13fh$1@gioia.aioe.org> <t8ibrr$1l3u$1@usenet.csail.mit.edu>
<t8ie8u$hjr$1@gioia.aioe.org> <t8iem4$1mjf$1@usenet.csail.mit.edu>
<t8ig72$1ahc$1@gioia.aioe.org>
<8933ee48-e2e1-43e2-94b1-291cabd89da7n@googlegroups.com>
<t8igs2$1h4g$2@gioia.aioe.org>
<94eabc1e-fe28-4408-aeaa-89487d22398bn@googlegroups.com>
<t8iv7g$pv6$1@gioia.aioe.org>
<6884402d-d5c9-435d-b0b3-cff9a9c532efn@googlegroups.com>
<t8lpae$gud$1@gioia.aioe.org> <t8mskm$617$1@dont-email.me>
<t8mtrp$1cbm$1@gioia.aioe.org> <t8n5c4$2oj$1@dont-email.me>
<t8ne9j$stt$2@dont-email.me> <t8ni7q$sk7$1@dont-email.me>
<t8s45f$8v3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 21 Jun 2022 11:01:53 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1a23a9bf72c824485bda8858c69df988";
logging-data="11396"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+EloE46nsyMYL1kB1cgstMpImYTBxK4tM="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Cancel-Lock: sha1:fo7D0+6BCkD1rgh4lYV8HPOtLMI=
In-Reply-To: <t8s45f$8v3$1@dont-email.me>
Content-Language: en-GB
 by: David Woolley - Tue, 21 Jun 2022 11:01 UTC

On 21/06/2022 10:48, William Unruh wrote:
> Who cares if it is no longer RS232, if it works. As has been pointed out
> virtually no rs232 hardware is RS232 according to the standards.

Oddly that is the point I was trying to make. Someone was insisting
that you mustn't cut corners, and must use an RS232 driver when
interfacing to a nominally RS232 input port. I was analyzing the
consequences of actually conforming to RS232.

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor