* raid and elevator
@ 2006-03-26 21:29 Raz Ben-Jehuda(caro)
2006-03-27 12:27 ` Jens Axboe
0 siblings, 1 reply; 4+ messages in thread
From: Raz Ben-Jehuda(caro) @ 2006-03-26 21:29 UTC (permalink / raw)
To: linux-ide@vger.kernel.org, Linux RAID Mailing List; +Cc: Neil Brown
It is my belief that the linux elevators are not optimized for
raid throughout.
Basically when IO initiator generates IO over a single disk he can control
the amount of IOs and this way control IOs latencies.
This is not the case in raided volumes.
Example:
An IO initiator intiates bulks of asynchronous IOs over a raided
volume. since the user does not know the target destination of each IO
he
might cause imbalance over the disks. one disk may become overflooded
with IOs while the other is may starve. So eventually we are ending with
a non balaned raided volume in terms of bad latencies.
I am trying to deal with this problem by fixing the deadline elevator code
to batch IOs , meaning , when n IOs are reaching the disk, each m deadlined
IOs are sorted and then dispatced.
I would appreciate any coments in this matter.
thank you
Raz Ben Yehuda
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: raid and elevator
2006-03-26 21:29 raid and elevator Raz Ben-Jehuda(caro)
@ 2006-03-27 12:27 ` Jens Axboe
[not found] ` <5d96567b0603270436x69eba93cx4b55b942c422afe0@mail.gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2006-03-27 12:27 UTC (permalink / raw)
To: Raz Ben-Jehuda(caro)
Cc: linux-ide@vger.kernel.org, Linux RAID Mailing List, Neil Brown
On Sun, Mar 26 2006, Raz Ben-Jehuda(caro) wrote:
> It is my belief that the linux elevators are not optimized for
> raid throughout.
>
> Basically when IO initiator generates IO over a single disk he can control
> the amount of IOs and this way control IOs latencies.
>
> This is not the case in raided volumes.
>
> Example:
>
> An IO initiator intiates bulks of asynchronous IOs over a raided
> volume. since the user does not know the target destination of each IO
> he
> might cause imbalance over the disks. one disk may become overflooded
> with IOs while the other is may starve. So eventually we are ending with
> a non balaned raided volume in terms of bad latencies.
>
> I am trying to deal with this problem by fixing the deadline elevator code
> to batch IOs , meaning , when n IOs are reaching the disk, each m deadlined
> IOs are sorted and then dispatced.
You do realize that the io scheduler resides _below_ the raid
personality? So if you want to balance what goes to what io scheduler
(and thus, disk), you'd want to mess with the raid personality.
--
Jens Axboe
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-03-27 12:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-26 21:29 raid and elevator Raz Ben-Jehuda(caro)
2006-03-27 12:27 ` Jens Axboe
[not found] ` <5d96567b0603270436x69eba93cx4b55b942c422afe0@mail.gmail.com>
[not found] ` <20060327123951.GL8186@suse.de>
2006-03-27 12:42 ` Raz Ben-Jehuda(caro)
2006-03-27 12:44 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).