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

Re: [Xen-users] bad udp cksum by dns request in domU


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Nicholas Lee" <emptysands@xxxxxxxxx>
  • Date: Tue, 21 Feb 2006 12:27:13 +1300
  • Delivery-date: Mon, 20 Feb 2006 23:40:34 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ElYECqPIjAX74UvKQ7mrTMMyGauyDJlnHUOyXlj22cnXEMuvwoWqK8iAm+2tNC9Ry+NTwNnaydT/yRgF7EQcPOEvMfFe6UPzHocI4o7hYr1+/yiPrEX/TonN7aSaQETO4kIno2jIHZvkWRl+570g6DibqXXAZFoc/oEoMQPdluA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 04/02/06, Patrick Wolfe <pwolfe@xxxxxxxxxxxxxx> wrote:
> On Fri, 2006-02-03 at 12:51 +0100, Nadja Kick wrote:
> > try: ethtool -K eth0 tx off in domU.
>
> This is also needed in dom0!  I edited /etc/xen/scripts/network-bridge,
> adding this command to the end of the op_start() function:
>
>         add_to_bridge2 ${bridge} ${pdev}
>         do_ifup ${netdev}
> +       # disable ip checksum offloading for veth device
> +       ethtool -K ${netdev} tx off

Maybe this is a better patch, as ethtool is not installed by default.
Although maybe it should for xen installs.

        [ -x /usr/sbin/ethtool ] && /usr/sbin/ethtool -K ${netdev} tx off

I'm wondering if these are virutal devices created by the Xen kernel,
why checksum offloading is not turned off by default for all virtual
veth/vif devices. Both for host0 and all domains. Seems better to have
things work for everyone, and point people at optimisation paths. Than
optimise and better things uncertainly. Especially when there is not
clear (well orgranised) documenation.

I'm noting 
http://wiki.xensource.com/xenwiki/XenFaq#head-4ce9767df34fe1c9cf4f85f7e07cb10110eae9b7,
which should be http://wiki.xensource.com/xenwiki/KnownIssues and also
isn't very instructive.

Also KnownIssues should live on the Wiki homepage with a clear pointer.

--
Nicholas Lee
http://stateless.geek.nz
gpg 8072 4F86 EDCD 4FC1 18EF  5BDD 07B0 9597 6D58 D70C

_______________________________________________
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®.