Receive (rx) packets in a balance-rr bond are not being distributed evenly for me.
In my configuration, eth3, eth4, and eth5 are in a multipath round-robin on a private network and distribute the load well.
eth0, eth1, and eth2 are in a balance-rr bond that is bridged to the main network. The switch (Dell Powerconnect 2724) is configured with LAG (Link aggregation) for the related ports (eth0, eth1, eth2). Transmit packets are distributed evenly among the 3 nics. However, received (rx) packets almost all go over a single interface, eth2 (see results in details below). I noticed in another thread in this forum that it is suggested to only have 2 NIC's in a bond. I tried that with similar results.
Why would the received (rx) packets not be distributed evenly for a balance-rr bond?
Here are some details...
Monitoring results:
/etc/network/interfaces:
NICs:
Intel 82546GB
Intel 80003ES2LAN
Thanks.
In my configuration, eth3, eth4, and eth5 are in a multipath round-robin on a private network and distribute the load well.
eth0, eth1, and eth2 are in a balance-rr bond that is bridged to the main network. The switch (Dell Powerconnect 2724) is configured with LAG (Link aggregation) for the related ports (eth0, eth1, eth2). Transmit packets are distributed evenly among the 3 nics. However, received (rx) packets almost all go over a single interface, eth2 (see results in details below). I noticed in another thread in this forum that it is suggested to only have 2 NIC's in a bond. I tried that with similar results.
Why would the received (rx) packets not be distributed evenly for a balance-rr bond?
Here are some details...
Monitoring results:
Code:
bwm-ng v0.6 (probing every 0.500s), press 'h' for help
input: /proc/net/dev type: sum
/ iface Rx Tx Total
==========================================================
lo: 4278.15 KB 4278.15 KB 8556.30 KB
eth0: 245.56 KB 11215.56 KB 11461.12 KB
eth1: 31120.73 KB 11197.75 KB 42318.48 KB
eth2: 1533256.66 KB 11231.98 KB 544488.64 KB
eth3: 27875.98 KB 760763.83 KB 788639.81 KB
eth4: 28827.72 KB 763390.26 KB 792217.98 KB
eth5: 29498.55 KB 762272.50 KB 791771.05 KB
bond0: 1564622.88 KB 33645.29 KB 1598268.17 KB
vmbr0: 791532.00 KB 29198.27 KB 820730.27 KB
venet0: 0.00 KB 0.00 KB 0.00 KB
vmtab102i0: 4447.02 KB 765576.42 KB 770023.43 KB
-----------------------------------------------------------------------------------
total: 4015705.25 KB 3152770.01 KB 7168475.26 KB
/etc/network/interfaces:
Code:
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual
auto eth3
iface eth3 inet static
address 172.18.32.100
netmask 255.255.255.0
mtu 9000
auto eth4
iface eth4 inet static
address 172.18.33.100
netmask 255.255.255.0
mtu 9000
auto eth5
iface eth5 inet static
address 172.18.34.100
netmask 255.255.255.0
mtu 9000
auto bond0
iface bond0 inet manual
slaves eth0 eth1 eth2
bond_miimon 100
bond_mode balance-rr
auto vmbr0
iface vmbr0 inet static
address 10.132.32.49
netmask 255.255.254.0
gateway 10.132.32.2
bridge_ports bond0
bridge_stp off
bridge_fd 0
Intel 82546GB
Intel 80003ES2LAN
Thanks.