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: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] scheduler rate controller
From: "Lv, Hui" <hui.lv@xxxxxxxxx>
Date: Fri, 4 Nov 2011 22:08:08 +0800
Accept-language: en-US
Acceptlanguage: en-US
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: Fri, 04 Nov 2011 07:11:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAFLBxZa5v_YgnC1LTa4a5wis4h6eQPijCAfUDLDsR4ucMuBXWg@xxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcyZ4Rf7B2HWuje3SsSqNqOisGKDgwBFob7w
Thread-topic: [Xen-devel] [PATCH] scheduler rate controller
> 
> Hey Hui,  Sorry for the delay in response -- FYI I'm at the XenSummit Korea
> now, and I'll be on holiday next week.
> 

Have a good trip in Korea and the following holiday! And Say Hi to everyone 
there。 :)

> I'm attaching a prototype minimum timeslice patch that I threw together last
> week.  It currently hangs during boot, but it will give you the idea of what I
> was thinking of.
> 
> Hui, can you let me know what you think of the idea, and if you find it
> interesting, could you try to fix it up, and test it?  Testing it with bigger 
> values
> like 5ms would be really interesting.

I agree that this idea seems more natural and proper, if it can solve the two 
problems that I addressed above. We need data to prove/disprove it.
As you mentioned that, this method is supposed to have the similar result as 
the patch I sent, when setting 10ms as the delay value in the excessive 
condition.
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.
I think It can solve the possible problems that I addressed above.
George, how do you think this?
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 :).
Also we have a set of small workloads to make quick testing.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>