Sujet : Re: Does Dimdows Know What Time It Is?
De : bowman (at) *nospam* montana.com (rbowman)
Groupes : comp.os.linux.advocacyDate : 05. Oct 2024, 02:24:43
Autres entêtes
Message-ID : <lmbiqqF7l0eU4@mid.individual.net>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Pan/0.149 (Bellevue; 4c157ba)
On 04 Oct 2024 21:06:49 GMT, Stéphane CARPENTIER wrote:
In fact, it's difficult. If you are alone and disconnected of the rest
of the world, you don't care about the time drift. But as soon as you
plug your computer on Internet, a time shift will be an issue. And if
the drift is important and you just fetch it from time to time, you will
be inaccurate timestamps and your experience will be very bad. So it has
to be done carefully.
If a LAN is disconnected drift can be a problem. Our log file have a line
like
[Thu Sep 05 15:27:45.979111 2024 (0.007612)] (pid = 10876) (fd = 14)
attach.c:3740
for each entry. The logs can be busy and show interactions from several
machines. If A says it sent a message at hu Sep 05 15:25:37.979111 2024
but is a couple of seconds off from B finding the corresponding entry when
B received the message can be difficult.
In a Windows environment the primary domain controller will synch all
machines on the domain but iirc the default period is quite long. The best
setup is for the PDC to connect to a ntp server.
At work I mount my source tree on the server with the compiler and often
see messages about clock skew and file timestamps in the future. Annoying,
but not a show stopper.