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

Re: [Xen-users] The bottleneck of using multinetwork card?


  • To: Pasi Kärkkäinen <pasik@xxxxxx>
  • From: ma qiang <maqiang1984@xxxxxxxxx>
  • Date: Mon, 6 Sep 2010 14:44:59 +0800
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 05 Sep 2010 23:46:38 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=X2IGkw+AfGRKqgophlRpbrbHY97FJQW97WjBAGVzDvLVW1oWxYjwxlgEa/IkQ0QnV2 09oEnHoCgfZ5LheiruqFhGwcjYO25KenXtUHe4l9xj/5jbt56tT6jVk8+h9z8Kj9kL4V /hRV+RUHYGsKfLnfZF7J8W8htX9PU/wXOUrUc=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

> Do you mean 250 Mbit/sec ?
Yes.

> You should get much more.. how are you measuring the performance?
> What benchmark are you using?
I use an tool from ixia to test the network in the vm.

> Are both the eth0 and eth1 connected to the same network/vlan?
Yes.  I run my test from another computer to connect to vm0 and vm1,  and they all in the same switch.  
To be noted my cards are both 1000m network card.

> When you run the network benchmark try running "xm top"
> to monitor the overall cpu usage.. also run "top" in dom0
> to see if there's a big cpu usage in dom0.
No, the cpu is less than 20%

On Mon, Sep 6, 2010 at 2:08 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> On Mon, Sep 06, 2010 at 01:58:10PM +0800, ma qiang wrote:
>> Hi all,
>>     I have install xen 3.4.3 based on centos5.4.
>>     I changed a line in /etc/xen/xend-config.sxp like below:
>> (network-script network-bridge)   ---->    (network-script my-network-bridge)
>>
>> and #cat /etc/xen/scripts/my-network-script prints as below:
>> #!/bin/sh
>> /etc/xen/scripts/network-bridge "$@" netdev=eth0 bridge=eth0
>> /etc/xen/scripts/network-bridge "$@" netdev=eth1 bridge=eth1
>>
>> Now I installed two vms, and set one vm using eth0, then set the other
>> using eth1.
>> So, I can connect internet in both vms.
>>
>> But now my problem is that the throughput of two network card is the
>> same as only one network card.
>> Another words, If I use the only one network card such as eth0 for the
>> two vms, the throughput of eth0 is about 250m.
>> But when I set one vm use eth0 and the other use eth1, the total
>> throughput of eth0 and eth1 is about 250m too.
>>
>> That why?  Any bottleneck?
>> Thanks a lot.
>>
>
> Do you mean 250 Mbit/sec ?
>
> You should get much more.. how are you measuring the performance?
> What benchmark are you using?
>
> Are both the eth0 and eth1 connected to the same network/vlan?
>
> When you run the network benchmark try running "xm top"
> to monitor the overall cpu usage.. also run "top" in dom0
> to see if there's a big cpu usage in dom0.
>
> -- Pasi
>
>

_______________________________________________
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®.