Deutsch English Français Italiano |
<pan$cb901$a4cc3cd3$8442fc4e$beb0941c@linux.rocks> View for Bookmarking (what is this?) Look up another Usenet article |
From: Farley Flud <ff@linux.rocks> Subject: Re: GNU/Linux System Clock Drift Newsgroups: comp.os.linux.advocacy References: <pan$89e55$2ea167e9$72c7d7ad$bb429f9@linux.rocks> <681e717d$0$29733$426a34cc@news.free.fr> <pan$6f150$4c153c1c$b1bcf39d$6e77b759@linux.rocks> <681f4d6a$0$29723$426a74cc@news.free.fr> <pan$a7d42$ca40100a$30e28695$c2b13a4@linux.rocks> <igou1klojbbpmlpc73f0dgimfjt39utgui@4ax.com> <681f7a55$0$420$426a34cc@news.free.fr> Mime-Version: 1.0 Message-Id: <pan$cb901$a4cc3cd3$8442fc4e$beb0941c@linux.rocks> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lines: 49 Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail Date: Sat, 10 May 2025 21:40:00 +0000 Nntp-Posting-Date: Sat, 10 May 2025 21:40:00 +0000 X-Received-Bytes: 2161 Organization: UsenetExpress - www.usenetexpress.com X-Complaints-To: abuse@usenetexpress.com On 10 May 2025 16:09:58 GMT, Stéphane CARPENTIER wrote: > > The hardware drifts, yes, there is no way around. But the system can > estimate its drift and compensate for it. So, once again, unlike your > beliefs, my hardware drift but my system doesn't. > Both the hardware and system clocks will drift. The hardware clock is maintained by the BIOS. The system clock is maintained by counting the timer interrupts and there are adjustments that can make this more accurate but it will still drift. That's why there is synchronization, usually, but not only, with NTP time servers. The issue becomes how often does the system clock need to be synchronized. I do this at each boot using openrdate. The distros probably do it much more often. I could also do it more often but I choose not to do so. There is no need for me to sync frequently. File time stamps will never be more than a second or two off and that is of no consequence. But the important fact is that _I_ choose to do it. I do not follow any distro but make my own decisions. > > Of course my system does include leap seconds. > What does this command output: TZ='/usr/share/zoneinfo/GMT' date +%s --date="May 10 2025" It should output "1746835227." If not then your system does not include leap seconds. -- Systemd: solving all the problems that you never knew you had.