Support > Knowledge Base
Knowledge Base

Search the Knowledge Base: |
Search the Knowledge Base: |
Time runs slower than real time due to lost timer interrupts
Symptoms
- Time runs slowly in guest operating system
- Time in the guest operating system falls behind the time of the host operating system
- Guest operating systems that use timer interrupts fall behind
Resolution
Background
When running guest operating systems that keep time by counting timer interrupts, time falls behind real time due to some timer interrupts being lost.
Many guest operating systems keep track of time by programming a periodic timer interrupt and incrementing the current time by the period of the interrupt every time an interrupt is received. Such periodic timer interrupts are often referred to as "ticks" and this method of time keeping is known as tick counting.
One drawback to this approach is that the x86 interrupt subsystem is only able to keep track of one pending interrupt per vector, so timer interrupts may be lost and when they are, the guest operating system's notion of time falls behind.
Affected Operating Systems:
- Windows – All versions.
-
Linux – Linux 2.4 and Linux 2.6 with lost tick compensation disabled.
Note: When lost tick compensation is enabled, generally time is gained rather than lost. For more information, see Time in Linux 2.6 guest operating system runs faster than real time due to lost tick overcompensation (1006113).
Operating systems not affected:
- Linux using the clocksource timekeeping subsystem does not count interrupts to keep time. This change is in 2.6.18 and later for i386 and 2.6.21, and later for x86_64.
- Solaris does not count interrupts for timekeeping.
Solution
Run NTP, w32time or VMware Tools periodic time synchronization in the guest to correct for the lost ticks.
Additional Information
For related information, see Time in virtual machine drifts due to hardware timer drift (1006072).
Feedback
Actions
- KB Article: 1006088
- Updated: Aug 14, 2009
- Products:
VMware ACE
VMware ESX
VMware ESXi
VMware Fusion
VMware GSX Server
VMware Player
VMware Server
VMware Workstation

