All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dor Laor <dlaor@redhat.com>
To: Gleb Natapov <gleb@redhat.com>
Cc: Espen Berg <espen@monsternett.no>, kvm@vger.kernel.org
Subject: Re: Timedrift in KVM guests after livemigration.
Date: Mon, 19 Apr 2010 14:57:42 +0300	[thread overview]
Message-ID: <4BCC4536.8010903@redhat.com> (raw)
In-Reply-To: <20100419092919.GA10744@redhat.com>

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 source clock will
>>>> notice that post migration. The is indeed a problem that -tdf does
>>>> not solve. -tdf only adds compensation for the RTC clock emulation.
>>>>
>>> It's -rtc-td-hack. -tdf does pit compensation, but since usually kernel
>>> pit is used it does nothing.
>>
>> So this "hack" will not solve our problem?

As I also stated, in the past the kvmclock MSRs were not sync upon live 
migration and it was fixed in 1a03675db146dfc760b3b48b3448075189f142cc ,
better check with the code.

>>
> If your guest uses RTC for time keeping it may help. Otherwise it does
> nothing.
>
> --
> 			Gleb.
> --
> 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


      reply	other threads:[~2010-04-19 11:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-15  7:35 Timedrift in KVM guests after livemigration Espen Berg
2010-04-17 19:52 ` Espen Berg
2010-04-17 20:17   ` Michael Tokarev
2010-04-17 23:21     ` Espen Berg
2010-04-18  9:22       ` Dor Laor
2010-04-18  9:33         ` Espen Berg
2010-04-22  7:40           ` Thomas Treutner
2010-04-18  9:56         ` Gleb Natapov
2010-04-19  9:21           ` Espen Berg
2010-04-19  9:29             ` Gleb Natapov
2010-04-19 11:57               ` Dor Laor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BCC4536.8010903@redhat.com \
    --to=dlaor@redhat.com \
    --cc=espen@monsternett.no \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.