[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] problems with csum


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "[STD]Ein" <ein@xxxxxxxxxxxxxx>
  • Date: Mon, 16 Jun 2008 23:04:48 -0500
  • Delivery-date: Mon, 16 Jun 2008 21:03:22 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.