[ovs-dev] [PATCH 2/2] bond: Change rebalance ratio to be more fair

Ben Pfaff blp at nicira.com
Fri Jan 4 22:17:15 UTC 2013

On Thu, Dec 20, 2012 at 09:55:06PM +0000, Zoltan Kiss wrote:
> The old algorithm tries to converge to 0, despite it would mean a very
> unbalanced situation. 1 is a more desirable goal. Fortunately rebalancing never
> worked, so this never caused a problem. But my previous patch needs it.
> It was tested together with my previous patch.
> Signed-off-by: Zoltan Kiss <zoltan.kiss at citrix.com>

One of the goals of the heuristic here (whether it was correctly
implemented or not) was to include hysteresis, that is, to avoid
moving for tiny improvements.  As I read it, your new heuristic here
doesn't do that, so it will move for an improvement from 1.001 to
0.99999.  Could you add some hysteresis?

More information about the dev mailing list