Re: Need suggestion on compensating clock drift on Xen based VPS



Ryan Malayter wrote:
On Sat, Aug 22, 2009 at 3:28 PM, Aryanto Rachmad<aryanto@xxxxxxxxx> wrote:


I know that it is problematic to run ntpd on Xen domU, but could anybody
give me some suggestion to have a stable system clock?


So, in virtual machines, "time" is variable. Your VM gets de-scheduled
frequently, for tenths of a second at a time. Which makes timekeeping
pretty tough. Even acurate CPU utlization is near-impossible to
measure from within a guest VM.

The usual "solution" is to have the hypervisor (dom0 in the Xen case)
run ntpd, and provide time to the guest VMs using a vendor-specific
driver. For VMware, this driver bundle is called "VMware Tools". For
the commercial Citrix XenServer, it's called "Xen Tools". For your
VPS, you should talk to your hosting provider I suppose.

In general though, virtualization is not very compatible with good
time keeping. But you should be able to do better than
three-second jumps.We generally see <100 ms offsets in guests on a
very busy VMware ESX 3.5u4 cluster.

See also:
http://support.ntp.org/bin/view/Support/VMWareNTP

The VMware whitepaper listed there goes deep into the problem of
providing good time to guest operating systems.

Only someone who was trying to sell VM systems would even bother - its
way to simple to maintain the VM system as a client and make all of this
noise in the wind.

Todd Glassey (as an Auditor).

------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.409 / Virus Database: 270.13.65/2324 - Release Date: 08/24/09 12:55:00


.



Relevant Pages

  • Re: Need suggestion on compensating clock drift on Xen based VPS
    ... give me some suggestion to have a stable system clock? ... So, in virtual machines, "time" is variable. ... measure from within a guest VM. ... For VMware, this driver bundle is called "VMware Tools". ...
    (comp.protocols.time.ntp)
  • Re: A few questions about 10.2 and/or VMWare 5.x and/or MS Virtual PC
    ... As others mentioned, it's more smooth the other way around (10.2 as host, XP as guest.) VMware seems better optimized to run XP inside it rather than anything else. ... If you intent to gradually switch to Linux, it's best to install Linux on the PC, install VMware and run XP as a guest. ... After you install the VMware tools in the XP guest, ...
    (alt.os.linux.suse)
  • Re: ubuntu-server console resolution under vmware-server
    ... VMware tools are also required to properly handle the system clock on the ... Otherwise the guest operating system will rapidly lose ... the lab we learned to always install VMware tools on our test servers. ...
    (Ubuntu)
  • Re: vmware
    ... >> vmware-config.pl in your FC6 guest? ... > 3) I'm trying to configure VMware Tools on the guest VM for the ... > 4) vmware-config.pl is a script which is included with VMware Tools, ...
    (Fedora)
  • Re: all servers rejected
    ... You can also use the VMware tools to sync the guest ...
    (comp.protocols.time.ntp)

Loading