Re: [PATCH] Time sliced CFQ #2

Helge Hafting
2004-12-06T12:11:17Z

Jens Axboe wrote:

>On Mon, Dec 06 2004, Robert Love wrote:
>
>
>>
>> (1) separate the two values. we have a scheduling
>> priority (distributing the finite resource of
>> processor time) and an I/O priority (distributing
>> the finite resource of disk bandwidth).
>> (2) just have a single value.
>>
>>
>
>They are inherently seperate entities, I don't think mixing them up is a
>good idea. IO priorities also includes things like attempting to
>guarentee disk bandwidth, it isn't always just a 'nice' value.
>
>
Two separate entities is fine. Those who want just one
entity can use a "nice wrapper" that sets both
simultaneously.

Helge Hafting