public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Simon Gao <gao-g4dUTk+gKbW4mfPA/iJWtA@public.gmane.org>
To: Farkas Levente <lfarkas-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
Cc: kvm-devel
	<kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
	Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Subject: Re: system time
Date: Thu, 27 Sep 2007 11:26:01 -0700	[thread overview]
Message-ID: <46FBF5B9.5000106@schrodinger.com> (raw)
In-Reply-To: <46FB823F.5000300-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>

Farkas Levente wrote:
> Avi Kivity wrote:
>   
>>> 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.
>>     
>
> does this means itás not possible to run a guest with accurate time?
>
>   
You can try cron job like this:

15,30,45   *  *  * *      ntpdate    'some time server'  > /dev/null 2>&1

To use ntpdate, ntpd must not run. Adjust frequency of time sync
accordingly

Of course, it would be nice to implement something in kvm to help guest
sync up with host.

Simon


-------------------------------------------------------------------------
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/

      parent reply	other threads:[~2007-09-27 18:26 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
     [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 [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=46FBF5B9.5000106@schrodinger.com \
    --to=gao-g4dutk+gkbw4mfpa/ijwta@public.gmane.org \
    --cc=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