Skip to contentSkip to conversation

I/O Scheduling

DISCUSSION Libin Varghese 4 participants 6 messages Jan 28, 2006

lore
Share & tools
lore
#0 lore raw

Hi all,
Is there any work done on new I/O scheduling techniques (other
than as, cfq, noop, deadline)?

Regards,
Libin Varghese

#1 lore raw
Quoted 3 lines · On Sat, 28 Jan 2006 15:28:54 +0530 Libin Varghese <[email protected]> wrote:

Hi all,
Is there any work done on new I/O scheduling techniques (other
than as, cfq, noop, deadline)?

Hi,

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.

Image no buffer overruns ever in a hd recorder. Or no more video dropouts when watching a movie and at the same time copying a file from the same partition you play the video from.

Is there any work done in this area. I faintly remember to have read about something like this over a year ago, but have forgotten all the specifics.

Thanks for all infos and regards,
Florian Schmidt

Signature · 2 lines
Palimm Palimm!
http://tapas.affenbande.org
#2 lore raw
Quoted 6 lines · Florian Schmidt

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?

Lee

#3 lore raw
Quoted 8 lines · Lee Revell
Quoted 6 lines · Florian Schmidt

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.

Quoted 4 lines

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.

Signature · 1 line
Jens Axboe
#4 lore raw
Quoted 9 lines · Jens Axboe
Quoted 8 lines · Lee Revell
Quoted 6 lines · Florian Schmidt

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.

Quoted 7 lines
Quoted 4 lines

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?

Lee

#5 lore raw
Quoted 13 lines · Lee Revell
Quoted 12 lines · Jens Axboe
Quoted 11 lines · Lee Revell
Quoted 6 lines · Florian Schmidt

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.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

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).

Signature · 1 line
Jens Axboe