From owner-freebsd-net@FreeBSD.ORG Fri Jan 14 05:04:50 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A2071065670 for ; Fri, 14 Jan 2011 05:04:50 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail01.syd.optusnet.com.au (mail01.syd.optusnet.com.au [211.29.132.182]) by mx1.freebsd.org (Postfix) with ESMTP id BDE0D8FC1D for ; Fri, 14 Jan 2011 05:04:49 +0000 (UTC) Received: from c122-106-165-206.carlnfd1.nsw.optusnet.com.au (c122-106-165-206.carlnfd1.nsw.optusnet.com.au [122.106.165.206]) by mail01.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p0E54jxW011153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Jan 2011 16:04:45 +1100 Date: Fri, 14 Jan 2011 16:04:44 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Jack Vogel In-Reply-To: Message-ID: <20110114155704.D27511@besplex.bde.org> References: <20100729215649.GB2615@icir.org> <20110103210209.GA13091@icir.org> <4D2E66C4.5090607@greatbaysoftware.com> <4D2F20BB.5080204@greatbaysoftware.com> <4D2F71BE.2080801@greatbaysoftware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Charles Owens , Robin Sommer , freebsd-net Subject: Re: igb watchdog timeouts X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2011 05:04:50 -0000 On Thu, 13 Jan 2011, Jack Vogel wrote: > Polling has seemed to me to be a way around other problems, problems that > these days > no longer exist. I remember back in the FreeBSD 6 days having interrupt > problems which > of course also led to watchdogs. Polling got rid of that. But now there are > dedicated > MULTIPLE interrupts by using MSIX, so that reason for polling is gone. > > Of course there can still be advantages, reducing interrupts and hence > context switches, > which is why the Linux approach does what it does. Polling helps, if at all, mainly by reducing interrupts and otherwise dropping packets (or for tx, not sending packets promptly, so that the system doesn't become overloaded attempting to not drop packets and to send packets promptly, according to interrupts). The last thing an overloaded system wants is MORE interrupts to tell it that it is overloaded :-). Bruce