[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.
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |