[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: ma qiang <maqiang1984@xxxxxxxxx>
  • Date: Tue, 21 Sep 2010 14:02:08 +0800
  • Delivery-date: Mon, 20 Sep 2010 23:03:52 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.