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] Lots of udp (multicast) packet loss in domU

To: "'James Harper'" <james.harper@xxxxxxxxxxxxxxxx>, "'Mike Kazmier'" <DaKaZ@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Lots of udp (multicast) packet loss in domU
From: "Venefax" <venefax@xxxxxxxxx>
Date: Tue, 13 Jan 2009 16:12:53 -0500
Cc:
Delivery-date: Tue, 13 Jan 2009 13:15:06 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=gs8WBbRUW+XgBkeYycDJA17CxiE4WqhxXci9y8ZfhB0=; b=Z7Y7DKjGh2THKVZlyb8aYdFDgrwdIcFqkZ5bOF0BOSX13HuTmAA2y+ftlvIukPf+5O Hd37TtlSOk5ywdwG+0b8NVrYTKGcl5lK1boEBQlAq/rDLR2wR7l8tdGeeGnxYGQVf0ex eBA7ykP9SYdG9Khf0dLV69Itcm/InhEFBiYXo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=WMjmQL5kZ3wM5U9051tPdS4dJPhSiTaCmdWqyteeOzjeDo1OL+K6KUWL56CNfVyeC9 1IGTD0hJ8eA/rfAbaBMeUoswAD4JIMjnU3Hb9EKFFZ5ErCSkfjULZpwzAOeC1Ts1+n2Y HPCXe1HWkPmOnDOAdNODjHtNKcpV9tb3R1SWI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D0155032B@trantor>
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: <496be35c425e1_47963fe1f843db6c35c1@xxxxxxxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0155032B@trantor>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acl1F+4iNyUr11sAR/WLlfjUmzoPRgAADLbAACrVxbA=
I pinned one application to one processor and the quality jumped
dramatically. I wish to understand the second fix proposed by James. The
checksum offloading. What is that exactly? 

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of James Harper
Sent: Monday, January 12, 2009 7:52 PM
To: Mike Kazmier; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Lots of udp (multicast) packet loss in domU

> Hello,
> 
> After a few of us have spent a week google'ing around for answers, I
feel
> compelled to ask this question: how do I stop packet loss between my
dom0
> and domU?  We are currently running a xen-3.3.0 (and have tried with
xen-
> 3.2.1) on a Gentoo system with 2.6.18 kernel for both domU and dom0.
We
> have also tried a 2.6.25 kernel for dom0 with exactly the same
results.
> 
> The goal is to run our multicast processing application in a domU with
the
> BRIDGED configuration.  Note: we do not have any problem if we put the
> network interfaces into PCI Passthrough and use them exclusively in
the
> domU, but that is less than ideal as occasionally other domU's need to
> communicate with those feeds.
> 

Googling has probably already lead you to these tips but just in case:

Try 'echo 0 > bridge-nf-call-iptables' if you have't already. This will
stop bridged traffic traversing any of your iptables firewall rules. If
you are using ipv6 then also 'echo 0 > bridge-nf-call-ip6tables'

Another thing to try is turning off checksum offloading. I don't think
it is likely to make much difference but due to the little effort
required it's probably worthwhile. (ethtool -k to see what settings are
on, ethtool -K to modify them)

Also try pinning Dom0 and DomU to separate physical CPU's. Again I don't
think this is likely to make much difference but it's easy to test.

Please post back with what you try and what sort of difference it makes,
as I'm always on the lookout for ways to improve network performance.

James

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


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