All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: Ian Campbell <Ian.Campbell@eu.citrix.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: Re: [PATCH] [PVOPS] dom0 sync xen wallclock
Date: Wed, 10 Feb 2010 16:47:48 -0800	[thread overview]
Message-ID: <4B7353B4.4000600@goop.org> (raw)
In-Reply-To: <C798FA73.9C71%keir.fraser@eu.citrix.com>

On 02/10/2010 04:06 PM, Keir Fraser wrote:
> A Xen ABI for adjtime()-alike warping of Xen system time is something we
> should add at some point, as that's the logical thing for ntp in dom0 to
> affect, keeping the system's 'nanosecond ticker' in sync with the wider
> world.

Hm.  I think it would be best to keep the ticker unchanged, but perhaps 
offer a mechanism so that dom0 can set separate offset and drift 
parameters which other domains can query to may system time to global 
time.  But I don't think even that is a very compelling idea.

>   That'd keep all domU clocks in sync, all except for fixed wallclock
> offsets. But it doesn't currently exist, so instead it gets bunged in with
> Xen's existing settimeofday()-alike interface: hence domUs either can see
> discontinuities, or don't get the automatic benefits of ntp sync at all,
> because they only read the wallclock offset at boot time.
>    

I suppose.  All the domains can already run ntp if you really want to 
keep them in sync with each other and/or dom0 and/or the outside 
world.   I'm not sure there's much point in making Xen ABI changes in 
this area; anything we do will come down to being a partial and probably 
inadequate reimplementation of ntp (esp when you consider how to deal 
with migration).

     J

  reply	other threads:[~2010-02-11  0:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-09 18:12 [PATCH] [PVOPS] dom0 sync xen wallclock Stefano Stabellini
2010-02-09 18:20 ` Stefano Stabellini
2010-02-10 23:09 ` Jeremy Fitzhardinge
2010-02-11  0:06   ` Keir Fraser
2010-02-11  0:47     ` Jeremy Fitzhardinge [this message]
2010-02-11  8:03       ` Keir Fraser
2010-02-11 19:16         ` Jeremy Fitzhardinge
2010-02-11 11:24   ` Stefano Stabellini
2010-02-11 11:36     ` Ian Campbell
2010-02-18 23:43     ` Jeremy Fitzhardinge
2010-02-19  1:02       ` Dan Magenheimer
2010-02-19  9:10       ` Ian Campbell
2010-02-19  9:39         ` Keir Fraser
2010-02-23 12:13           ` Stefano Stabellini
2010-02-23 14:25           ` Ian Campbell
2010-02-19 23:05         ` Jeremy Fitzhardinge
2010-02-23 14:25           ` Ian Campbell

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=4B7353B4.4000600@goop.org \
    --to=jeremy@goop.org \
    --cc=Ian.Campbell@eu.citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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.