[ovs-dev] [PATCH] bonding: Balance bond slaves based on ratio.

Ian Campbell Ian.Campbell at citrix.com
Thu Oct 15 09:28:44 UTC 2009


On Thu, 2009-10-15 at 04:28 +0100, Jesse Gross wrote:
> Previously when deciding whether to migrate a hash between slaves
> we would never move it if it would cause more load on the new slave
> than the old.  This could lead to a situation where the slaves would
> be imbalanced but no migration would occur since it would flip the
> load.  This will do the migration if it will decrease the ratio.

This sounds logical to me and the implementation seems to match.

I wonder how it behaves in bonds with more than two slaves? It will only
compare pairs of slaves but I guess there is a good chance that it will
still converge on a reasonably stable configuration. (I'm not really all
that bothered about the >2 slave case behaving in an ideal fashion, more
idly wondering).

Thanks,
Ian.





More information about the dev mailing list