Skip to contentSkip to conversation

io scheduler silly question perhaps..

DISCUSSION Dave Airlie 3 participants 4 messages Jul 29, 2005

lore
Share & tools
lore
#0 lore raw

I have an embedded system which has two read-only flash devices (one a PIO ATA flash disk, and one MDMA capable flash)

As I'm doing no writing in this system and most of my reads are sequential (streaming movies or images) would my choice of io scheduler be very important?

Regards,
Dave.

Signature · 3 lines
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG
#1 lore raw

Try benchmarking Anticipatory or Deadline against Noop, preferably with your actual workload. Noop is probably what you want, since there is not much use in avoiding large "seeks". It could be though that request merging, which the non-noop schedulers all perform, willl cause Noop to lose. I haven't tried any I/O scheduler benchmarks with flash, but perhaps we need a simple "merge only" scheduler for this sort of thing.

Let me know what the results are.

NATE

Quoted 22 lines · Dave Airlie

I have an embedded system which has two read-only flash devices (one a PIO ATA flash disk, and one MDMA capable flash)

As I'm doing no writing in this system and most of my reads are sequential (streaming movies or images) would my choice of io scheduler be very important?

Regards,
Dave.

Signature · 9 lines
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
#2 lore raw
Quoted 9 lines · Nate Diller

Try benchmarking Anticipatory or Deadline against Noop, preferably with your actual workload. Noop is probably what you want, since there is not much use in avoiding large "seeks". It could be though that request merging, which the non-noop schedulers all perform, willl cause Noop to lose. I haven't tried any I/O scheduler benchmarks with flash, but perhaps we need a simple "merge only" scheduler for this sort of thing.

Let me know what the results are.

deadline is the appropriate choice, you could still have read starvation issues with noop. anticipatory doesn't make any sense, as the device has no seek penalty.

and hey, don't top post! now we lost daves original mail.

Signature · 1 line
Jens Axboe
#3 lore raw
Quoted 9 lines · Jens Axboe
Quoted 8 lines · Nate Diller

Try benchmarking Anticipatory or Deadline against Noop, preferably with your actual workload. Noop is probably what you want, since there is not much use in avoiding large "seeks". It could be though that request merging, which the non-noop schedulers all perform, willl cause Noop to lose. I haven't tried any I/O scheduler benchmarks with flash, but perhaps we need a simple "merge only" scheduler for this sort of thing.

Quoted 5 lines
Quoted 1 line

Let me know what the results are.

deadline is the appropriate choice, you could still have read starvation issues with noop. anticipatory doesn't make any sense, as the device has no seek penalty.

I'm not sure I understand your concern with noop. even if there were writes in the queue (he said there were none/few) i don't see how read starvation could occur with a FIFO. also, I have read that for large flash devices, there is a (small) seek penalty, but that it's relatively constant for large vs. small seeks. can someone elaborate on that?

so dave, try deadline vs noop and let us know what you get. also, are you concerned with CPU use?

Quoted 2 lines

and hey, don't top post! now we lost daves original mail.

yeah, you're right, so much for gmail "quick reply"

NATE

Quoted 5 lines

--
Jens Axboe