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

RE: [Xen-users] Multiple NIC and ports in XEN source and XEN enterprise


  • To: "'Fischer, Anna'" <anna.fischer@xxxxxx>
  • From: "Venefax" <venefax@xxxxxxxxx>
  • Date: Tue, 24 Jun 2008 09:15:19 -0400
  • Cc: D.Kalogeras@xxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 24 Jun 2008 06:15:56 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :thread-index:content-language; b=E66VG0C3bTNWBhTBVV7FIHdQ6Y4q8v6Yk2ItnJalOnCwoKVfQuK4kTBTClSkcb9Lfv oNKL4v8tc1m0pkeonkIx/WMwQ4bOr3zT0GV3TDi0kNduDiV4yrRnw/8Kx73Pi5Rh/x9g Yy2GFAs2DnUgGAUXmHGTKaFSmdU9sONpunF94=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcjSzRNf0G5sQ8zDRAiNrvi8vzO75QCP1dOAAAUpYCAAK1Ai0AALahUA

The situation is this: I have one VM with IP x.x.x.25, and another VM with
IP y.y.y.45
When I ping one from the other, the packets take 8 ms, because they go out
to the internet and come back. How can I ask Xen to recognize that the
target IP is sitting next on a VM do not send the packets to the default
gateway? Does this make sense?



-----Original Message-----
From: Fischer, Anna [mailto:anna.fischer@xxxxxx] 
Sent: Tuesday, June 24, 2008 4:03 AM
To: Venefax
Cc: D.Kalogeras@xxxxxxxxxxx; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Multiple NIC and ports in XEN source and XEN
enterprise

> From: Venefax [mailto:venefax@xxxxxxxxx]
> Sent: 23 June 2008 12:12
> To: Fischer, Anna; D.Kalogeras@xxxxxxxxxxx
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] Multiple NIC and ports in XEN source and XEN
> enterprise
>
> I decided to assign a physical NIC to every DOMU, to minimize
> bottleneck,
> since my app is a telephony softswitch, and depends on network IO. I
> have 8
> NICS in the box and 8 softswitches.
>
> The question is, how can I do that?

A basic solution would be to create a bridge per physical NIC and then
connect the DomUs to those bridges. You could also use PCI passthrough - in
that case only the DomU would have access to the NICs and you would not see
any traffic in Dom0.

> Also, is there a way to measure the
> network IO that each domu is generating, using dom0. I mean, without
> installing any software on domu's, only by looking at dom0?
> I have also heavy network traffic between domu's. How can I optimize
> that?
> Some of the domu's are in different networks, and I noticed that the
> packets
> go out on the internet and come back, which is ridiculous.

Not quite sure what you mean here... If you only do bridging in Dom0 and
your VMs are on different networks then packets may need to go out of Dom0
in order to route them. But that depends on how you network is set up, it is
not a Xen issue. What setup do you run in your Dom0? Do you use the bridge?

> How can that
> path
> be shortened? I imagined that since the mac addresses are local, XEN
> would
> be able to send it directly to the destination, is that even possible?

Yes, for example, if all your guests are on the same networks then the
bridge would pass them directly to the correct destination. If you need to
have the guests on different networks then you could do routing in Dom0.

> Finally, what brands are there for Virtualization-aware NICs? Maybe I
> will
> buy one.

For example: Neterion X3100, Solarflare Solarstorm, Mellanox ConnectX EN.


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