bonding: Simplify the xmit function for modes that use xmit_hash
Earlier change to use usable slave array for TLB mode had an additional performance advantage. So extending the same logic to all other modes that use xmit-hash for slave selection (viz 802.3AD, and XOR modes). Also consolidating this with the earlier TLB change. The main idea is to build the usable slaves array in the control path and use that array for slave selection during xmit operation. Measured performance in a setup with a bond of 4x1G NICs with 200 instances of netperf for the modes involved (3ad, xor, tlb) cmd: netperf -t TCP_RR -H <TargetHost> -l 60 -s 5 Mode TPS-Before TPS-After 802.3ad : 468,694 493,101 TLB (lb=0): 392,583 392,965 XOR : 475,696 484,517 Signed-off-by: Mahesh Bandewar <maheshb@google.com> Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
parent
d7021325
-
mentioned in commit 5f1b77f0
-
mentioned in commit 14a703ef
-
mentioned in commit 4366f9e3
-
mentioned in commit 480edc08
-
mentioned in commit 0887512e
-
mentioned in commit 23de0d7b
-
mentioned in commit c13fa4b3
-
mentioned in commit c92b23d9
-
mentioned in commit 039b2b94
-
mentioned in commit 4a384c1e
-
mentioned in commit 147540ca
-
mentioned in commit 3767e6d0
-
mentioned in commit 4bcfbec3
Please register or sign in to comment