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] unfair servicing of DomU vbd requests

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] unfair servicing of DomU vbd requests
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:user-agent:date:subject:from:to:cc:message-id :thread-topic:thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=Z5Rs+q3dJrPETwsQ3Yi+6y5ipohEDM6J0lNY7QVGz1c=; b=VNcPouxP6zOlW3GiXZ1xdE6yH6p4qH1CrsDvM2fBgQZKzOD6P9h6DMmX9/qT4F0PaL 52tp12jjz/xG/PlwGwHdSn4nw+79blHeAiMkwleWk6SIJ6euWKoiRHOK0M/JmVl3Hi9j UyWdTJU3aRr/nCf2zTdy99E9/++lkIE0ohsZk=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01C55BB8@trantor>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcvZfDImqvppAhhmRFmohKisMzL9KQAACsowAAA1knc=
Thread-topic: [Xen-devel] unfair servicing of DomU vbd requests
User-agent: Microsoft-Entourage/12.28.0.101117
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