Re: [Ntp] Internet latency mapping project idea

"Giovane C. M. Moura" <giovane.moura@sidn.nl> Tue, 23 April 2024 10:56 UTC

Return-Path: <giovane.moura@sidn.nl>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 12C49C14F6FF for <ntp@ietfa.amsl.com>; Tue, 23 Apr 2024 03:56:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sidn.nl
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bfxt7Ov-c_qE for <ntp@ietfa.amsl.com>; Tue, 23 Apr 2024 03:56:45 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2127.outbound.protection.outlook.com [40.107.20.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5772BC14F704 for <ntp@ietf.org>; Tue, 23 Apr 2024 03:56:44 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DqKRnZXvxJgwNAt2Rifal+1dJvQ6J31Ase0A61JJIoqZwnFJl2f2iOXd6nJHrm5cqu+NX5OvU7/VqSD9WPtE6MdEEuNultsBntm+QqfFmvJ0Bdxw0ABREaSzb9SjtZdZRSHfHyTcswsq4/JpPM5I0B+KP2OBl3+pnR4Nz8BIJ1ndY73z/b8JoK9pNj3EJ4pM2P1cHl8IVr92/x1R5Hix0vLvezeQWUNRhz5NuODZFUBPODlTzefnEHsCI+2E38KaY0RAq2m/JTeIWyJiN6NwE05Jsm3jGkqZriWrzgTGP2uecR62IKkl2vgMMVwIDhg8DWVEb5vawURqdaN22BJWhA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ssjl3+HZUq+J/eppBZMHUW/I/OssuH19go/xTPfw1gM=; b=NbZFvLKlFns+7owxOD3HN5OO/v5N2RCUs1CSBccLYcsI3h7FbdyrU9BVebxKS0Y27aWARzjzZKxF1EyOyZESmtwocHBy3qnWGLsApB04wnnn7m03QCFa5rrTLOk3y36BY/lkXvD4YxuuUbkRN2miaGfzqR2u7+Dz938z76YGF1a5OtZalEd2OOsXV1x5TeEnqKNDl+/msHo3x7GdEX+1wr6wQScOb/uCGK7sVRiGyTgm6oSuTMF6FqBIbAMzA7nZb5dkC41fSWdWtbEny8TLcJapKPafmbiFAVLSwOkOlMUMppXutAF9NoM7EgSbq/RG+mmW19VY+s7q5zgI3/Zofw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sidn.nl; dmarc=pass action=none header.from=sidn.nl; dkim=pass header.d=sidn.nl; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sidn.nl; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ssjl3+HZUq+J/eppBZMHUW/I/OssuH19go/xTPfw1gM=; b=naCLEFqJ2LQjgIp114hWfa8ROM0soqGi3PmrEqVnAA5J6+hn0Qt200Y58lrSO04UzSCXrY9aRO/mtijazINQTfLOhhZCxwelY/w4qTBnEkAvYVajCUxJLA+grLHoHHoDz6tGZ+GvT6nRp0CRf/lCuCwdiUcjkBXOHSSEvV3p708=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=sidn.nl;
Received: from AM0P194MB0257.EURP194.PROD.OUTLOOK.COM (2603:10a6:208:61::31) by DB9P194MB1777.EURP194.PROD.OUTLOOK.COM (2603:10a6:10:390::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Tue, 23 Apr 2024 10:56:41 +0000
Received: from AM0P194MB0257.EURP194.PROD.OUTLOOK.COM ([fe80::c3b6:3269:a7ed:3fa5]) by AM0P194MB0257.EURP194.PROD.OUTLOOK.COM ([fe80::c3b6:3269:a7ed:3fa5%4]) with mapi id 15.20.7472.044; Tue, 23 Apr 2024 10:56:40 +0000
Message-ID: <7eb855a1-fd7b-4383-8c30-8fd1be532ad7@sidn.nl>
Date: Tue, 23 Apr 2024 12:56:39 +0200
User-Agent: Mozilla Thunderbird
To: ntp@ietf.org
References: <CAKvtgU1P+QOYMgAhT7aP-72KkF_FJY831OKVdp3gUDgT8zYSbQ@mail.gmail.com>
Content-Language: en-US
From: "Giovane C. M. Moura" <giovane.moura@sidn.nl>
In-Reply-To: <CAKvtgU1P+QOYMgAhT7aP-72KkF_FJY831OKVdp3gUDgT8zYSbQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-ClientProxiedBy: AM0PR10CA0092.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:15::45) To AM0P194MB0257.EURP194.PROD.OUTLOOK.COM (2603:10a6:208:61::31)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: AM0P194MB0257:EE_|DB9P194MB1777:EE_
X-MS-Office365-Filtering-Correlation-Id: 7edae94f-c954-4ced-237d-08dc63840e65
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: Gn9XIRaDHU5BHwS259j3AU2V6PQTZJMBtbaWh0LlPEqprJc7h4RFIXebmzVp8r7hK8+mxVA9RexUK9TCphKkWdV3YbnFz++adKTVOuTFA8np3cmH/Q+xhOGEYcm4+UFNNOIfQwuFh3pZ956oKcZVChD8MLD3EIFEPkyHm1ZcvYn4gBjdfx83XQLF3mQi6Lh3gQqF4Utvk5y1JeOKGCvek5ETUpnkppxInMvB79SevhmE6DG2+bGkjE6t/EjoBXT/iuZC7enWYUcaeYxbGyYEpxzQWci2zQ83xwzQHnf0W37PDPWo6FrOl77K4jvpqH5JLwmJEvGOJo2QaycDGRhSNXfTjAwEpddHK2VAmBqF6r/xf2IrGCxH6ybIBrbxYtydXo7PmMdjP1k8e+/GkZp2rhSMANh6CuJ2eWJo5sCRxv0SrMf3H7XBSHZdMpGsKUxoBhA585Ef8YfMdzQ3zJT3rdEO37GeetORwy4eG/pf/eH0eAP4qEDkOMkWYIW9/2CZ18PP0GMJMwiq3afq0S0pK/WMsOy2YnaSPLrhLrFrjNtvJbVxq/7KsFr2pEDVCcAnQ4gDs21sMMofuPlqrW1l3mSHmFyFlMHDcb+OXpEKKo/BFnah47CiT1XDJgk24mODx3+Sv2TQDOwf1Kzis7fEl4mmOS8mxk3LEDKQeYJ17747ox14J9LCORguRZS/LIlr/tkeOgOvlhI78Y0xvHxWi8MInWy0D7zJxIJhnsKCEj3yd9RywDrWZOUNb8KuPuGWYPa4fKi6WeMb3zjnnCKem28OrvmTH9CthlinClmo2XsOZyDoZFGcEKkWCR6PL1T0t+fa2jRhAmbhu8Iq9BcYkbijnK2zdgnZVLEEHaPVhMdS4k3DrTaEgq1A2ObfAcotNKu/WVTB/ssDFazBm9PbBLzt3QNzWxAbkWpIRK9ALf2BNl8Iuo5NPYvjpfA7T/v+dS99Bgr/b5AftR+9JMgAvQcd41f8prNdfW6Hz1/3o3XlkWw4CqfMRcR+DNUtk8kvCIixDQJAs5B/mdWobaTeTxVOLVRIZ9O0p3xTEZEQ7pnUwS27ltXlJWvMMKWUvl+exTdrFz8pfG4FAQcFLWl0lqSfmrxmynPH/ErikupdXJfbo3mXmxS6fm4FJN/b/Z6+LO6lDBFi39Gdu5Zpm6rCwstyE2V3/y03yBiq+qQmKtNBr8nu7/k3+fgx5JAfh21472INhz8hCwHltW5GNIeidtGCQTKh3PgQMhwUt/xJm+Y=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0P194MB0257.EURP194.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(376005)(1800799015)(366007); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: kaeGtn72op1R16uxOBD9b8qaa6ALcLgLEWIcTMOqBXHw3sjARDz+VKR/gih24eEbthKeeYYUM0BvLTrh/Bm496e8IM0sQ7y++GiUp6hlaozkncSMUqeTISci2+4wTIx6xj2xFIZF6SwtObmoHZ6Nsoykyqq+jOS6Ntqs1x2FBdJ7UrrzknLBT7sq90lNQN9p0LL45odM3Ca9LF4by4B7/p+K+G9kWuS2u6A3srwKbs+IFc5veZgDScOUDWwyCWZeMN6jI3VSSjQwirjdpOT8GWgGIMJit+FNXjtap8B5JROirCuvy6uBOwWh4xWqxJLlEVAIGQc1ZJwdcEYyGrn9w/vts7ddxciLkJ581cs97cygNigon9cdYMDl3IDfuKwgk/1js4wiHRKvh3CVQHu9i6bvDhe1IMnw+/yyK4Tn5WENA99xpZtvxCgTAYblbBQRAT2XB9szE2CXfasht1r8VyHPqRr42HnhiGxzl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WBiFfZAPninX8YR2exGQ6/L9N2lt1t0781jM9JWpELEr7NDZnKa5g==
X-OriginatorOrg: sidn.nl
X-MS-Exchange-CrossTenant-Network-Message-Id: 7edae94f-c954-4ced-237d-08dc63840e65
X-MS-Exchange-CrossTenant-AuthSource: AM0P194MB0257.EURP194.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2024 10:56:40.8876 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: ab4d3626-c1c5-4a75-ab85-427f1a644a7d
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: yFpE3hVherFBE9S+XCj0KHYNnnLLHIed+vno83JQ7EkQeE3Eq9oUmcGoPZ7rn+L9eZ9F7sW5kUpL9Q2lUpl89g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9P194MB1777
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/3BQbdt4g21_H1tgnkhhGIRyE4J4>
Subject: Re: [Ntp] Internet latency mapping project idea
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Network Time Protocol <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Apr 2024 10:56:50 -0000

Hi Tamme,


> After the IETF Hackathon and Meeting in Prague I had a project idea for 
> a NTP tool to measure latency and path asymmetry for synchronization 
> over the internet. Now I'm looking for feedback on how to make this tool 
> most effective.
> 

I'm  also interested in the topic, and I've some experiences with 
measurement studies.


> The tool would consists of a special NTP client, which is running on a 
> GNSS synchronized host. The client sends normal NTP requests to a set of 
> (consenting) stratum 1 servers and records all four timestamps (t1, t2, 
> t3, t4), as well as metadata about the server (such as IP, reference ID, 
> traceroute). The requests would also be send multiple times per day, 
> with different protocol versions/options, like IPv4/IPv6, 
> NTPv3/NTPv4/NTPv5, NTS/plain.


> I think the collected data could allow us to see how NTP packets are 
> handled over the wider internet. So for example if NTP without NTS is 
> prioritized, or that using IPv6 gives better or worse latency. Or if 
> higher latency also equates to worse asymmetry.


At the moment, you could partially answer your questions with Ripe Atlas 
probes[0], at least comparing IPv4 and IPv6 performance for NTP. They 
have their clocks synchronized in different ways [1].

The good thing about them is that they are 12k of them all over the 
world. And you can run NTP measurements for free. So you have a lot of 
vantage points.

Although it does not support NTS for the moment, and does not have GNSS 
client, it can offer you a baseline comparison.

For example, see section 6.1 in [2].


> Maybe the collected data could also be used to build better noise models 
> for NTP implementations, although I'm not an expert in this area.
> 
> Do you know of any previous work in this area? I would be happy about 
> any feedback on the idea.


There are some studies dealing with assymetric paths and NTP. For 
example, [3].

/giovane


[0] https://ripe.atlas.net
[1] 
https://labs.ripe.net/author/philip_homburg/ntp-measurements-with-ripe-atlas/
[2] https://dl.acm.org/doi/pdf/10.1145/3639041
[3] 
https://hal.univ-grenoble-alpes.fr/hal-02305093/file/Calibrating%20NTP.pdf