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

[Xen-users] problems with csum

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] problems with csum
From: David P Olshefski <olshef@xxxxxxxxxx>
Date: Mon, 16 Jun 2008 17:32:40 -0400
Delivery-date: Mon, 16 Jun 2008 14:33:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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>