From owner-freebsd-questions@FreeBSD.ORG Thu Dec 16 10:54:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FB5E106564A for ; Thu, 16 Dec 2010 10:54:43 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id E0D2A8FC14 for ; Thu, 16 Dec 2010 10:54:42 +0000 (UTC) Received: (qmail invoked by alias); 16 Dec 2010 10:54:40 -0000 Received: from adsl-131.109.242.152.tellas.gr (EHLO [192.168.73.197]) [109.242.152.131] by mail.gmx.com (mp-eu001) with SMTP; 16 Dec 2010 11:54:40 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX19vl2R/jwxvk9JH1KGMDy1OYKep3hh2eNsZw2iA1y 5yYImZemqkWbuZ Message-ID: <4D09EFD9.504@gmx.com> Date: Thu, 16 Dec 2010 12:54:17 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: matt@webcontracts.co.uk References: <0ec066ac2fd5161d5f3715c6a0c776d6.squirrel@www.webcontracts.co.uk> In-Reply-To: <0ec066ac2fd5161d5f3715c6a0c776d6.squirrel@www.webcontracts.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org Subject: Re: FTP server link aggregation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2010 10:54:43 -0000 On 12/15/2010 3:11 PM, Matthew Law wrote: > I have a single FreeBSD box acting as an FTP server for multiple FreeBSD > and Linux clients on the same /24 subnet (all gigabit ethernet). It is > currently connected by just one of it's two gig ethernet ports. I also > have two cisco switches with an etherchannel between them (using 2 x gig > ports on each switch). I would like to connect the remaining NIC on my > FreeBSD box to the other switch and enable 802.3ad on those switch ports > to aggregate traffic between them. > > This is in the hope that it can better serve multiple FTP clients. Is my > thinking correct? Other than the network interface changes which are > documented here: > http://www.freebsd.org/doc/handbook/network-aggregation.html are there any > further tweaks I could make to improve things? -the server is a 'standard > install' and does not use ZFS. It has an adaptec 5408 RAID card with 4 x > SATA II drives and, IIRC, 128K stripe size and plenty of RAM. > > Is there a way of testing this other than initiating large file transfers > to this server from multiple hosts? > A simple ping from multiple sources to your server will do. LACP will associate each SRCMAC and DSTMAC pair to one physical interface. Creating traffic with many different SRCMAC and DSTMAC pairs will use both physical interfaces. But, I do vaguely remember that if_lagg was not able to perform at 2 * 1Gbps level. Use "systat -ifstat" to check what's happening and please, post your performance findings to the list! HTH, Nikos