WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] problem about using multiple network cards in Xen 3.4.3, ag

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] problem about using multiple network cards in Xen 3.4.3, again.
From: ma qiang <maqiang1984@xxxxxxxxx>
Date: Tue, 21 Sep 2010 14:02:08 +0800
Delivery-date: Mon, 20 Sep 2010 23:03:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=DrpIp4Wjn1QXgbOso1E6OUsK5QC288x+MKP7PPL5x6E=; b=jTMOl4L8wQoAUuOJxuy4lapvaG5+7u+udsmBHkYzMl1rFtbSSWxO55FGYSyaGknwHK 0pgTXjFFoL2rItCh/AoSvNvLOTv0AgoEH6fhy7HjzzENyzkziNoC2cTAdL3cN3XuLHZW XD+0ibYJtc5iBrTKv5pozXCDB+LSyVj02QxHM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=CEehL7WpkH2orjTppleCkDz5V/e59C6pFoWKqHkUgho9LjIqzyPIiZ7tmRhklmVq1C 8cGMkTxHm+xzTjglEsSWHjdkkdV035EvGp4kzikYTgbfuk+qW7mXsE0sW/+9I8g1I6qI V4JbyhrRm1bnkDIhFrK0fh58iA2LG6j02dts0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,  
     I have asked some questions about network several day ago. Now this is my latest question. Thanks again.

this is how I config my physical machine:

====================begin of config===================================

#vi /etc/xen/scripts/multi-network-bridge

append:

#!/bin/sh

/etc/xen/scripts/network-bridge "$@" netdev=eth0 bridge=eth0

/etc/xen/scripts/network-bridge "$@" netdev=eth1 bridge=eth1

 

# chmod +x /etc/xen/scripts/multi-network-bridge

 

#vi /etc/xen/xend-config.sxp

 

change

(network-script network-bridge)

to

(network-script multi-network-bridge)

 

#service xend restart

======================end of config====================================

while I execute "ethtool peth0", I get information as follows:

Settings for peth0:

        Supported ports: [ TP ]

        Supported link modes:   10baseT/Half 10baseT/Full

                                100baseT/Half 100baseT/Full

                                1000baseT/Full

        Supports auto-negotiation: Yes

        Advertised link modes:  10baseT/Half 10baseT/Full

                                100baseT/Half 100baseT/Full

                                1000baseT/Full

        Advertised auto-negotiation: Yes

        Speed: 1000Mb/s

        Duplex: Full

        Port: Twisted Pair

        PHYAD: 1

        Transceiver: internal

        Auto-negotiation: on

        Supports Wake-on: g

        Wake-on: d

        Link detected: yes

 

this seems pretty normal. but the peth1 is not as good. when I execute "ethtool peth1", I got:

Supported ports: [ TP ]

        Supported link modes:   10baseT/Half 10baseT/Full

                                100baseT/Half 100baseT/Full

                                1000baseT/Full

        Supports auto-negotiation: Yes

        Advertised link modes:  10baseT/Half 10baseT/Full

                                100baseT/Half 100baseT/Full

                                1000baseT/Full

        Advertised auto-negotiation: Yes

        Speed: Unknown! (65535)   ###########################

        Duplex: Unknown! (255)    ###########################

        Port: Twisted Pair

        PHYAD: 1

        Transceiver: internal

        Auto-negotiation: on

        Supports Wake-on: g

        Wake-on: d

        Link detected: no        ###########################

                  

these lines ending with "###" is what I believe is abnormal.

 

then I created a domainU with two network cards:

vif=[ 'type=ioemu, mac=00:16:3E:63:7B:F4,  bridge=eth0', 'type=ioemu, mac=00:16:3E:7F:B6:A3,  bridge=eth1' ]

 

and then I made a network performance test on the domainU, and I found out the best performance the domainU could reach is 1000Mb/s( I mean, eth0 + eth1 = 1000Mb/s). But I was expecting the sum should be 2000Mb/s, that is, eth0=1000Mb/s, eth1=1000Mb/s, if you know what I mean.

 

from my own point of view, I believe it is because of the wrong configuration of peth1, based on the fact that the result of "ethtool peth1" is abnormal.

 

so is there anybody could shed some light on this? I need to solve this problem so badly. Thanks a lot!

 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] problem about using multiple network cards in Xen 3.4.3, again., ma qiang <=