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-users

Re: [Xen-users] io scheduler

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-users] io scheduler
From: Anand <xen.mails@xxxxxxxxx>
Date: Tue, 10 Jan 2006 16:47:26 +0530
Cc: tbrown@xxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Jan 2006 11:23:48 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=febMToBpZ7AP/SL34CEbxSVayOJR1zEVOIYNZ6u4Xjs8oBEoLUTcafGgF4hoOmKG0mg5AhV40RphOtMLDI5b7Bkpi/+SaR9kFl8Ay3E0XT6Qdi5oMkoTo0jcIl2V0WecH2pXV3kgJ1F8rsekjwwqdHJ/oMCmw3tIkAjjPFfyksc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200601100219.32491.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <Pine.LNX.4.44.0601091344151.28574-100000@xxxxxxxxxxxxxxxxxx> <200601100219.32491.mark.williamson@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I don't see a ioprio.txt inside linux-2.6.12-xen0/Documentation/block. The only docs available there are

as-iosched.txt  biodoc.txt  deadline-iosched.txt  request.txt

On 1/10/06, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> Cool. I didn't know some of this stuff existed...  e.g.
> Documentation/block/ioprio.txt

Yeah, it's pretty funky stuff :-)

> Can anyone tell what (if any) knowledge XEN has of this? Can it pass I/O
> priorities from a domU to the dom0, or can we assign I/O priorities to a
> whole domU ?

IIRC, there's some work going on to allow the second of those points, think
there's a patch circulating.

Re. passing priorities through...  you get to do that implicitly, by the order
in which domU requests come through.  But this obviously doesn't give a
priority relative to domUs...  You could implement something like that but
you'd have to trust all your domUs not to starve each other and dom0 itself,
so it'd probably not be so widely applicable.

Definitely handy that this stuff is in the kernel though - IIRC, the pluggable
scheduler stuff went in last year, so it's quite recent.

Cheers,
Mark


>
> On Mon, 9 Jan 2006, Mogens Valentin wrote:
>
> <snip>
>
> > On non-xen, yes. There's some benchmarks somewhere (don't seem to find
> > them right now) about advanteges of the various ones.
> > /usr/src/linux/Documentation/kernel-parameters.txt  says a few words.
> >
> > As you've seen for yourself, the scheduler can be changed runtime, and
> > likewise as a boot option.
> > My understanding is that schedulers works fairly directly on hardware,
> > at least reorganizing disk queues, I -think- you cannot have different
> > schedulers for dom0 and domU's.
> > Why would you? It's the same physical disk...
> > I believe cfq is usually considered the most versatile, unless specific
> > needs are determined.
>
> Looks that way...  from my 5 minutes of reading...



--

regards,

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