linux/drivers/net/bonding
Mahesh Bandewar e9f0fb8849 bonding: Add tlb_dynamic_lb parameter for tlb mode
The aggresive load balancing causes packet re-ordering as active
flows are moved from a slave to another within the group. Sometime
this aggresive lb is not necessary if the preference is for less
re-ordering. This parameter if used with value "0" disables
this dynamic flow shuffling minimizing packet re-ordering. Of course
the side effect is that it has to live with the static load balancing
that the hashing distribution provides. This impact is less severe if
the correct xmit-hashing-policy is used for the tlb setup.

The default value of the parameter is set to "1" mimicing the earlier
behavior.

Ran the netperf test with 200 stream for 1 min between two hosts with
4x1G trunk (xmit-lb mode with xmit-policy L3+4) before and after these
changes. Following was the command used for those 200 instances -

    netperf -t TCP_RR -l 60 -s 5 -H <host> -- -r81920,81920

Transactions per second:
    Before change: 1,367.11
    After  change: 1,470.65

Change-Id: Ie3f75c77282cf602e83a6e833c6eb164e72a0990
Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-04-24 13:04:34 -04:00
..
bond_3ad.c bonding: Changed hashing function to just provide hash 2014-04-24 13:04:34 -04:00
bond_3ad.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-02-19 01:24:22 -05:00
bond_alb.c bonding: Add tlb_dynamic_lb parameter for tlb mode 2014-04-24 13:04:34 -04:00
bond_alb.h bonding: Added bond_tlb_xmit() for tlb mode. 2014-04-24 13:04:34 -04:00
bond_debugfs.c bonding: Convert pr_warning to pr_warn, neatening 2014-02-17 00:29:23 -05:00
bond_main.c bonding: Add tlb_dynamic_lb parameter for tlb mode 2014-04-24 13:04:34 -04:00
bond_netlink.c bonding: force cast of IP address in options 2014-03-11 16:37:14 -04:00
bond_options.c bonding: Add tlb_dynamic_lb parameter for tlb mode 2014-04-24 13:04:34 -04:00
bond_options.h bonding: Add tlb_dynamic_lb parameter for tlb mode 2014-04-24 13:04:34 -04:00
bond_procfs.c bonding: fix const in options processing 2014-03-06 17:39:19 -05:00
bond_sysfs.c bonding: Add tlb_dynamic_lb parameter for tlb mode 2014-04-24 13:04:34 -04:00
bond_sysfs_slave.c bonding: change name of sysfs dir for bonding slaves 2014-01-22 21:57:05 -08:00
bonding.h bonding: Add tlb_dynamic_lb parameter for tlb mode 2014-04-24 13:04:34 -04:00
Makefile bonding: add sysfs /slave dir for bond slave devices. 2014-01-17 18:51:58 -08:00