From owner-freebsd-stable@FreeBSD.ORG Thu Apr 9 09:02:07 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11BFB10656DF for ; Thu, 9 Apr 2009 09:02:07 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from alpha-tierchen.de (alpha-tierchen.de [88.198.145.202]) by mx1.freebsd.org (Postfix) with ESMTP id C84DA8FC22 for ; Thu, 9 Apr 2009 09:02:06 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from webmail.alpha-tierchen.de (alpha-tierchen.de [88.198.145.202]) by alpha-tierchen.de (Postfix) with ESMTP id 0AFF72391C7; Thu, 9 Apr 2009 11:02:06 +0200 (CEST) Received: from 212.202.40.56 (SquirrelMail authenticated user bkoenig) by webmail.alpha-tierchen.de with HTTP; Thu, 9 Apr 2009 11:02:06 +0200 (CEST) Message-ID: In-Reply-To: <20090409072309.GF37714@michelle.cdnetworks.co.kr> References: <70ba25e4f1a5e43ab8d99b361235dda2.squirrel@webmail.alpha-tierchen.de> <20090409000427.GD37714@michelle.cdnetworks.co.kr> <2f68678165f20f2e1dae10cb0e63761d.squirrel@webmail.alpha-tierchen.de> <20090409072309.GF37714@michelle.cdnetworks.co.kr> Date: Thu, 9 Apr 2009 11:02:06 +0200 (CEST) From: "Bjoern Koenig" To: pyunyh@gmail.com User-Agent: SquirrelMail/1.4.17 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: stable@freebsd.org Subject: Re: fxp: stalled transfers X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2009 09:02:07 -0000 pyunyh@gmail.com wrote: > If you can easily reproduce the issue, can you capture stalled TCP > session with tcpdump on receiving host?(Make sure to disable Rx > checksum offload prior to capturing the session.) I transferred a 256 kiB file and these are the tcpdumps: http://www.alpha-tierchen.de/~bkoenig/fxp0-with-tso.txt http://www.alpha-tierchen.de/~bkoenig/fxp0-without-tso.txt Actually the transfer doesn't stall although ftp and scp told me so. It becomes incredibly slow. It seems like that the chunks are too large and a smaller packet will be resent. I decreased the MTU from 1500 to 1492 and it works fine with TSO enabled. I also captured the traffic on my router: http://www.alpha-tierchen.de/~bkoenig/fxp0-with-tso-router.txt http://www.alpha-tierchen.de/~bkoenig/fxp0-without-tso-router.txt It reveals a suspect information: "truncated-ip - 8 bytes missing!" I almost suppose that this is a PPPoE-related configuration issue and the fxp driver is not necessarily the problem since decreasing the MTU of the LAN host solves it. Björn