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] Re: [quagga-users 10975] Re: Quagga on Xen - Latency / B

To: Robert Bays <robert@xxxxxxxxxx>
Subject: Re: [Xen-users] Re: [quagga-users 10975] Re: Quagga on Xen - Latency / Bandwidth?
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Thu, 30 Jul 2009 12:03:21 +0300
Cc: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>, sthaug@xxxxxxxxxx
Delivery-date: Thu, 30 Jul 2009 02:04:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A70CC9D.9060309@xxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <C1EAC9C5E752D24C968FF091D446D823458DE1@ALTERNATEREALIT> <20090729.111745.41655468.sthaug@xxxxxxxxxx> <4212B266-39EC-4265-B4D5-AD24A53D0839@xxxxxxxxxxxxxxxxxxxxxx> <4A70CC9D.9060309@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Wed, Jul 29, 2009 at 03:26:37PM -0700, Robert Bays wrote:
> 
> On 7/29/09 11:57 AM, Alexis Rosen wrote:
> > On Jul 29, 2009, at 5:17 AM, sthaug@xxxxxxxxxx wrote:
> >>> I was wondering if anyone is running Quagga on Xen? What is
> >>> throughput/latency like?
> >>
> >> This is a function of kernel forwarding performance. Quagga doesn't
> >> do forwarding.
> 
> At my company, we have done extensive testing of the forwarding
> performance of Linux vms on Xen.  We use Quagga as our routing suite,
> but as previously mentioned it has nothing to do with forwarding
> performance.  I removed the Quagga list from this thread to stop the
> cross post.
> 
> For testing we follow rfc2544.  To give you some representative numbers,
> we see anywhere between 100-150mbps zero loss throughput for
> bi-directional 64byte packet streams on a 3.0ghz Intel quad core
> processor.  This follows the typical bandwidth curve up to roughly
> 1.6gig for large packet sizes.  We are currently running a Linux 2.6.30
> pv_ops enabled kernel in the domU.  We have noticed that if we share a
> physical processor core with more than one vm we will take a roughly 2%
> hit to overall performance.  Interestingly, a third or fourth vm on the
> same core still only incurs the same 2% penalty.  Throughput is highly
> dependent on the system; i.e. processor model, motherboard chipsets, bus
> type and location of the card on the bus, etc...  Throughput also has a
> fairly high jitter factor.  The system can be tuned to mitigate the
> jitter, but at a loss of overall throughput and an average increase in
> latency.
> 

Interesting. Did you profile what limits the performance, or uses the cpu? 
Bridging in dom0? Xen? 

Are you familiar with the netchannel2 development stuff? 

> If the system is configured for PCI pass through, expect a much higher
> throughput.  It's more on the order of 650mbps zero-loss for
> bi-directional streams of small packet sizes.  HVM domUs aren't even
> worth using for networking.
> 

Yeah, PV guests are much easier, faster and stable for this purpose.

(and yeah I know you can use PV-on-HVM drivers on HVM domain).

-- Pasi

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users