[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>, xen devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Thu, 03 Mar 2011 07:29:55 +0000
  • Cc:
  • Delivery-date: Wed, 02 Mar 2011 23:42:44 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=e9zW3LZeBkVEIjnFaAZy8Wq6YV7am1NgOzOM/sNE9ZJ3kqLN4QqlnWrJKNjW9VnuIP FWn/0JiiNhzitXE/I9pO0/tv0RhYjmpkOKj5+qZN9xfBYZa1jmPID7mFpbfhJ9L22YV8 X65z5E5oFwrFKu7q8xveSzttn02FZ6ieJCnUc=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcvZSjRsjGymIKsxQ9G5mKdZivK1IwAKpZAr
  • Thread-topic: [Xen-devel] unfair servicing of DomU vbd requests

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

> A user of GPLPV (see thread "blue screen in windows balloon driver") is
> getting a bug check in Windows under extremely high memory usage and
> swapfile thrashing tests across multiple DomU's. Responses to my query
> on the ntdev mailing list say that this would happen if an IO request is
> not completed after 70 seconds during high memory/pagefile pressure,
> which is what is happening.
> 
> 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. When a pending event is found, the corresponding
blkfront has a batch of requests pulled down and submitted into Linux's
block subsystem at which point we have no more control over scheduling (it
could generally be configured though -- Linux has an admin mechanism for
that).

 -- Keir

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