From owner-freebsd-stable@FreeBSD.ORG Wed Apr 11 10:24:10 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 315D516A401 for ; Wed, 11 Apr 2007 10:24:10 +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 D863913C448 for ; Wed, 11 Apr 2007 10:24:09 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so111595pyh for ; Wed, 11 Apr 2007 03:24:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=dPnzgIh1qfjci/fWpbbBZUkHa0erDrTAS8umxffSf4bhI60OFsh3OnoiVwg7BvB2WugnS96rrlJlfaJAEVX1e+iiz5rQts5o84F0VmYUe+KG3U5Ob5S8Az3cGSZ55QG/MKdcPFNiZKm1yHLug/QulIZbV0nFeNJp0k6IazP5Sdc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=nvyxgPp/iHcEwFrBOoQPzPH4Oid/a/hMtW0qNEbFH5o9oE5q3bC8Fcgrdm1FIB2o0OmEvRzrZRAz8j2de1cH9XZ61/90C51/HKYUw4/zFBF2brKxzMlVwqMLeVeaQS2bSXZwbtgIKAbDAUuSSpKTkNbwy2cjsAOr8bcl3xlIO3c= Received: by 10.65.159.2 with SMTP id l2mr1095126qbo.1176287049172; Wed, 11 Apr 2007 03:24:09 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id 15sm10082021nzn.2007.04.11.03.24.02; Wed, 11 Apr 2007 03:24:06 -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 l3BANKKQ001776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Apr 2007 19:23:20 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l3BANJT7001775; Wed, 11 Apr 2007 19:23:19 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 11 Apr 2007 19:23:19 +0900 From: Pyun YongHyeon To: Stefan Lambrev Message-ID: <20070411102319.GC1065@cdnetworks.co.kr> References: <20060327093011.GA21070@math.jussieu.fr> <200603280747.55047.joao@matik.com.br> <20070410042415.GA50510@duncan.reilly.home> <200704100954.20900.joao@matik.com.br> <461CA204.9030700@sun-fish.com> <20070411090617.GB1065@cdnetworks.co.kr> <461CB2D8.7040303@sun-fish.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <461CB2D8.7040303@sun-fish.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: watchdog network card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 10:24:10 -0000 On Wed, Apr 11, 2007 at 01:05:12PM +0300, Stefan Lambrev wrote: > Hi, > > -cut- > > > I thought getting latest nfe source will help but it doesn't. > > > > > > -cut- > > > > > > nfe0: watchdog timeout (missed Tx interrupts) -- recovering > > > > > > >According to the above message, it seems that you use new nfe(4). :-) > > > Yes this is is with latest nfe, but I've got watchdog timeouts with > previous version of this driver too. Without polling(4) on shared interrupt system it's expected one. > > > interrupt total rate > > > irq1: atkbd0 6660 0 > > > irq12: psm0 153054 0 > > > irq15: ata1 778797 1 > > > irq16: pcm0 2735727 7 > > > irq17: skc0 115669786 296 > > > irq18: nvidia0 24802500 63 > > > irq21: ohci0+ 2418887 6 > > > irq22: nfe0 ehci0 92319117 236 > > ^^^^^^^^^^ > >You are using shared interrut so it's possible to get occasional > >watchdog timeouts. polling(4) should fix your issue here. > > > I'll try this, and test :), It wasn't hard to generate generate watchdog > timeout. > But isn't polling bad under heavy load and busy CPU(s) ? Could be. YMMV. You couldn't also get best performance if interrupt is shared with other devices. > > > > cpu0: timer 780827522 2000 > > > Total 1019712050 2612 > > > > > > FreeBSD 6.2-STABLE i386 > > > > > > nfe0: port 0xb000-0xb007 > > > mem 0xd5000000-0xd5000fff irq 22 at device 10.0 on pci0 > > > > > > >nfe(4) should be teached to use MSI/MSI-X for PCI-Express/PCI-X based > >adapters but it's not done yet. > > > > > > -- Regards, Pyun YongHyeon