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] scheduler rate controller

To: "Lv, Hui" <hui.lv@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] scheduler rate controller
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Mon, 14 Nov 2011 15:22:03 +0000
Cc: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Keir \(Xen.org\)" <keir@xxxxxxx>, "Dong, Eddie" <eddie.dong@xxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, "Duan, Jiangang" <jiangang.duan@xxxxxxxxx>, Dario Faggioli <raistlin@xxxxxxxx>
Delivery-date: Mon, 14 Nov 2011 07:23:48 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6zzAFSit8yhIqam2WdXniMJ7xgDqor12/W13IjlU6fo=; b=IC7L10DVXsmGUsk2ceLrtqgoEUZ0CadLuol+rUWk60p3Q8/NCd/UQfQqdeV7gNyhFl rkjz+1eF8UInHtn3sq2pJL+oW8O5rSG7Knuq2WFqJ5BfQJFuODSkwAQYHfqJ6YxhsV1V 7jGzZrPFKfAasWw4EGs8wyvT95j9AUqo9QYi4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C10D3FB0CD45994C8A51FEC1227CE22F34D480385E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C10D3FB0CD45994C8A51FEC1227CE22F340768D793@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <CAFLBxZZ9nqeb7CVqTZCsEtJRjgGMTHF2Ak929kvauj2KUFSOyg@xxxxxxxxxxxxxx> <C10D3FB0CD45994C8A51FEC1227CE22F3428CB5EF9@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1319789425.19320.12.camel@Abyss> <C10D3FB0CD45994C8A51FEC1227CE22F3428CB61F2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1319796584.19320.31.camel@Abyss> <1319818714.21033.414.camel@elijah> <C10D3FB0CD45994C8A51FEC1227CE22F34B3905D03@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <CAFLBxZa5v_YgnC1LTa4a5wis4h6eQPijCAfUDLDsR4ucMuBXWg@xxxxxxxxxxxxxx> <C10D3FB0CD45994C8A51FEC1227CE22F34D480385E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Nov 4, 2011 at 2:08 PM, Lv, Hui <hui.lv@xxxxxxxxx> wrote:
> So that, an idea came to me that may enforce your proposal,
> 1. we still count the scheduling number during each period (for example 10ms)
> 2. This scheduling number is used to adaptively decide the delay value.
> For example, if scheduling number is very excessive, we can set longer delay 
> time, such as 5ms or 10ms. Or if the scheduling number is small, we can set 
> small delay time, such as 1ms, 500us or even zero. In this way, the delay 
> value is decided adaptively.

Setting the value adaptively is good, but only if it's adapting to the
right thing. :-)

For instance, adapting to number of cache misses, or to latency
requirements of guests, seems like a good idea.

But adapting to the number of scheduling events in the last period
doesn't seem very useful -- especially since our whole goal is to
change the number of scheduling events to be fewer. :-)

> I'd like to try this and see the result. May also to compare the results 
> between different solutions. As you know, SPECvirt workloads is too complex 
> that I need some time to produce this :).

I've heard that; thanks for doing the work.

> Also we have a set of small workloads to make quick testing.

What kinds of workloads are these?

Our performance team here is also trying to develop a lighter-weight
(i.e., easier to set up and run) benchmark for scalability /
consolidation.  Hopefully once they get that up and running I can test
the scheduling characteristics as well.

Peace,
 -George

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

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