Re: [chrony-users] Relation between hwtimestamp and PTP clocks |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [chrony-users] Relation between hwtimestamp and PTP clocks
- From: Linas Zvirblis <lzv@xxxxxxxxxxxx>
- Date: Tue, 27 Jun 2023 06:57:56 +0000
- Accept-language: da-DK, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=trackman.com; dmarc=pass action=none header.from=trackman.com; dkim=pass header.d=trackman.com; arc=none
- 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=VSU8XHFQXAyrhgZJt8Jrm8Mi52m500eWvJSyR3g11c8=; b=AXDr9i2r4Q+oZHHdNkm/yuDSgesh2ncmD6/Kradq1RCzVE+Rhhagxs+y5f4lc2g2+bwMFAOfMM1M0WHe4nNkwblr0YUxdw89SiKBARJnXrYdBbrasWLNyct+IzlH6oRIk9Suz0u0YQhbyqlHpBANBpMZ1FA4DPm4wBU8Zoe0j4FIPEysC0BpmRq1Fdflw9W4GtRHk0fGP1o5E22n/I/e3EfH1EF4wkLJEqUkHZDxsuXkCfpxMH40bxEgv/OPHS1jpOcdBUonarkWjeQpXi2mkkM2oatzCwT57IBmQkdi9wy3OXjXSBM+3L+ybnC4/zJgQbFl+S5v8DuA9Zu1qvXQgQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VSOVPYekhjRtdHkbY8NOq8LSGO1xnqxKwlJYBDwDlV2d43MkUPN/JfTP8CJMMCjKURLU5++8Iueq32G9cJW402cvrITLxh9ZBZND9VVTkqvlpw+AoS/Gkqzxqqv96PAD2wKekLtxY0RNa3boJ8Dnt0fY1iwJoHSZfiCv0iY7llpghRbXVBSrf11PtWOCLZSfmK7Pk5EfeJnpKF60fv+4kvpFBa+OJCyiFHkIbyT9RJggofjoyOgOqDS1GdPQl+MRgpvkdjYtms1Qz6go21szSderCgRsANX9W87vTtej7pzibM529RV0X+curr7B/DTGwbJ9wAqvrCpa/uKzldUEbg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=trackman.com;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trackman.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VSU8XHFQXAyrhgZJt8Jrm8Mi52m500eWvJSyR3g11c8=; b=DZBaWbCFZBZUjpSbUqR3tmd1Ee+VeA+JLUZV2eFnX3Ub4gv4AXb7k77J4ARg1PQ369wgdncamz+ZFNPjt0eUP54Q/c7DUDU9U83Zma6rgl2QXyZbmFloQMdqH0wfQiSW+aUXZBIc58l9m63XQnG+Z5Dozn3Y9k/47i8/41VhchE=
- Thread-index: AQHZpcNw3DKLffCcY0mw/MeIPj5LlK+cr1AAgAGOjwA=
- Thread-topic: [chrony-users] Relation between hwtimestamp and PTP clocks
Hi Miroslav,
Thank you for your answers.
> On Fri, Jun 23, 2023 at 11:11:21AM +0000, Linas Zvirblis wrote:
>
> > Does that mean that chrony is adjusting the PHC by itself? Is
> > 'hwtimestamp' for PHC equivalent to 'rtcsync' for RTC? My
> > experience
> > says no.
>
> Functionaly it's closer to rtcdrift.
PTP clocks track time in TAI, so when using one as a 'refclock' one can
set the offset to match UTC. However 'hwtimestamp' does not have any
such option, as far as I can see it.
Does it mean that the PTP clock would be set to UTC time when running
with 'hwtimestamp' in crony? Would one run PTP with the offset of zero
then?
Kind regards,
Linas