Re: [PATCH] Time sliced CFQ #2

Jeff Sipek
2004-12-06T00:29:59Z

[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

On Sun, Dec 05, 2004 at 07:58:45PM +0100, Jens Axboe wrote:
> It should be really easy to try some rudimentary prio io support - just
> scale the time slice based on process priority. A few lines of code
> change, and io priority now follows process cpu scheduler priority. To
> work really well, the code probably needs a few more limits besides just
> slice time.

I started working on the rudimentary io prio code, and it got me thinking...
Why use the cpu scheduler priorities? Wouldn't it make more sense to add
io_prio to task_struct? This way you can have a process which you know needs
a lot of CPU but not as much io, or the other way around.

What do you think?

Jeff.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]