Re: stochastic fair queueing in the elevator [Re: [BENCHMARK] 2.4.20-ck3 / aa / rmap with contest]

Jens Axboe
2003-02-11T10:54:59Z

On Mon, Feb 10 2003, Pavel Machek wrote:
> Hi!
>
> > The design I proposed is to have multiple I/O queues, where to apply the
> > elevator, and to choose the queue in function of the task->pid that is
> > sumbitting the bh/bio. You'll have to apply an hash to the pid and you
> > probably want a perturbation timer that will change the hash function
> > every 30 sec or so. Plus I want a special queue for everything
> > asynchronoys. So that the asynchronoys queue will be elevated and
>
> What about adding speicial queue (queues?) for niced things? That way
> nice -20 job would not interfere with normal processes, not even for
> I/O.

Once you have per-process queues, it's fairly trivial to add stuff like
that.

--
Jens Axboe