[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081106160154.GA7461@redhat.com>
Date: Thu, 6 Nov 2008 11:01:54 -0500
From: Vivek Goyal <vgoyal@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: linux-kernel@...r.kernel.org,
containers@...ts.linux-foundation.org,
virtualization@...ts.linux-foundation.org, jens.axboe@...cle.com,
Hirokazu Takahashi <taka@...inux.co.jp>,
Ryo Tsuruta <ryov@...inux.co.jp>,
Andrea Righi <righi.andrea@...il.com>,
Satoshi UCHIDA <s-uchida@...jp.nec.com>,
fernando@....ntt.co.jp, balbir@...ux.vnet.ibm.com,
Andrew Morton <akpm@...ux-foundation.org>, menage@...gle.com,
ngupta@...gle.com, Rik van Riel <riel@...hat.com>,
Jeff Moyer <jmoyer@...hat.com>
Subject: Re: [patch 0/4] [RFC] Another proportional weight IO controller
On Thu, Nov 06, 2008 at 04:49:53PM +0100, Peter Zijlstra wrote:
> On Thu, 2008-11-06 at 10:30 -0500, vgoyal@...hat.com wrote:
> > Hi,
> >
> > If you are not already tired of so many io controller implementations, here
> > is another one.
> >
> > This is a very eary very crude implementation to get early feedback to see
> > if this approach makes any sense or not.
> >
> > This controller is a proportional weight IO controller primarily
> > based on/inspired by dm-ioband. One of the things I personally found little
> > odd about dm-ioband was need of a dm-ioband device for every device we want
> > to control. I thought that probably we can make this control per request
> > queue and get rid of device mapper driver. This should make configuration
> > aspect easy.
> >
> > I have picked up quite some amount of code from dm-ioband especially for
> > biocgroup implementation.
> >
> > I have done very basic testing and that is running 2-3 dd commands in different
> > cgroups on x86_64. Wanted to throw out the code early to get some feedback.
> >
> > More details about the design and how to are in documentation patch.
> >
> > Your comments are welcome.
>
> please include
>
> QUILT_REFRESH_ARGS="--diffstat --strip-trailing-whitespace"
>
> in your environment or .quiltrc
>
Sure, I will do. First time user of quilt. :-)
> I would expect all those bio* files to be placed in block/ not mm/
>
Thinking more about it, probably block/ will be more appropriate place.
I will do that.
> Does this still require I use dm, or does it also work on regular block
> devices? Patch 4/4 isn't quite clear on this.
No. You don't have to use dm. It will simply work on regular devices. We
shall have to put few lines of code for it to work on devices which don't
make use of standard __make_request() function and provide their own
make_request function.
Hence for example, I have put that few lines of code so that it can work
with dm device. I shall have to do something similar for md too.
Though, I am not very sure why do I need to do IO control on higher level
devices. Will it be sufficient if we just control only bottom most
physical block devices?
Anyway, this approach should work at any level.
Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists