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-devel

Re: [Xen-devel] Sending packet at fixed rate really bad performance

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Sending packet at fixed rate really bad performance
From: Marco Tizzoni <marco.tizzoni@xxxxxxxxx>
Date: Mon, 28 Sep 2009 18:28:04 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 28 Sep 2009 09:28:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type; bh=zQD3WedN0M9YEPB5AESGHkC1MPVd7kPJdZ1Aza2bEZA=; b=aB8ChnXxb1REnMXckcVQWHN3NdG3gDqIR8bdfdcczuxte7ZiEVceLopgvBz90TZm7G NRWLoJbqQzwvWvVxDHwrbVGqF7kJGIkfDrLAumb14gXhGsBJpuKW7JeeML6dWiuqGWuQ lcVAAQIKHYgKwPOCSggbIxM4dmZk46MCwaUCI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=ixAiNPS3FZk2T8m2oYVUEFdYbJ+/emkM2onAMgWnbPjAFu3gHzVO6UPhilCh4DN84H sn5Eh3bHk+8IMw2asH4HGw2lZokIlHnnh5ggr114SbYvDUuRs7XXLywFX8wCuaLUIiMY D6lvMZZmdMmIrBMtEJAgkhqxlaZpKwr4Hinvg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090928141731.GA7107@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f9611b0f0909271026r2a91187fl71ed8673a5ca22d9@xxxxxxxxxxxxxx> <20090928141731.GA7107@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Sep 28, 2009 at 4:17 PM, Konrad Rzeszutek Wilk
<konrad.wilk@xxxxxxxxxx> wrote:
> Lets narrow this down a bit.  You are comparing two different systems
> with potentially different interfaces. Lets concentrate on one machine
> first. Is the performance on your Athlon 64 without Xen (meaning you
> boot without Xen) in the same ball-park figure?
> I want to make sure we can eliminate the hardware being at fault here.

I've already done many tests to isolate the problem before writing here.
I've tried to use a different nic, different LAN, different switch and
loopback as well, same results.
Anyway forget aboout Athlon and let compare the same software, on the
same hardware with linux and xenolinux.

I've connected two pc running linux via a cross-cable and made some
tests. The test achieves good results in this case for rate over 10k
packets/second.
On xenolinux (credit and sedf behaviour the same) the performance are
really bad, 250 packets/second (as before).

Also I've just modified my software to not send packets, but simply
count, so no sendto() is involved. Same low rate.

May be there's something wrong in my code (not yet finished). Attached
you can find it if you want have a look or try to reproduce this
issue.

thx,
Marco

Attachment: main.c.gz
Description: GNU Zip compressed data

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