From owner-freebsd-net@FreeBSD.ORG Wed Jan 27 15:52:18 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF4611065670 for ; Wed, 27 Jan 2010 15:52:18 +0000 (UTC) (envelope-from shteryana@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id 6F34C8FC1B for ; Wed, 27 Jan 2010 15:52:18 +0000 (UTC) Received: by ewy10 with SMTP id 10so1403562ewy.3 for ; Wed, 27 Jan 2010 07:52:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=6Wb1bmqfNmQ68ATMmirJ5gtyGIjg4lJ3x6/70ObWh7w=; b=XR6zqq2z1GpqjQpNBp+U1P6eZZWf9Zil6lgCZZOyo4+6ik/ixSaZLTZGAMEhDqHw8P 6vx2m0TOpH3RBpR1a3m7gejdz5l8mu8t3jxe1Pf4zJOE/852TwMmR3gc36KkxbYaIWrw nQBHlycm4EmtiEG10fb27uiVPSZiJQ5o+yhzE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=KKARZgL5Yb6Vjxsqq2fupHaW8Tt4ulNWnyeH4Us677DfRdR2ThrOSrRZc7jBsyFuTS i70nobHnvA3ucgsnq4WlfkGpmoOsQTXDYFe+9twAS9P78Y02TbQ6PYHe0+nSAmdkwQva OyRLU9PpUl9jqLjxV8/xzMetSvxcl8QkyjJ94= MIME-Version: 1.0 Sender: shteryana@gmail.com Received: by 10.213.100.197 with SMTP id z5mr4277961ebn.93.1264607537405; Wed, 27 Jan 2010 07:52:17 -0800 (PST) In-Reply-To: <251ACDBA39F244B7B8D1520DE3C95DF1@multiplay.co.uk> References: <8E2B6E11A79B4958B94B44A41C7D4298@multiplay.co.uk> <61b573981001270543k6514a5g8d4f679777b69b49@mail.gmail.com> <251ACDBA39F244B7B8D1520DE3C95DF1@multiplay.co.uk> Date: Wed, 27 Jan 2010 17:52:17 +0200 X-Google-Sender-Auth: 4ea32f84780dfea1 Message-ID: <61b573981001270752q4e21a8a9ldf19718ca3fb474c@mail.gmail.com> From: Shteryana Shopova To: Steven Hartland Content-Type: text/plain; charset=UTF-8 Cc: freebsd-net@freebsd.org Subject: Re: Problems getting lagg to balance using lacp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: syrinx@FreeBSD.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2010 15:52:19 -0000 On Wed, Jan 27, 2010 at 5:25 PM, Steven Hartland wrote: > > ----- Original Message ----- From: "Shteryana Shopova" > >> 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 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 - I guess src-dst-port option (if available) should give better results. cheers, Shteryana