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-devel

RE: [Xen-devel] xen.git branch reorg

To: <bderzhavets@xxxxxxxxx>, "'Jeremy Fitzhardinge'" <jeremy@xxxxxxxx>, "'Christophe Saout'" <christophe@xxxxxxxx>
Subject: RE: [Xen-devel] xen.git branch reorg
From: "Venefax" <venefax@xxxxxxxxx>
Date: Sat, 25 Apr 2009 03:03:28 -0400
Cc: 'Xen-devel' <xen-devel@xxxxxxxxxxxxxxxxxxx>, 'Ian Campbell' <Ian.Campbell@xxxxxxxxxx>
Delivery-date: Sat, 25 Apr 2009 00:05:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:references :in-reply-to:subject:date:message-id:mime-version:content-type :x-mailer:thread-index:content-language; bh=7ho/U59FyPLZ87LjjXqRCStX9FMlHcrC7EsHis9nFb4=; b=eWlolWjOthanhQhnuTEY3p3kjxSpIBw6vUv4qdNOZ2Yt8WqthhTx8kWMigfAOULleX Ic80UMszhmboKWUN8E2qNSkzaL3iQ7Ao9vbTRrrDvnKiItkrYg4F2YQ7gIuv+zRf39CT GbbwF7bHm5m3UiLLaZFpQoCK9DxladToVzaKc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:x-mailer:thread-index:content-language; b=A40S1kjjfTLDZQNckk94Vh/u5AryqFvlQH98S9RNNnOCH3ADM5H/MS1lw8HICUjrGf ZHPqisWE4LVkzJJuJ8aE1oLc9G8t5/0xxzGrYb60CxVu8Bv3nhbYdXp9WfH/MhURGheI lENJg5hycQzZU5yfz28JlQu3wHIOeGPBaJucc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <724403.69764.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1240612762.1918.5.camel@xxxxxxxxxxxxxxxxxxxx> <724403.69764.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnFctqHLfaq3NNdSD6TntC4nzdztAAANx/A

What are the exact commands to turn off Segmentation Offload and Checksum Offload?

Also, should this be done only at Dom0 or also at DomU’s?

Is this correct or should it be “eth0”?

 

/usr/local/sbin/ethtool -K etho tx off

F.Alves

From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Boris Derzhavets
Sent: Saturday, April 25, 2009 2:55 AM
To: Jeremy Fitzhardinge; Christophe Saout
Cc: Xen-devel; Ian Campbell
Subject: Re: [Xen-devel] xen.git branch reorg

 

Chris,

I have to apologize. Turning off segmentation offloading may work as well.
Just now it fixed VNC issue on bare metal - CentOS 5.2 with Atansic Gigabit
Ethernet driver (ASUS P5KR) . I gonna try it at DomUs at my earliest convenience.

Boris.

--- On Fri, 4/24/09, Christophe Saout <christophe@xxxxxxxx> wrote:

From: Christophe Saout <christophe@xxxxxxxx>
Subject: Re: [Xen-devel] xen.git branch reorg
To: "Jeremy Fitzhardinge" <jeremy@xxxxxxxx>
Cc: bderzhavets@xxxxxxxxx, "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Ian Campbell" <Ian.Campbell@xxxxxxxxxx>
Date: Friday, April 24, 2009, 6:39 PM

Hi Jeremy,

> >  In meantime time i see,  that
 2.6.30-rc3&rc2&rc1-tip are
affected.
> > Solution is the same as on Solaris xVM Linux DomUs about one
> > year ago -  is  to disable checksum (nothing else) offloading at
Linux
> > DomUs ( CentOS 5.3, Ubuntu 9.04)
> >
> > /usr/local/sbin/ethtool -K etho tx off
>
> OK, that's a good lead.

Yes, I've been seeing this too (and meant to investigate it before
claiming there's abug) and I can confirm that turning off segmentation
offloading "cures" the problem here too.

Now the tcpdump on Dom0 looks interesting.  It repeatedly sees a packet
with 2880 byte from DomU coming in, which is then dropped and ICMP
"fragmentation needed" sent back, the DomU resends a 1440 byte packet
(after some delay), which then goes through, but then the next one is a
2880 byte one again, and so on.

FYI: My Dom0 is running NAT, in case this is relevant.


        Christophe



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

 

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