From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Farkas Levente <lfarkas-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: system time
Date: Thu, 27 Sep 2007 12:07:20 +0200 [thread overview]
Message-ID: <46FB80D8.7060308@qumranet.com> (raw)
In-Reply-To: <46FB7CFB.7020607-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
Farkas Levente wrote:
> Avi Kivity wrote:
>
>> Farkas Levente wrote:
>>
>>> Avi Kivity wrote:
>>>
>>>
>>>> Haydn Solomon wrote:
>>>>
>>>>
>>>>> I know I'm not crazy.. now my host and guest clocks are in sync. I'll
>>>>> leave the guest running for a while and see if it eventually goes
>>>>> ahead of host.
>>>>>
>>>>>
>>>>>
>>>> Please do this both with and without -no-kvm-irqchip. The code paths
>>>> are very different.
>>>>
>>>>
>>> the simple question does all the guest must be the same system time as
>>> the host? and if it's not the case then it's a bug? or it can happened
>>> with reason?
>>>
>>>
>> Difficult to say. I think that some drift is inevitable as the guest
>> and host will calibrate differently.
>>
>
> in the current version or even in long term?
>
It's a fundamental issue due to how PCs do time. They run a calibration
look during bootup, and if that's not 100% accurate, dirft will occur.
For the long term the solution is paravirtualized time.
> this means it's better to run ntpd on all guests even if it's running on
> the host:-((
>
I think there are issues with running ntp on the guest due to tsc being
very inaccurate on virtualized guests.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
next prev parent reply other threads:[~2007-09-27 10:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-26 13:20 system time Farkas Levente
[not found] ` <46FA5CB2.70206-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-09-26 13:40 ` Haydn Solomon
[not found] ` <b75785ba0709260640v5ef01ca7tff94ec7c8dad44cf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-09-26 14:02 ` Haydn Solomon
[not found] ` <b75785ba0709260702rb69ab8bldaba9793332223e7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-09-27 9:42 ` Avi Kivity
[not found] ` <46FB7B0B.5050907-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-27 9:40 ` Farkas Levente
[not found] ` <46FB7AA6.5050708-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-09-27 9:55 ` Avi Kivity
[not found] ` <46FB7DFF.6020102-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-27 9:50 ` Farkas Levente
[not found] ` <46FB7CFB.7020607-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-09-27 10:00 ` Gildas
2007-09-27 10:07 ` Avi Kivity [this message]
[not found] ` <46FB80D8.7060308-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-27 10:13 ` Farkas Levente
[not found] ` <46FB823F.5000300-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-09-27 10:45 ` Avi Kivity
2007-09-27 18:26 ` Simon Gao
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=46FB80D8.7060308@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=lfarkas-lWVWdrzSO4GHXe+LvDLADg@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox