Re: Timedrift in KVM guests after livemigration.

2010-04-22 Thread Thomas Treutner
On Sunday 18 April 2010 11:33:44 Espen Berg wrote: > All guest are Debian lenny with latest upstream kernel, hvm/kvm. > > We are using kvm-clock as guest source clock. > > cat /sys/devices/system/clocksource/clocksource0/current_clocksource > kvm-clock I had to deactivate C1E (AMD CPUs) and use ac

Re: Timedrift in KVM guests after livemigration.

2010-04-19 Thread Dor Laor
On 04/19/2010 12:29 PM, Gleb Natapov wrote: On Mon, Apr 19, 2010 at 11:21:47AM +0200, Espen Berg wrote: Den 18.04.2010 11:56, skrev Gleb Natapov: That's two different things here: The issue that Espen is reporting is that the hosts have different frequency and guests that relay on the tsc as a

Re: Timedrift in KVM guests after livemigration.

2010-04-19 Thread Gleb Natapov
On Mon, Apr 19, 2010 at 11:21:47AM +0200, Espen Berg wrote: > Den 18.04.2010 11:56, skrev Gleb Natapov: > > >>That's two different things here: > >>The issue that Espen is reporting is that the hosts have different > >>frequency and guests that relay on the tsc as a source clock will > >>notice th

Re: Timedrift in KVM guests after livemigration.

2010-04-19 Thread Espen Berg
Den 18.04.2010 11:56, skrev Gleb Natapov: That's two different things here: The issue that Espen is reporting is that the hosts have different frequency and guests that relay on the tsc as a source clock will notice that post migration. The is indeed a problem that -tdf does not solve. -tdf only

Re: Timedrift in KVM guests after livemigration.

2010-04-18 Thread Gleb Natapov
On Sun, Apr 18, 2010 at 12:22:54PM +0300, Dor Laor wrote: > On 04/18/2010 02:21 AM, Espen Berg wrote: > >Den 17.04.2010 22:17, skrev Michael Tokarev: > We have three KVM hosts that supports live-migration between them, but > one of our problems is time drifting. The three frontends has diff

Re: Timedrift in KVM guests after livemigration.

2010-04-18 Thread Espen Berg
Den 18.04.2010 11:22, skrev Dor Laor: What do you mean by "adopts" ? Note that the cpu frequency means nothing for all the modern operating systems, at least since the days of common usage of MS-DOS which relied on CPU frequency for its time functions. All interesting things are now done using ti

Re: Timedrift in KVM guests after livemigration.

2010-04-18 Thread Dor Laor
On 04/18/2010 02:21 AM, Espen Berg wrote: Den 17.04.2010 22:17, skrev Michael Tokarev: We have three KVM hosts that supports live-migration between them, but one of our problems is time drifting. The three frontends has different CPU frequency and the KVM guests adopt the frequency from the host

Re: Timedrift in KVM guests after livemigration.

2010-04-17 Thread Espen Berg
Den 17.04.2010 22:17, skrev Michael Tokarev: We have three KVM hosts that supports live-migration between them, but one of our problems is time drifting. The three frontends has different CPU frequency and the KVM guests adopt the frequency from the host machine where it was first started. What

Re: Timedrift in KVM guests after livemigration.

2010-04-17 Thread Michael Tokarev
17.04.2010 23:52, Espen Berg wrote: Den 15.04.2010 09:35, skrev Espen Berg: We have three KVM hosts that supports live-migration between them, but one of our problems is time drifting. The three frontends has different CPU frequency and the KVM guests adopt the frequency from the host machine wh

Re: Timedrift in KVM guests after livemigration.

2010-04-17 Thread Espen Berg
Den 15.04.2010 09:35, skrev Espen Berg: We have three KVM hosts that supports live-migration between them, but one of our problems is time drifting. The three frontends has different CPU frequency and the KVM guests adopt the frequency from the host machine where it was first started. Host1: cat

Timedrift in KVM guests after livemigration.

2010-04-15 Thread Espen Berg
We have three KVM hosts that supports live-migration between them, but one of our problems is time drifting. The three frontends has different CPU frequency and the KVM guests adopt the frequency from the host machine where it was first started. Host1: cat /proc/cpuinfo model name : Inte