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

Re: [Xen-devel] unfair servicing of DomU vbd requests


  • To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Thu, 03 Mar 2011 08:30:07 +0000
  • Cc: xen devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 03 Mar 2011 00:32:09 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=N2CJfm0azFxr1TxSljR4KVzRXHwUdyLkhBBC/zOsZpboDBj0u7kjAyeRaNWQdfy8Rx D+NVyqX91DF6ZW0qp9xrPA1RWTbEoRvJU1DeOXGtVeQcP5xC2pXwXrYjSEqw/ZD1EJWx cOx6sv/Zr2a9JaSUUduddb9OyM9FvINbWV2Ys=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcvZfDImqvppAhhmRFmohKisMzL9KQAACsowAAA1knc=
  • Thread-topic: [Xen-devel] unfair servicing of DomU vbd requests

On 03/03/2011 08:28, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

>>>> It appears that Dom0 is not servicing vbd requests from DomU's fairly so
>>>> one or two end up getting stalled while the others are mostly okay. How
>>>> are vbd requests supposed to be serviced? Is there potential for one to
>>>> be overlooked for a long period of time? Is there some settings that
>>>> could be changed to avoid this happening?
>>> 
>>> Dom0 does round-robin scanning of pending event channels these days, which
>>> helps fairness a fair bit.
>> 
>> I have a feeling this isn't true of pvops kernels...
>> 
>> looks like we need to pull 324:7fe1c6d02a2b (and subsequent fixes) out
>> of 2.6.18-xen.hg into the pvops world.
>> 
> 
> I hope that's true and easy to fix. It would certainly explain why one DomU
> can starve enough to the point where it's IO doesn't get serviced for >70
> seconds.

Without the round-robin servicing, unfairness to the point of starvation is
a distinct possibility.

 -- Keir

> Thanks for looking at this.
> 
> James



_______________________________________________
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®.