RE: [chrony-dev] timex kernel offset parameter not updated |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: "chrony-dev@xxxxxxxxxxxxxxxxxxxx" <chrony-dev@xxxxxxxxxxxxxxxxxxxx>
- Subject: RE: [chrony-dev] timex kernel offset parameter not updated
- From: Filip Verwee <fverwee@xxxxxxxxxxxxx>
- Date: Tue, 12 Mar 2024 09:46:34 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synamedia.com; dmarc=pass action=none header.from=synamedia.com; dkim=pass header.d=synamedia.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=QWb+tbliXomVfGgloIr0k04jXOIEqk61sBpRqEMAvmQ=; b=Tt3Sw2uugeCeNKB6UcGbmffJjBgPNPSj5dCXVezyGZ+YPl8cXNMaigRSEAfwrGvk1mgNCvX4JeZiCvWIeYhPI2rhENfgCmwd+W5yPb63ZKt1Bmiy6Z46Ouz9+FNXCBUdt53onrkY3zlfZBQlh9OKMZbP+UTvbcFxp8xUhJc3bZvFGoX07t0D0LhHXpQ88UOBQRlm6yeAwDsWa46KIeFI00wpCtuGhn0oYCd7R7mk/J8svKjNGTig0ljXTn53+oKykDHorB81/jsgbVvCoChb29Q0vtqwCpHrllXzAJvvKfYrp8QBcswwMvbrBiCWv2/hY8pKTS3iCwRq1UOcbSi5mg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DafhOQ1bGoOddsNZpoY0Zb1CpIwBk9I6vBCPWOd61v2Ef/rrCkz+oKlu4WwP6Ey0TLF4h7NEiEK0BwpAG+nBP+w491SZRADvBm7gKWh2NX0UBBqIcTdxd18C5y7ZdxJGOxyzN5p0PthdUNVnyDoqMC3or7CXczs4GigryiTDTjzniaRD7XlSpd6oMMic70VKAEwll1e83AEe8uZMIU9/UZZqinTJwMEj0UuzlxDGkiMYnycibcvIRrn8G3KfNaooRIPG5+vVXwEdXwjNfwcPz/Bdn3s78VCdu1kGXH00HVxYkCdMRzwBWgB2K5jO1tOrFfBhCu0xIyPvEYi70nPS6A==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=synamedia.com;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=synamedia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QWb+tbliXomVfGgloIr0k04jXOIEqk61sBpRqEMAvmQ=; b=Q8W73pojTkHDCR/uIqjtB9McB7v8qK25WjB2kM0G2ZcubmSag191Yx09udJgh6KLHVGsi/WaY/vDXPKJFwDuRm9loszm83laFCDv+5GnUu/sCS4O+gvpezXvZZkt4iP/SPEV/qCLN3MRJyCeosWtHMa0cK97SDkJtUvx8g3wyZ84U6jhLr2I5J5QlO8+dRugN/DYRoiUo0GN5HPDrtVLqt1TdU0PaX//aq4fugtMrN6QcTOUZLtGvE+dDBJ04MQ0UQSK8nFOTKlvqfjGo+bUGfHisFKjTA3opF6WMyLfAkld1LUQk8tDurTZ/1eKbfq5sVd2sz1E2ILVWcSlO6Ho3Q==
- Msip_labels: MSIP_Label_e305dca8-daac-40b2-85cb-c39a1eaa36df_ActionId=14ea1187-4251-44f0-b52d-538170237590;MSIP_Label_e305dca8-daac-40b2-85cb-c39a1eaa36df_ContentBits=0;MSIP_Label_e305dca8-daac-40b2-85cb-c39a1eaa36df_Enabled=true;MSIP_Label_e305dca8-daac-40b2-85cb-c39a1eaa36df_Method=Standard;MSIP_Label_e305dca8-daac-40b2-85cb-c39a1eaa36df_Name=e305dca8-daac-40b2-85cb-c39a1eaa36df;MSIP_Label_e305dca8-daac-40b2-85cb-c39a1eaa36df_SetDate=2024-03-12T09:46:25Z;MSIP_Label_e305dca8-daac-40b2-85cb-c39a1eaa36df_SiteId=ecdd899a-33be-4c33-91e4-1f1144fc2f56;
- Thread-index: Adp0UzHsEHz3W+8YSkuGEHEre7pbYAAAmJiAAABLwPAAAU+sAAABiPqw
- Thread-topic: [chrony-dev] timex kernel offset parameter not updated
Ok, thanks for the information.
Regards,
Filip Verwee.
-----Original Message-----
From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Sent: Tuesday, March 12, 2024 10:02 AM
To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [chrony-dev] timex kernel offset parameter not updated
On Tue, Mar 12, 2024 at 08:35:43AM +0000, Filip Verwee wrote:
> Hi Miroslav,
>
> Thanks for the reply.
>
> Even if chronyd is not using the kernel PLL, wouldn't it be still possible to update the offset parameter?
No, the offset can be set only when the PLL is enabled. In the kernel code (kernel/time/ntp.c):
static void ntp_update_offset(long offset) {
s64 freq_adj;
s64 offset64;
long secs;
if (!(time_status & STA_PLL))
return;
Even if it could be set and it did nothing except being reported back in timex, chronyd would need to update it periodically to be useful.
I don't think that would be acceptable as chronyd is supposed to be friendly to power saving.
--
Miroslav Lichvar
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.