[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: [RFC]PLE's performance enhancement through improving scheduler.


  • To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
  • Date: Wed, 18 Aug 2010 10:16:52 +0100
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Dong, Eddie" <eddie.dong@xxxxxxxxx>, "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
  • Delivery-date: Wed, 18 Aug 2010 02:17:32 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; 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; b=SWhvyCFRYkJPWTRq7wSa1KQV2CnSVS4wUs1GrzLznFg361YcS1E1t56UPTXVS754Hi k6NixYgLJh0Xi8d78JBoWPrXAPAVRsyenbhISHIKT1mh98eh/UgvRIPZIUSJI1KlszbG FANriT0n6puhwxXkxoq2tD7YTBpW1to0ooqEw=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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.

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

 -George

On Wed, Aug 18, 2010 at 7:39 AM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:
> On 18/08/2010 06:51, "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx> wrote:
>
>> The attached patch is just for RFC, not for check-in. Recently, we are 
>> working
>> on enhancing the hardware feature PLE through improving scheduler in Xen, and
>> the attached patch can improve system's throughput significantly. With
>> standand virtualization benchmark(vConsolidate), the testing result shows
>> ~20% performance gain.   In the implemenation, there are two points to 
>> enhance
>> the system's scheduler.
>> The first one is that when PLE vmexit occurs,  scheduler de-schedules the 
>> vcpu
>> and put it in the second position of the runq instead of moving it to the 
>> tail
>> of runq so that it can be re-scheduled in a very short time. In this case, it
>> can improve scheduler's faireness and make the PLE-senstive guests allocated
>> with reasonable timeslice.  The other improvement is to boost other vcpus'
>> priority of the same guest through moving them to the head of the runq when
>> PLE vmexit happens with one vcpu of the guest.  And we are also improving the
>> implementation to make it more robust and more pervasive, but before the work
>> is done, we also want to collect your guys' ideas and suggestions about it ?
>> Any comment is very appreciated!. Thanks!
>> Xiantao
>
> Please Cc George Dunlap on scheduler work.
>
>  -- Keir
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.