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

RE: [Xen-users] Xen with Multiple NIC as a logical router

To: "D.Kalogeras@xxxxxxxxxxx" <D.Kalogeras@xxxxxxxxxxx>
Subject: RE: [Xen-users] Xen with Multiple NIC as a logical router
From: "Fischer, Anna" <anna.fischer@xxxxxx>
Date: Mon, 23 Jun 2008 09:06:23 +0000
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 23 Jun 2008 02:07:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <485B96D6.6000509@xxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <485B96D6.6000509@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjSymIJ18Vel+gETCqrAYp4X2lRcACQ7W2A
Thread-topic: [Xen-users] Xen with Multiple NIC as a logical router
> -----Original Message-----
> From: xen-research-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-research-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Dimitrios Kalogeras
> Sent: 20 June 2008 12:39
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Cc: xen-research@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-research] Xen with Multiple NIC as a logical router
>
> Hi *,
>
> My sincere apologies for cross posting in the mailing lists.
>
> I am evaluating the case of using XEN as a logical router.
>
> http://www.cs.ucl.ac.uk/staff/M.Handley/papers/xen-vrouters.pdf
>
> In the conclusions section it is mentioned
>
> "  CPU saturation is a main feature of PC-based virtual routers, and
> that to avoid context switching overheads, the virtualization platform
> (e.g. Xen) so all forwarding is handled in the privileged domain. In
> other words, domUs should only host the control (slow) path of its
> associated virtual router, while the corresponding forwarding
> should be “migrated” to dom0. "
>
>
> I am considering the case to provide every DOMU a
> separate physical port. I know that this solution does not scale but do
> you believe that such a choice would limit the CPU overhead caused by
> the copying functionality between the DOMU and DOM0 ?

Sure, there are various ways to improve network performance and limit CPU 
overhead for DomUs. One would be to assign dedicated physical NICs to guest 
domains via pass-through as you suggest but the big problem is that you need a 
physical NIC per guest which is as you say not scaling very well. The next 
approach is to use virtualization-aware NICs that actually provide VNICs in 
hardware (PCI-SIG IOV). With that you can concurrently and directly access a 
single card from multiple guests. A third approach is to improve the 
performance of the inter-domain communication channels between DomU and Dom0 in 
Xen to reduce the CPU overhead for guest domain networking. There's currently 
work going on in all of those areas.

Regarding the virtual router approach there have been other reasons to leave 
the forwarding paths within a single domain instead of distributing them across 
multiple guests - those are also application-specific and not just performance 
related.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>