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] Re: [RFC]PLE's performance enhancement through improving

To: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Re: [RFC]PLE's performance enhancement through improving scheduler.
From: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Date: Thu, 19 Aug 2010 09:57:24 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Delivery-date: Wed, 18 Aug 2010 18:59:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinyscCWzPpSh1=4kR_Ehi9sKiXdmYHCA0B3+tD=@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: <BC00F5384FCFC9499AF06F92E8B78A9E164C8CB771@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C8913ECF.1E39F%keir.fraser@xxxxxxxxxxxxx> <AANLkTinyscCWzPpSh1=4kR_Ehi9sKiXdmYHCA0B3+tD=@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acs+tiBF7QMF8QXKTvC/RnjZbBTd9wAiCj6g
Thread-topic: [Xen-devel] Re: [RFC]PLE's performance enhancement through improving scheduler.
George Dunlap wrote:
> Xiantao,
> 
> Thanks for the patch.  You have two changes here:
> * Yield goes back only 1 vcpu ("yield")
> * Other vcpus of yielding VM get yanked to the front ("boost")
> 
> If you send them as two patches, we can talk about the changes /
> accept them individually.
> Both changes sound reasonable, but we often find in schedulers that
> small changes can have unexpected results. :-)
> 
> I think the "yield" patch should be easy to accept.  The "boost" patch
> looks good but also seems riskier -- I'd want to do some more thinking
> and testing to make sure there aren't situations where it could cause
> problems, or allow one VM to "game" the scheduler to get more time.

Agree, we also thought this maybe a risk to unconditionally boost other vcpus' 
priority. We will investigate more before it is finally done. 
Basically, we thought the current scheduler is not fair for PLE-senstive 
guests, because it always yields its schedule chances to other vcpus in the 
runq once meet PLE vmexits, so only very little time is allocated for its run. 
Certainly, we also need to avoid malicous guests stealing time through the 
boost mechanism.  

> Would you mind running the vConsolidate test with each patch
> separately, so we can see how each one affects the performance?

Okay, we will perform the testing separately as you suggested.  
Xiantao

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

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