SUSE Support

Here When You Need Us

Timekeeping issues on virtual machines

This document (7015560) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 11 SP4


Network time synchronization is setup on the virtual machine yet something keeps interfering and changing the clock to wrong values.


  • Make sure the host machine has correct time and is synchronized to the same time source. A virtual machine usually gets it initial hardware clock value from it when booting.
  • Review your NTP configuration and make sure not to use the local clock
    • Modify the /etc/ntp.conf file. Comment out the following entries so the local clock will not be used by placing # signs before them:
      #server # local clock
      #fudge stratum 10
  • Disable guest to host time synchronization if applicable - please see below

As of XEN version 4 the independent_wallclock has been deprecated in favor of tsc_mode.
Please see our documentation for the respective version you are using.

Citrix XEN:

On newest ESXi the default is that time synchronization between host and guest is disabled.

However even with disabled checkbox in Vmware management interface there are still situations where the sync will happen. See article link below for more information.

Disabling Time Synchronization (1189)

Timekeeping best practices for Linux guests (1006427)
(has some NTP configuration recommendations)

"Timekeeping in VMware virtual machines"

Other sources:


By design, virtual environments configure Guest virtual machines to sync time with the virtual Host server.

Additional Information

In one situation, the virtual server would jump ahead 50 seconds, within 5 to 15 seconds after NTP time sync occurred. And, we noticed that the Host server was ahead of the NTP source server by 36 seconds. NTP time sync was then forced on the Host server to the NTP source server, bringing it in line with the NTP source server. NTP time sync was again triggered on the virtual server, setting it back to the NTP source server. Again, within a few seconds the virtual server jumped ahead 14 seconds. This 50 / 14 second off-set correlated with the offset the Host server had with the NTP source server, identifying that the virtual server jumped ahead 14 seconds respective to the time of the Host server, identifying a time sync occurred with the virtual guest server to the Host server.

This being a Citrix XEN server, echo 1 > /proc/sys/xen/independent_wallclock was executed on the virtual server followed by a NTP time sync. After which, the virtual server stayed on time with the NTP source server. Additional information is found in the Citrix XEN documentation to configure Guest-to-Host time sync to not occur after reboot.


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7015560
  • Creation Date: 19-Aug-2014
  • Modified Date:05-Mar-2021
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.