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] problems with csum

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] problems with csum
From: "[STD]Ein" <ein@xxxxxxxxxxxxxx>
Date: Mon, 16 Jun 2008 23:04:48 -0500
Delivery-date: Mon, 16 Jun 2008 21:03:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <OF5196D4B8.9F0D9DAB-ON8525746A.0075D26F-8525746A.007659A1@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/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: <OF5196D4B8.9F0D9DAB-ON8525746A.0075D26F-8525746A.007659A1@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjP+I+2jfZBinn7TbWtIjj6kWoCFQANoR7Q

This is a known problem with Xen, and has been broken for some time.  It is recommendable to disable tx checksum offloading in all pv domU’s.

 


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of David P Olshefski
Sent: June 16, 2008 4:33 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] problems with csum

 


After booting two VMs on two separate physical machines, all works fine, and I can execute iperf to obtain about 923Mbps over the Gb link which connects the two physical
hosts.

After applying a few simple iptable rules to perform DNAT and SNAT in dom0, the performance dropped to 500Kbps.....looking at the packet stream using ethereal, I found that
the packets had csum errors (hence lots of retransmissions).  The errors are in the TCP check sum (IP csum was fine).  

It seems like the problem goes away when I turn off csum offload inside the VM:

        domU>   ethtool -K eth0 tx off

Can anyone shed some light on this for me?

Dave O.

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