Questions tagged [clock-synchronization]
61 questions
2
votes
2 answers
SLES guest on HyperV: high CPU usage vs. accurate time keeping
Here is the issue: SLES 10 SP1 guest is running on HyperV. I need accurate timekeeping on this box, so I have applied these kernel parameters (which were proven to work on other identical SLES 10 SP1 guest) to boot loader…

anenvyguest
- 21
- 1
1
vote
1 answer
Prevent VM clock running faster than it should
I have a unRAID 6.6.5 server with perfectly correct time and multiple Linux VMs which used to be perfectly synced too. I rebooted one of my VM and suddenly the clock goes twice as fast as the hwclock. I can easily see that by doing these 2 loops in…

dan
- 83
- 1
- 7
1
vote
1 answer
How to have WSL think it is in the past?
I am developing PHP/Apache/MySQL based code on my Windows 10 laptop via Windows Subsytem For Linux.
I am working on some code that is time related. It has a mix of PHP date commands, and MySQL "NOW()" calls. I need to be able to work on this at any…

Hippyjim
- 211
- 2
- 7
- 19
1
vote
0 answers
Preventing system clock from auto-updating in Windows Server 2012
I'm working on a project right now where as part of testing I have to move the system clock to far-off future dates. There are two servers involved in the project: an app server and a database server. I've stopped the Windows Time service on both…

John Clifford
- 111
- 2
1
vote
1 answer
NTP synchronized clock alongside the system clock
Does NTP daemon(ntpd) provide some sort of virtual clock that it disciplines and serves, but not touch the system clock?
Goal:
On a realtime Linux OS, have a NTP synchronized clock alongside of the system clock, so that ntp time changes won't cause…

Vikyboss
- 121
- 4
1
vote
0 answers
RTC/UTC was innacurate on MySQL (MariaDB) server. I fixed it - was that bad?
I'm pinch hitting as an admittedly green server admin. I installed a bunch of security patches on a MariaDB server that had an incorrectly configured repo (not by me) and wasn't getting patches for a while. After install and reboot, I noticed all…

bendodge
- 156
- 9
1
vote
1 answer
Why is clock synchronization on servers difficult?
See: Clock synchronization quality on Windows Azure?
This is not meant as a rant, it is just curiosity.
Is a computer really drifting more than a second in a single day? I can barely imagine that.
Why not a sync every day to a time server. This…

Dirk Boer
- 485
- 1
- 3
- 10
1
vote
2 answers
Cent OS 6 clock 3 minutes 35 seconds in the future
I run Cent os 6 64 bit on linode.
server (incorrect):
date
Thu Aug 29 11:41:00 BST 2013
client (correct):
date
Thu Aug 29 11:37:25 BST 2013
As you can see the server clock is in the future.
so far I have ensured the server is running…

Code Review Doctor
- 133
- 6
1
vote
0 answers
Update clock on virtualbox virtual machine with cent os from host
I have a virtual machine, with cent os installed, and everytime I sleep the host computer, the clock of the VM goes out of sync. I would like it to pick up the current time from virtualbox - which I would expect it to do naturally.
How can I force…

Billy Moon
- 1,437
- 3
- 17
- 23
1
vote
1 answer
How "real" is the POSIX clock in a virtual machine?
Introduction:
Time is OS like Linux is typically derived from a clock chip (RTC), or maintained by software using either periodic interrupts or some hardware registers (e.g. CPU's TSC cycle counter) for implementation.
Obviously in a virtual machine…

U. Windl
- 366
- 3
- 17
1
vote
1 answer
Incorrect PTP timestamps
I have trouble syncing to Linux systems using PTP.
Setup:
Two PCBs with a BegleCore module and a DP83640 PHY are connected with each other over Ethernet. One board should act as the PTP master, the other as the slave.
Debian 10, Kernel:…

11011100
- 111
- 3
1
vote
1 answer
How to Set Up Time Synchronization with NTP on Ubuntu 20.04.1 LTS
After updating the base system with the latest available packages:
apt-get update -y
and
root@localhost:~# timedatectl
Local time: Wed 2021-01-06 08:03:11 UTC
Universal time: Wed 2021-01-06 08:03:11 UTC
…

Fèlix Boniquet Pelfort
- 27
- 1
- 5
0
votes
1 answer
Problems with chronyd Centos 7 all updates applied
I have an email server running on top of CentOS7. This is a new server and has been in production for 2 days. It seems that chronyd is losing it's connection to the ntp servers that it contacts at pool.ntp.org. I have set up 0.pool through 3.pool in…

tgz
- 3
- 1
0
votes
1 answer
/sbin/hwclock --utc --systohc not working on AWS EC2 under Ubuntu
I'm in the process of moving some servers to AWS. One problem I'm encountering is that my script to synchronize the time using ntpdate and then write that time to the hwclock is failing. When the server reboots, I'd like the time to be close to…

Stephen Ostermiller
- 484
- 9
- 23
0
votes
0 answers
How to read VMware interrupt backlog?
The VMware document titled "Timekeeping in VMware Virtual Machines" have the following referente to the issues with the time drift:
If the virtual machine is running too slowly, perhaps as a result of competition for CPU time from other virtual
…

rfmoz
- 772
- 9
- 15