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

[Xen-devel] Strange network behaviour

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Strange network behaviour
From: Marco Tizzoni <marco.tizzoni@xxxxxxxxx>
Date: Tue, 28 Jul 2009 10:21:19 +0200
Delivery-date: Tue, 28 Jul 2009 01:22:14 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=VswD4SpCRWHj7F4QyWbSNs9F22y4CAfn5fG7/PnoiDE=; b=iyLmTB8BRsDeRgkaNuFPffc7wdQlfm7JpGRptjBSKQw7Ek7K+W+UCxDahY46Xisqpd e0IvZEK34c4cS+1LGhSpEFflIFAlManLKlFNuOflTJeMA948gxOxE7kHvTiHIUuKARit wv7i6WXHop69Joe64QOVZn4UbI4ifQHEszw0c=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type:content-transfer-encoding; b=Z+oLdnC/NSo6gOfktbWnUvb9FLjgaCxR8/z1+gPhg4+hN43cMLDXEFJ5iIPJN/nL2+ /0zz8GGfsL0wQ3qpY74+OAygOcX8NiDErMhNJ+BPBRQGpx6LDo2JuJK0ykbzMmbjlqBi 8dQfOqMwR+87yuc8ZHMvyqae9W/Gzy2jXoNtk=
Envelope-to: www-data@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi guys,
I'm doing some tests to understand how credit and sedf schedulers
perform on real-time systems in mixed io and cpu intesive
environments.
During my first test I saw a quite strange behaviour I'm going to describe.

The test has been setup as follow: 1 domain running Linux with default
scheduler setup and one bridged network. Here iperf run as a client
and sends udp packet to an host on the same net with 1Mb/s rate. Dom0
runs nothing except XenMon. Iperf (server mode) and a tcpdump run on a
non-virtualized host.

Measuring packets inter occurences, I'd expect to find out a costant
value because of the constant rate at which the packet are sent. It's
not so.
Let say the first packet arrives after 1ms, the second arrives after
3, the third after 4, the fourth after 6 and so on. The interoccurence
times are:
Packet#         Absolute Time        Interoccurence Time
 1                           1                            1
 2                           3                            2
 3                           4                            1
 4                           6                            2
 5                           7                            1
 6                           9                            2
...                          ....

I tried to shutdown domU and run iperf on dom0, same result.
The last test I made was run iperf on a non-virtualized environment.
And here I got the results I expect: constant interoccurence time.

Do  you have any idea of the reasong why the packet are sent with this
strange rate even if there are no other domains competiting for
resources?

Thaks,
Marco
On Xen the packet are sent, and then receive

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

<Prev in Thread] Current Thread [Next in Thread>