From owner-freebsd-net@FreeBSD.ORG Wed Mar 10 17:02:27 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 D77F61065698 for ; Wed, 10 Mar 2010 17:02:27 +0000 (UTC) (envelope-from prvs=16855aad97=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 686E18FC1C for ; Wed, 10 Mar 2010 17:02:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1268239917; x=1268844717; q=dns/txt; h=Received: Message-ID:From:To:Cc:References:Subject:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=pKVL366F5gaF1heKLxSmN PbuoYuf0Az6n+kWsJgvLzg=; b=osGIxaXhjdRcMqHa4VslBJihL+JS7ht8tHSDA mJWAsA3HE6NpRD0x03topoIZgUFOHWgva8Vzp9Jv1x3UEVVD6H5VtvTdhtJNCqiU uLWjNp/a9/4p6GdgygeRWjd5w3hSYy/cdx/Pj6giH+evML4Oaco3TYU/pN+T+Ks4 GkYVo0= X-MDAV-Processed: mail1.multiplay.co.uk, Wed, 10 Mar 2010 16:51:57 +0000 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v10.0.4) with ESMTP id md50009579431.msg for ; Wed, 10 Mar 2010 16:51:57 +0000 X-Spam-Processed: mail1.multiplay.co.uk, Wed, 10 Mar 2010 16:51:57 +0000 (not processed: message from trusted or authenticated source) X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 188.220.16.96 X-Return-Path: prvs=16855aad97=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-net@freebsd.org Message-ID: <7B92D565777F40B7B2AC7D25B6465F6A@multiplay.co.uk> From: "Steven Hartland" To: "Vitaliy Ovsyannikov" References: <201001291920.o0TJKAw9005498@freefall.freebsd.org><2a41acea1001291447n5852f5b4h193d3ad6dff9faac@mail.gmail.com> <20100129235911.GA67110@mr-happy.com> <398DD47A113342D78637D600C0C4C47B@multiplay.co.uk> <1036623459.20100310132532@kr.ru> Date: Wed, 10 Mar 2010 16:51:51 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Cc: FreeBSD Net Subject: Re: kern/141646: [em] em(4) + lagg(4) + vlan(4) generatesISL-tagged frames instead of 802.1q-tagged frames X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2010 17:02:27 -0000 FYI: When we tested lagg to a cisco 6509 balancing didnt work at all, that was with 8.0 release. Initial investigation seemed to indicated a problem with aggregator creation. See the thread: Problems getting lagg to balance using lacp for more info. Regards Steve ----- Original Message ----- From: "Vitaliy Ovsyannikov" To: "Steven Hartland" Cc: "FreeBSD Net" Sent: Wednesday, March 10, 2010 6:25 AM Subject: Re: kern/141646: [em] em(4) + lagg(4) + vlan(4) generatesISL-tagged frames instead of 802.1q-tagged frames > ----- Original Message ----- > Since your using lagg there Jeff have you done on perf testing at > all, when I tested here dual em0 + lagg + lacp => cisco 6509 although > all seemed to negotiate correctly, balancing wasn't working at all. > So I'm wondering if you see the same behaviour or if its just me? Balancing depends on src/dst mac/ip. E.g. packets between different IPs are going thru different interfaces. It seems you are using iperf to generate traffic flow between IP1 and IP2 so this is wrong case. I've successfully patched 8.0-REL and it looks very happy with dot1q vlans on lagg. Here are my results based on regular Internet traffic. Env: FreeBSD agw3.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1: Tue Mar 9 09:53:53 KRAT 2010 root@local:/usr/obj/usr/src/sys/KERNEL i386 There are some vlans on lagg0: #ifconfig | grep vlan | grep lagg0 | wc -l 52 lagg0: flags=8843 metric 0 mtu 1500 options=9b ether 00:11:0a:5a:5e:5a media: Ethernet autoselect status: active laggproto lacp laggport: em3 flags=1c laggport: em2 flags=1c laggport: em1 flags=1c laggport: em0 flags=1c agw3# netstat -I lagg0 -w1 input (lagg0) output packets errs bytes packets errs bytes colls 24395 0 18251427 24390 0 18340400 0 37221 0 29695929 37091 0 29594257 0 agw3# netstat -I em0 -w1 input (em0) output packets errs bytes packets errs bytes colls 3432 0 1999523 5768 0 5191905 0 4381 0 2746333 6874 0 5656798 0 agw3# netstat -I em1 -w1 input (em1) output packets errs bytes packets errs bytes colls 7101 0 5874769 9932 0 8027032 0 7815 0 6604168 9525 0 7590696 0 agw3# netstat -I em2 -w1 input (em2) output packets errs bytes packets errs bytes colls 7857 0 6213003 7230 0 4975652 0 9461 0 7349928 7758 0 5474243 0 agw3# netstat -I em3 -w1 input (em3) output packets errs bytes packets errs bytes colls 7505 0 6013276 9584 0 7213921 0 7571 0 5920826 10285 0 7205087 0 ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.