Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2010 16:51:51 -0000
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Vitaliy Ovsyannikov" <v.ovsyannikov@kr.ru>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: kern/141646: [em] em(4) + lagg(4) + vlan(4) generatesISL-tagged frames instead of 802.1q-tagged frames
Message-ID:  <7B92D565777F40B7B2AC7D25B6465F6A@multiplay.co.uk>
References:  <201001291920.o0TJKAw9005498@freefall.freebsd.org><2a41acea1001291447n5852f5b4h193d3ad6dff9faac@mail.gmail.com> <20100129235911.GA67110@mr-happy.com> <398DD47A113342D78637D600C0C4C47B@multiplay.co.uk> <1036623459.20100310132532@kr.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <v.ovsyannikov@kr.ru>
To: "Steven Hartland" <killing@multiplay.co.uk>
Cc: "FreeBSD Net" <freebsd-net@freebsd.org>
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether 00:11:0a:5a:5e:5a
        media: Ethernet autoselect
        status: active
        laggproto lacp
        laggport: em3 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
        laggport: em2 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
        laggport: em1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
        laggport: em0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>

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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7B92D565777F40B7B2AC7D25B6465F6A>