Re: ionice kills vanilla 2.6.0-test9 was [Re: [PATCH] cfq + io priorities (fwd)]

From: Jens Axboe
Date: Fri Nov 21 2003 - 15:16:34 EST


On Fri, Nov 21 2003, Pavel Machek wrote:
> Hi!
>
> > > I'm attaching the simple ionice tool. It's used as follows:
> >
> > Here's one that works, sorry about that. To compile:
> >
> > # gcc -Wall -D__X86 -o ionice ionice.c
> >
> > or other define for PPC or X86_64.
>
> Well, did that, run it on vanilla kernel, and it kills the
> machine. Can someone reproduce it?

I saw that on ppc too, btw, didn't trace it yet. But there definitely is
a problem with calling syscalls that don't exist.

> [What is needed to start using cfq? Is your patch, this utility and
> elevator=cfq enough?]

Yes, that is it. Your result may vary though, I have a newer cfq that's
almost ready for release that fixes varies performance problems.

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