WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] [PATCH] [RFC] Building guests on monotonic Xen system ti

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] [RFC] Building guests on monotonic Xen system time
From: "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx>
Date: Tue, 3 Jun 2008 13:47:13 -0600
Cc: Dave Winchell <dwinchell@xxxxxxxxxxxxxxx>
Delivery-date: Tue, 03 Jun 2008 12:48:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C45D8389.18FE0%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Oracle Corporation
Reply-to: "dan.magenheimer@xxxxxxxxxx" <dan.magenheimer@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aci3epqdgAqFeBKUStuokRynVQBZpQAIWysQAKwM7UMAR/pTwAAfCU33AA4gvEAAAXDh5QA/ZygwABMZdK0CC6nJ4A==
> I have a pretty clear vision of what I want now, so I will make the
> necessary adjustments to the patch. Then we can go from there 

I noticed you fixed a related bug (cset 17760), but haven't
seen anything that changes timer_mode==0 back to non-monotonic.
Is that still on your list, or do you want me to submit a
patch for that?

Related, I'm wondering if we should change the defaults for
timer_mode and hpet now.  I'll start a new thread on that
to avoid topic drift.

Dan  

> -----Original Message-----
> From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx]
> Sent: Saturday, May 24, 2008 1:34 AM
> To: dan.magenheimer@xxxxxxxxxx; Xen-Devel (E-mail)
> Cc: Dave Winchell
> Subject: Re: [Xen-devel] [PATCH] [RFC] Building guests on 
> monotonic Xen
> system time
> 
> 
> On 23/5/08 23:44, "Dan Magenheimer" 
> <dan.magenheimer@xxxxxxxxxx> wrote:
> 
> > Here's another option:  I think delay_for_missed_ticks is
> > the only mode where time must be set backwards.  All of the
> > other modes track wallclock.  It looks possible that we
> > could enforce monotonicity for the other three modes and
> > not enforce it for delay_for_missed_ticks (which is,
> > unfortunately, the default).
> >
> > If this is acceptable to you (and you don't disagree with
> > my "only mode...set backwards" conjecture), I'll try to
> > code a patch for this.
> 
> I agree with your analysis. I couldn't remember if any modes 
> other than 0
> would require non-monotonic time across VCPUs, but it does 
> appear that this
> property is exclusive to mode 0.
> 
> > P.S. I think the answer is no, but is there any way to specify
> > gang-scheduling for a domain?  If so, we could say if your
> > OS is non-resilient to preemption and your application requires
> > time monotonicity, you must specify gang scheduling.
> 
> There isn't currently a way to request gang scheduling. I 
> think that is a
> second step anyway. It sounds like you could simply turn off your
> monotonicity checks for timer mode 0 and I'll be happy.
> 
> I have a pretty clear vision of what I want now, so I will make the
> necessary adjustments to the patch. Then we can go from there 
> if you think
> further modifications are required.
> 
>  -- Keir
> 
> 
>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>