All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Weekes <lists.xen@nuclearfallout.net>
To: Paresh Nakhe <paresh.nakhe@gmail.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: Disk IO scheduling in XEN
Date: Thu, 24 Mar 2011 13:25:37 -0700	[thread overview]
Message-ID: <4D8BA8C1.8040503@nuclearfallout.net> (raw)
In-Reply-To: <AANLkTinHMeu5S_yes-Ut8zx=L==DaqZmmejAZnb4TbGM@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1148 bytes --]

On 3/24/2011 1:19 PM, Paresh Nakhe wrote:
> Hi,
>
> We are working on a project to modify the disk scheduling mechanism in 
> XEN a bit in an attempt to improve it. In the paper "Xen and the Art 
> of Virtualization"  following is mentioned.
>
> /"Xen services batches of requests from competing domains in a
> simple round-robin fashion; these are then passed to a standard elevator
> scheduler before reaching the disk hardware/"
>
> We were going through linux-jeremy source code in an attempt to map 
> the above in code. We could not however do so. On the contrary we came 
> to the conclusion that there is no such mechanism. Domain 0 services 
> requests as soon as it receives a hypercall from a guest domain. Are 
> we right?

Ian Campbell forward-ported the 2.6.18-xen.hg patches for this but I 
don't think that they've been merged into the main git 2.6.32 stable 
tree yet. Check the list archives for the subject line "unfair servicing 
of DomU vbd requests" for more information on this.

> Which one would be better first come first serve or round robin and why?

Of the two, RR, because domains can become starved otherwise.

-John

[-- Attachment #1.2: Type: text/html, Size: 1834 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

  reply	other threads:[~2011-03-24 20:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-24 20:19 Disk IO scheduling in XEN Paresh Nakhe
2011-03-24 20:25 ` John Weekes [this message]
2011-03-24 22:29 ` James Harper
2011-03-25  9:58   ` Ian Campbell
2011-03-25 14:48 ` Jeremy Fitzhardinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D8BA8C1.8040503@nuclearfallout.net \
    --to=lists.xen@nuclearfallout.net \
    --cc=paresh.nakhe@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.