public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* XP Guest Clock Slow
@ 2009-01-16 16:14 kvm-user
  2009-01-17 22:12 ` [Resolved] " kvm-user
  2009-01-18 11:30 ` Florent
  0 siblings, 2 replies; 5+ messages in thread
From: kvm-user @ 2009-01-16 16:14 UTC (permalink / raw)
  To: kvm

Hello,

I just upgraded my hardware to a VT-capable CPU, and am getting up-to-speed
with kvm.

The clock on my XP guest significantly lags (e.g. by 50%) behind the host.
I lose several hours overnight in the guest clock.  (Not just a few seconds)
System load seems to aggravate the problem.

I have seen similar behavior in quick tests on a Vista client.
My Ubuntu client is fine, presumably due to clocksource==kvm-clock in guest.


Everything else works fine in all guest VMs.  (Amazingly well, actually)
Performance is equal to or better what I have been used to with VMware
Server.

Host CPU is Athlon 64 X2 with SB700 chipset.
System dumps (lspci, cpuinfo, etc) available on request (I don't want to
flood)

Host environment is Debian Lenny, with the distribution 2.6.26 kernel.
Currently running a locally compiled/installed kvm-82
I also saw the same issue with the kvm-72 Debian package.

My host clock is set to 'hpet'
| /sys/devices/system/clocksource/clocksource0$ cat *
| hpet acpi_pm jiffies tsc
| hpet

Is there a paravirtual clock driver for M$ clients available?
What is current best practice to work around this problem?

Thanks,

--
Marty



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

* [Resolved] XP Guest Clock Slow
  2009-01-16 16:14 XP Guest Clock Slow kvm-user
@ 2009-01-17 22:12 ` kvm-user
  2009-01-18 11:30 ` Florent
  1 sibling, 0 replies; 5+ messages in thread
From: kvm-user @ 2009-01-17 22:12 UTC (permalink / raw)
  To: kvm

Update in case someone else fights the same issue.

Replaced Lenny kernel with 2.6.28 kernel.org compile.
All is well now - At least within a few seconds per day.

--
Marty

-----Original Message-----
From: kvm-owner@vger.kernel.org [mailto:kvm-owner@vger.kernel.org] On Behalf
Of kvm-user@goodbit.net
Sent: Friday, January 16, 2009 10:15 AM
To: kvm@vger.kernel.org
Subject: XP Guest Clock Slow

Hello,

I just upgraded my hardware to a VT-capable CPU, and am getting up-to-speed
with kvm.

The clock on my XP guest significantly lags (e.g. by 50%) behind the host.
I lose several hours overnight in the guest clock.  (Not just a few seconds)
System load seems to aggravate the problem.

I have seen similar behavior in quick tests on a Vista client.
My Ubuntu client is fine, presumably due to clocksource==kvm-clock in guest.


Everything else works fine in all guest VMs.  (Amazingly well, actually)
Performance is equal to or better what I have been used to with VMware
Server.

Host CPU is Athlon 64 X2 with SB700 chipset.
System dumps (lspci, cpuinfo, etc) available on request (I don't want to
flood)

Host environment is Debian Lenny, with the distribution 2.6.26 kernel.
Currently running a locally compiled/installed kvm-82
I also saw the same issue with the kvm-72 Debian package.

My host clock is set to 'hpet'
| /sys/devices/system/clocksource/clocksource0$ cat *
| hpet acpi_pm jiffies tsc
| hpet

Is there a paravirtual clock driver for M$ clients available?
What is current best practice to work around this problem?

Thanks,

--
Marty


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

* Re: XP Guest Clock Slow
  2009-01-16 16:14 XP Guest Clock Slow kvm-user
  2009-01-17 22:12 ` [Resolved] " kvm-user
@ 2009-01-18 11:30 ` Florent
  2009-01-18 12:51   ` Ian Kirk
  1 sibling, 1 reply; 5+ messages in thread
From: Florent @ 2009-01-18 11:30 UTC (permalink / raw)
  To: kvm

kvm-user@goodbit.net a écrit :
> Is there a paravirtual clock driver for M$ clients available?
> What is current best practice to work around this problem?

As in Windows XP and earlier, you can configure the NTP client via the 
control panel.
My host runs a ntp server and all guest are configured to synchronize 
very often.

- Florent


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

* Re: XP Guest Clock Slow
  2009-01-18 11:30 ` Florent
@ 2009-01-18 12:51   ` Ian Kirk
  2009-01-18 14:51     ` Florent
  0 siblings, 1 reply; 5+ messages in thread
From: Ian Kirk @ 2009-01-18 12:51 UTC (permalink / raw)
  To: Florent; +Cc: kvm

Florent wrote:

> kvm-user@goodbit.net a ?crit :
> > Is there a paravirtual clock driver for M$ clients available?
> > What is current best practice to work around this problem?
>
> As in Windows XP and earlier, you can configure the NTP client via the control
> panel.
> My host runs a ntp server and all guest are configured to synchronize very
> often.

The implication there, is that KVM does not have a working clock for
Windows guests?

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

* Re: XP Guest Clock Slow
  2009-01-18 12:51   ` Ian Kirk
@ 2009-01-18 14:51     ` Florent
  0 siblings, 0 replies; 5+ messages in thread
From: Florent @ 2009-01-18 14:51 UTC (permalink / raw)
  To: kvm

Ian Kirk a écrit :
> The implication there, is that KVM does not have a working clock for
> Windows guests?

I have no problem here, the guests' (XP, 2003, 2008, Vista, 7...) clocks 
are almost as accurate as host's one.

The facts you are describing are close to the behavior of Windows clock 
while it is being synchronized. Depending on the sign of the difference 
between local clock and reference clock, Windows slows down/speeds up 
its clock by 2.

You could have a look at system messages, it can be invoked by a right 
click on "My Computer" -> "Manage". Time service used to output some 
message during the synchro.

- Florent


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

end of thread, other threads:[~2009-01-18 14:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-16 16:14 XP Guest Clock Slow kvm-user
2009-01-17 22:12 ` [Resolved] " kvm-user
2009-01-18 11:30 ` Florent
2009-01-18 12:51   ` Ian Kirk
2009-01-18 14:51     ` Florent

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