From owner-cvs-src@FreeBSD.ORG Thu Aug 24 05:06:21 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97D3516A4DD for ; Thu, 24 Aug 2006 05:06:21 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9727643D49 for ; Thu, 24 Aug 2006 05:06:18 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so503377pye for ; Wed, 23 Aug 2006 22:06:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=luN9tz4V9iFWzYck1G/eJEayXtUGhbpwLEl8KHedrFs3f670QctF+deFNGudPrOJ2nwBBpnNlx5LEFCAWUKzSOC3GHQO4+mGZVnthRFrTJAK7PThItkuVdLgw4P5Rw1ueCNMLX6X4CzrqOxCOAHn9fim2ld/FQLWDAjcaPowqHk= Received: by 10.35.41.14 with SMTP id t14mr2004421pyj; Wed, 23 Aug 2006 22:06:18 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id 16sm2036nzo.2006.08.23.22.06.14; Wed, 23 Aug 2006 22:06:17 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id k7O56Q3N023901 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Aug 2006 14:06:26 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k7O56MwI023900; Thu, 24 Aug 2006 14:06:22 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Thu, 24 Aug 2006 14:06:22 +0900 From: Pyun YongHyeon To: Stefan Bethke Message-ID: <20060824050622.GH22634@cdnetworks.co.kr> References: <200608220232.k7M2WmCr080275@repoman.freebsd.org> <20060822152333.GV96644@FreeBSD.org> <44EB220A.5000709@centtech.com> <20060822153210.GW96644@FreeBSD.org> <44EB2437.5070206@centtech.com> <20060822185313.GX96644@FreeBSD.org> <20060822190223.GB89314@hugo10.ka.punkt.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: src-committers@freebsd.org, "Patrick M. Hausen" , cvs-src@freebsd.org, cvs-all@freebsd.org, Gleb Smirnoff , Pyun YongHyeon Subject: Re: cvs commit: src/sys/dev/em if_em.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 05:06:21 -0000 On Wed, Aug 23, 2006 at 03:09:11PM +0200, Stefan Bethke wrote: > Am 22.08.2006 um 21:02 schrieb Patrick M. Hausen: > > >em interface, FTPing a large file while putting disk and cpu/memory > >load on the box -> occasional but easily reproducable complete hangs > >of network communication (ssh, ping - no reaction). Every time a > > > >em0: Missing Tx completion interrupt! > > > >is logged. > > I have no idea whether the effect I'm seeing is related at all, but > the description fits. If I load the CPU (make world -j4 or gzip -9 dev/random >/dev/null), traffic over re0 stops and I get > > Aug 22 09:30:20 diesel kernel: re0: watchdog timeout > Aug 22 09:30:20 diesel kernel: re0: link state changed to DOWN > Aug 22 09:30:23 diesel kernel: re0: link state changed to UP > Aug 22 09:30:35 diesel kernel: re0: watchdog timeout > Aug 22 09:30:35 diesel kernel: re0: link state changed to DOWN > Aug 22 09:30:39 diesel kernel: re0: link state changed to UP > > until I stop the CPU hog; then, it appears to be working fine again. > I've got two rl's in there as well, and they appear to be completely > unaffected. > Hmm... I guess it's not related with above fake watchdog timeout error. Because re(4) does not make use of Tx interrupt moderation by default, it might be other issue.(You need to define RE_TX_MODERATION to enable Tx interrupt moderation.) There is a WIP version at the following URL. http://people.freebsd.org/~yongari/re.link.patch -- Regards, Pyun YongHyeon