From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 20:39:09 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2A1C1065673 for ; Tue, 12 Apr 2011 20:39:09 +0000 (UTC) (envelope-from andy@fud.org.nz) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 456688FC14 for ; Tue, 12 Apr 2011 20:39:09 +0000 (UTC) Received: by wwc33 with SMTP id 33so7934855wwc.31 for ; Tue, 12 Apr 2011 13:39:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.63.18 with SMTP id z18mr6987135wbh.167.1302639220228; Tue, 12 Apr 2011 13:13:40 -0700 (PDT) Sender: andy@fud.org.nz Received: by 10.227.138.139 with HTTP; Tue, 12 Apr 2011 13:13:40 -0700 (PDT) In-Reply-To: <1302516039.3223.222.camel@pcdenny> References: <1302516039.3223.222.camel@pcdenny> Date: Wed, 13 Apr 2011 08:13:40 +1200 X-Google-Sender-Auth: WoMkpNimUZixB5IbI5-6fO-L90o Message-ID: From: Andrew Thompson To: Denny Schierz Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable Subject: =?iso-8859-1?q?Re=3A_Network_throughput=3A_Never_get_more_than_1?= =?iso-8859-1?q?12MB/s_=FCber_two_NICs?= X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 20:39:09 -0000 On 11 April 2011 22:00, Denny Schierz wrote: > hi, > > after testing severals loadbalancing (LACP) types with Cisco, we saw, > that we never get more than 112MB/s with two network cards and iperf. > > So, we tested without loadbalancing, 4 Clients (iperf -f M -c ) and > two target IPs. Every IP has his own 1Gb/s network card. > On the end, two clients had a connection to IP 1 and the second two to > IP 2. > > First we used the two onboard NICs and then, one onboard and one > external NIC, but without success. We never get more then 112MB/s > > All are connected through a Cisco Catalyst WS-X4515. > > The mainboard is a Intel S3420GP. > > any suggestion? Are you doing LACP from the FreeBSD host? (ie. lagg(4) interface). The current hash just uses the mac and IP addresses (not tcp/udp ports) so you need to make sure your multiple streams have different mac/ip numbers in order to load balance over multiple links. Andrew