[ovs-git] [openvswitch/ovs] f67fd3: ofproto/bond: simplify rebalancing logic
GitHub
noreply at github.com
Wed Sep 23 01:14:07 UTC 2015
Branch: refs/heads/branch-2.3
Home: https://github.com/openvswitch/ovs
Commit: f67fd393b393b5fdec7f41109200f3dbf874d9b3
https://github.com/openvswitch/ovs/commit/f67fd393b393b5fdec7f41109200f3dbf874d9b3
Author: Andy Zhou <azhou at nicira.com>
Date: 2015-09-22 (Tue, 22 Sep 2015)
Changed paths:
M AUTHORS
M ofproto/bond.c
Log Message:
-----------
ofproto/bond: simplify rebalancing logic
The current bond relancing logic is more complicated than necessary.
When considering a bucket for rebalancing, we just need to make sure
post rebalancing traffic will be closer to the ideal traffic split
than before. This patch implements the simplification.
There is a bug is current algorithm that causes a heavyly loaded bucket
to ping-pong for each reblancing interval. The simplied loigc also fixes
this bug.
Though not the main motivation for the change, computations are now
done with integer math rather than floating math.
Reported-by: Gregory Smith <gasmith at nutanix.com>
tested-by: Gregory Smith <gasmith at nutanix.com>
Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>
More information about the git
mailing list