Problems getting lagg to balance using lacp

Shteryana Shopova syrinx at FreeBSD.org
Wed Jan 27 15:52:19 UTC 2010


On Wed, Jan 27, 2010 at 5:25 PM, Steven Hartland
<killing at multiplay.co.uk> wrote:
>
> ----- Original Message ----- From: "Shteryana Shopova" <syrinx at FreeBSD.org>
>
>> What types of traffic streams are you testing this with? if_lagg will
>> use the SRC/DST MACs and IP addresses for IP traffic to decide which
>> member port of the lagg to sent the traffic out to, balancing of
>> incoming traffic should be done by the Cisco on the same principle.
>> Try a different laggproto for the if_lagg interface e.g. roundrobin
>> with channel-group <number> mode on set on the switchports.
>
> I was testing with iperf to and from two other machines on the network.
>
> If I tested with one machine I got 1g throughput, with 2 machines I
> got ~500Mbps on each, for both inbound and outbound on em1.
>
> == laggproto lacp + channel-group 2 mode active ==
> Got the same with both inbound and outbound connection
>
> == laggproto fec + channel-group 2 mode on ==
> Got the same with both inbound and outbound connection
>
> == laggproto loadbalance + channel-group 2 mode on ==
> Got the same with both inbound and outbound connection
>
> == laggproto roundrobin + channel-group 2 mode on ==,
> Instead of 1Gbps throughput on one interface I get 500Mbps on each for
> outbound only still no change with inbound.
>
> Any other ideas?
>
>

Inbound load balancing is controlled by the Cisco - try playing with
different options for <port-channel load-balance> - I guess
src-dst-port option (if available) should give better results.

cheers,
Shteryana


More information about the freebsd-net mailing list