[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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

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:

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.

Kiyoshi Ueda

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]