From mboxrd@z Thu Jan 1 00:00:00 1970 From: Date: Mon, 22 Feb 2010 17:04:43 +0100 Message-ID: In-Reply-To: <2e59e6971002211647r10f229b2l25b5dd68e397dfff@mail.gmail.com> Content-Language: en Content-Type: multipart/alternative; boundary="_000_C7A8154B1201jamescardnokiacom_" MIME-Version: 1.0 Subject: [Bridge] Slow receive side on bridge List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: bridge@lists.linux-foundation.org --_000_C7A8154B1201jamescardnokiacom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a CentOS 5.4 distro running Xen on top of a Linux bridge (set up by = Xen). I have noticed by using iPerf in bidirectional mode that the traffic= going into the server running the bridge is quite a bit slower with the br= idge enabled than when it isn't. The HW is a multiblade setup (8 blades e= ach running CentOS 5.x). On one of the blades, I shut down Xen and initial= ly run with the bridge shut down and transferred a file from another machin= e using scp. I then started up the bridge and transferred the same file an= d you can see below there is a big difference (3.6MB/s vs 23.2KB/s). I sto= pped Xen before doing the following... Any help on where to look would be helpful. I was going to shut down all b= ut one blade to see if it could be a lack of STP causing issues. -- Xen bridge initially shut down [root@bsbchp003 ~]# brctl show bridge name bridge id STP enabled interfaces virbr0 8000.000000000000 yes -- transfer the 3.7GB file [root@bsbchp003 ~]# scp card@harvard:bigfile . bigfile = = 100% 3685KB 3.6MB/s 00:00 -- start the bridge [root@bsbchp003 ~]# /etc/xen/scripts/network-bridge start net.bridge.bridge-nf-call-arptables =3D 0 net.bridge.bridge-nf-call-ip6tables =3D 0 net.bridge.bridge-nf-call-iptables =3D 0 Nothing to flush. Nothing to flush. Waiting for peth0 to negotiate link..[root@bsbchp003 ~]# -- the Xen bridge is now up [root@bsbchp003 ~]# brctl show bridge name bridge id STP enabled interfaces virbr0 8000.000000000000 yes xenbr0 8000.feffffffffff no peth0 vif0.0 [root@bsbchp003 ~]# scp card@harvard:bigfile . bigfile = = 100% 3685KB 23.2KB/s 02:39 [root@bsbchp003 ~]# --_000_C7A8154B1201jamescardnokiacom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Slow receive side on bridge Hi,

I have a CentOS 5.4 distro running Xen on top of a Linux bridge (set up by = Xen).  I have noticed by using iPerf in bidirectional mode that the tr= affic going into the server running the bridge is quite a bit slower with t= he bridge enabled than when it isn’t.   The HW is a multibl= ade setup (8 blades each running CentOS 5.x).  On one of the blades, I= shut down Xen and initially run with the bridge shut down and transferred = a file from another machine using scp.  I then started up the bridge a= nd transferred the same file and you can see below there is a big differenc= e (3.6MB/s vs 23.2KB/s).  I stopped Xen before doing the following...<= BR>
Any help on where to look would be helpful.  I was going to shut down = all but one blade to see if it could be a lack of STP causing issues.

-- Xen bridge initially shut down

[root@bsbchp003 ~]# brctl show
bridge name    bridge id       = ; STP enabled    interfaces
virbr0        8000.000000000000  &n= bsp; yes

-- transfer the 3.7GB file
        
[root@bsbchp003 ~]# scp card@harvard:bigfile .
bigfile            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;           100% 36= 85KB   3.6MB/s   00:00    

-- start the bridge

[root@bsbchp003 ~]# /etc/xen/scripts/network-bridge start
net.bridge.bridge-nf-call-arptables =3D 0
net.bridge.bridge-nf-call-ip6tables =3D 0
net.bridge.bridge-nf-call-iptables =3D 0
Nothing to flush.
Nothing to flush.
Waiting for peth0 to negotiate link..[root@bsbchp003 ~]#

-- the Xen bridge is now up

[root@bsbchp003 ~]# brctl show
bridge name    bridge id       = ; STP enabled    interfaces
virbr0        8000.000000000000  &n= bsp; yes        
xenbr0        8000.feffffffffff  &n= bsp; no        peth0
            &nb= sp;            =    vif0.0
[root@bsbchp003 ~]# scp card@harvard:bigfile .
bigfile            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;           100% 36= 85KB  23.2KB/s   02:39    
[root@bsbchp003 ~]#
--_000_C7A8154B1201jamescardnokiacom_--