Re: I/O Scheduling

From: Jens Axboe
Date: Sat Jan 28 2006 - 16:26:19 EST


On Sat, Jan 28 2006, Lee Revell wrote:
> On Sat, 2006-01-28 at 20:18 +0100, Jens Axboe wrote:
> > On Sat, Jan 28 2006, Lee Revell wrote:
> > > On Sat, 2006-01-28 at 18:54 +0100, Florian Schmidt wrote:
> > > >
> > > > i'm also interested in these. Especially I/O priorities per
> > > > process/task similar to scheduling priorities. It would be just
> > > > awesome to be able to give i.e. a hd recording program (or any other
> > > > data aquisition or playback program) a high I/O priority.
> > > >
> > >
> > > I believe it's already implemented for the CFQ scheduler only, but the
> > > patch does not seem to be in mainline.
> > >
> > > Jens, what's the status of this?
> >
> > It's merged, since 2.6.13.
> >
>
> OK, I was looking at an old patch, the API must have changed. Can it be
> controlled per thread, independently of the nice value/RT priority?

Yes it can, get a recent util-linux and look at ionice (there's a man
page, too).

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/