public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Time and KVM - best practices
@ 2010-03-21 11:29 Thomas Løcke
  2010-03-22  9:15 ` Dor Laor
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Løcke @ 2010-03-21 11:29 UTC (permalink / raw)
  To: kvm

Hey,

What is considered "best practice" when running a KVM host with a
mixture of Linux and Windows guests?

Currently I have ntpd running on the host, and I start my guests using
"-rtc base=localhost,clock=host", with an extra "-tdf" added for
Windows guests, just to keep their clock from drifting madly during
load.

But with this setup, all my guests are constantly 1-2 seconds behind
the host. I can live with that for the Windows guests, as they are not
running anything that depends heavily on the time being set perfect,
but for some of the Linux guests it's an issue.

Would I be better of using ntpd and "-rtc base=localhost,clock=vm" for
all the Linux guests, or is there some other magic way of ensuring
that the clock is perfectly in sync with the host? Perhaps there are
some kernel configuration I can do to optimize the host for KVM?

I'm currently using QEMU PC emulator version 0.12.50 (qemu-kvm-devel)
because version 0.12.30 did not work well at all with Windows guests,
and the kernel in both host and Linux guests is 2.6.33.1

:o)
/Thomas

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-22 13:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-21 11:29 Time and KVM - best practices Thomas Løcke
2010-03-22  9:15 ` Dor Laor
2010-03-22  9:55   ` Alexander Graf
2010-03-22 13:38     ` Glauber Costa
2010-03-22 10:36   ` Jan Kiszka
2010-03-22 12:41     ` Thomas Løcke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox