[dm-devel] [patch] leastpending_io load balancing policy

Kiyoshi Ueda k-ueda at ct.jp.nec.com
Fri Dec 12 02:51:05 UTC 2008


Hi Vijayakumar,

Balasubramanian, Vijayakumar (STSD) wrote:
> > Hi,
> > Attached is modified patch with the comments incorporated.

I think it doesn't work correctly if repeat_count is more than 1
because io_count is decremented for every end_io while it is
incremented only when the path is selected.


The 'leastpending_io' balancing is actually what our queue-length
based dynamic load balancer, which is originally posted by Stefan
Bader, is already doing.
Our patches work with repeat_count more than 1 by adding a hook
at starting I/O:
http://www.kernel.org/pub/linux/kernel/people/agk/patches/2.6/editing/rqdm-dlb-01-interface-change-for-queue-length-dlb.patch

So, please take a look at our patches and let's avoid the duplication
of efforts.  Comments are welcome.


Also, if you are interested in dynamic load balancing, you might
want to check the request-based dm-multipath, too.
Since necessary changes in the block layer and SCSI subsystem are
already included in Linus's tree, remaining patches are dm only.
The latest version is in the Alasdair's editing tree.

Thanks,
Kiyoshi Ueda




More information about the dm-devel mailing list