From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: NotariE@usa.redcross.org Newsgroups: gmane.os.tru64.managers Subject: LAG - Which algorithm? Date: Wed, 05 Sep 2007 07:59:56 -0400 Message-ID: <82C4208201BE3645B6840015C9DD2CBAAE89C0@bhqroc1ex2.archq.ri.redcross.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1188993683 31955 80.91.229.12 (5 Sep 2007 12:01:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Sep 2007 12:01:23 +0000 (UTC) To: tru64-unix-managers@ornl.gov Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Sep 05 14:01:20 2007 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by lo.gmane.org with smtp (Exim 4.50) id 1IStZ8-0002UY-F7 for gotm-tru64-unix-managers@gmane.org; Wed, 05 Sep 2007 14:01:02 +0200 Original-Received: (qmail 10414 invoked by uid 49509); 5 Sep 2007 12:00:43 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 10404 invoked by uid 49501); 5 Sep 2007 12:00:43 -0000 Original-Received: from 160.91.86.17 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.86.17):SA:0(-2.0/5.0):. Processed in 0.795426 secs); 05 Sep 2007 12:00:43 -0000 X-Spam-Status: No, hits=-2.0 required=5.0 Original-Received: from emroute2.ornl.gov (160.91.86.17) by sws1.ornl.gov with SMTP; 5 Sep 2007 12:00:42 -0000 Original-Received: from emroute2.ornl.gov ([127.0.0.1]) by emroute2.ornl.gov (PMDF V6.3-x11 #31501) with ESMTP id <0JNW00EW29D641@emroute2.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 05 Sep 2007 08:00:42 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.emroute2.ornl.gov by emroute2.ornl.gov (PMDF V6.3-x11 #31501) id <0JNW006019D6UI@emroute2.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 05 Sep 2007 08:00:42 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute2.ornl.gov by emroute2.ornl.gov (PMDF V6.3-x11 #31501) id <0JNW006039CXUD@emroute2.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 05 Sep 2007 08:00:41 -0400 (EDT) Original-Received: from arcsmtp14.redcross.org (arcsmtp14.redcross.org [162.6.217.98]) by emroute2.ornl.gov (PMDF V6.3-x11 #31501) with ESMTP id <0JNW0044M9BXSJ@emroute2.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 05 Sep 2007 08:00:33 -0400 (EDT) Original-Received: from arcsmtp14.redcross.org (127.0.0.1) by arcsmtp14.redcross.org (MlfMTA v3.2r1b3) id hrqb040171s4 for ; Wed, 05 Sep 2007 07:41:18 -0400 (envelope-from ) Original-Received: from nhqdtcsmtp3.archq.ri.redcross.net ([162.6.223.23]) by arcsmtp14.redcross.org (SonicWALL 5.0.3.8723) with ESMTP; Wed, 05 Sep 2007 07:41:18 -0400 Original-Received: from bhqroc1ex2.archq.ri.redcross.net ([10.161.1.34]) by nhqdtcsmtp3.archq.ri.redcross.net with Microsoft SMTPSVC(6.0.3790.1830) ; Wed, 05 Sep 2007 07:59:57 -0400 X-Envelope-from: NotariE@usa.redcross.org X-MIMEOLE: Produced By Microsoft Exchange V6.0.6603.0 Thread-Topic: LAG - Which algorithm? Thread-Index: AcfvtEbh2Qxz01N3SnuZaZrFwzCpvQ== content-class: urn:content-classes:message X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on spam2.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,BOTNET_SOHO autolearn=ham version=3.2.3 X-MS-Has-Attach: X-MS-TNEF-Correlator: X-Mlf-Version: 5.0.3.8723 X-Mlf-UniqueId: o200709051141180377131 X-OriginalArrivalTime: 05 Sep 2007 11:59:57.0074 (UTC) FILETIME=[472EA720:01C7EFB4] Xref: news.gmane.org gmane.os.tru64.managers:9228 Archived-At: Hello Alpha Managers, We have installed and configured two (2) GBit NICs in our ES40 to use LAG. Specifically, they are using the "load distribution algorithm" defined as "dstip". (See options below) I am new at using LAG and would like your opinion on which algorithm would be best for my environment. We are running SAS on the ES40 (Tru64 v5.1b) with 4 local X-Clients connecting (same VLAN) and 3 external X-Clients connecting (intranet). Each of these clients will have, from time-to-time, large files to FTP to/from their local systems. Storage is not an issue and memory is maxed out. Security is quite high, SSH2, and other AISSP implementations. Any thoughts and opinions would be welcomed. As an aside; The Network Operations folks have offered to "bind" the ports on the switch if I should require it. From what I can tell, LAG does not require this. Is there a good reason to use bound switch ports? Is that something that Netrain uses? =20 Thanks, Ed Notari =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >From Tru64 MAN Page for LAG Destination IP Address (dstip) For IP packets, the port is selected based on a hash of the destination IP address. For non-IP packets, the port is selected based on a hash of the destination MAC address. All traffic addressed to a specific destination IP address uses the same port in the link aggregation group. This algorithm can utilize the combined bandwidth of a link aggregation group in environments where traffic is destined to a large number of different IP addresses (for example, a web server). However, this algorithm might not produce the expected bandwidth utili- zation in environments where the majority of traffic is destined to a single IP address (for example, a private server-to-server intercon- nect). Destination MAC address (dstmac) The port is selected based on a hash of the destination MAC address. All traffic addressed to a specific destination MAC address uses the same port in the link aggregation group. This algorithm can utilize the combined bandwidth of a link aggregation group in environments where traffic is destined to a large number of different MAC addresses (for example, a server that sends most of its traffic to clients on the same LAN). However, this algorithm might not produce the expected bandwidth utili- zation in environments where the majority of traffic is destined to a small number of MAC addresses (for example, a server-to-server inter- connect, or a server that sends most of its traffic through a router). Transport Port number (port) For TCP or UDP packets originating on the system, the port is selected based on a hash of the source and destination TCP or UDP port numbers. For all other packets, including TCP and UDP packets being forwarded by the system, the Destination IP address (dstip) algorithm is used. All traffic addressed to a specific source+destination port pair uses the same port in the link aggregation group. This algorithm can utilize the combined bandwidth of a link aggregation group in environments where traffic is destined to a single IP or MAC address, but is exchanged between a number of different TCP or UDP port number pairs (for example, a server-to-server interconnect). Round Robin (roundrobin) The port is selected on a rotating basis. This algorithm can utilize the combined bandwidth of a link aggregation group in most environments. However, this algorithm may result in reordering of packets belonging to the same flow (for example, a TCP connection), which in turn may adversely affect performance. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D "Do not go gentle into that good night, Old age should burn and rave at close of day; Rage, rage against the dying of the light." - Dylan Thomas