[lkml]   [2003]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectLoad Balancing Performance

We have a device driver which is on top of the "sd" driver (i.e it forwards
the requests to the sd driver with various features implemented like load
balance,fail over etc).
Suppose we are having 4 paths to the same Logical Unit(LU),it is possible to
do load balance amongst these 4 paths.
Now if we want to send a data of 1000 buffer heads ,on each call of the make
request of our driver we select the appropriate path and pass it to sd
(this is how we achieve load balancing) and hence 250 buffer heads are sent
through each path.But the performance is not up to the mark.
But instead of path switching for every buffer head (on call of make
request), if we switch after 50 buffer heads(ie. after 50 times make
request is called) then it results in a better performance.
Is there any way to find out the optimum value so that the performance is
The performance is not good only when load balancing is ON. Hence we need
performance improvement in the case of load balancing.
Or is there any other solution to this problem.

Thanks and Regards

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.040 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site