From owner-freebsd-net Fri Oct 18 10:18: 4 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4806737B401; Fri, 18 Oct 2002 10:18:03 -0700 (PDT) Received: from carp.icir.org (carp.icir.org [192.150.187.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFEC943EAC; Fri, 18 Oct 2002 10:18:02 -0700 (PDT) (envelope-from rizzo@carp.icir.org) Received: from carp.icir.org (localhost [127.0.0.1]) by carp.icir.org (8.12.3/8.12.3) with ESMTP id g9IHI2pJ082828; Fri, 18 Oct 2002 10:18:02 -0700 (PDT) (envelope-from rizzo@carp.icir.org) Received: (from rizzo@localhost) by carp.icir.org (8.12.3/8.12.3/Submit) id g9IHI2tO082827; Fri, 18 Oct 2002 10:18:02 -0700 (PDT) (envelope-from rizzo) Date: Fri, 18 Oct 2002 10:18:02 -0700 From: Luigi Rizzo To: David Miller Cc: Attila Nagy , "Kenneth D. Merry" , Christopher Smith , hardware@FreeBSD.ORG, net@FreeBSD.ORG Subject: Re: High interrupt load on firewalls Message-ID: <20021018101802.A82792@carp.icir.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from dmiller@search.sparks.net on Fri, Oct 18, 2002 at 12:59:27PM -0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Oct 18, 2002 at 12:59:27PM -0400, David Miller wrote: > On Wed, 9 Oct 2002, Attila Nagy wrote: > > With a dc ethernet card and ~45K packets per second, an XP1700 system went > from > 50% interrupt to < 1%. I was astounded at the change! that is partly cheating, because with polling, some of the work which was done in an interrupt context is done elsewere. Still you might have some significant load reduction, i admit :) > If all it takes to get Gb interfaces polling is to send Luigi a card then > he needs to send me his shipping address:) all it takes is to look at the source code in some of the supported cards -- the changes are clearly marked by #ifdef DEVICE_POLLING/#endif blocks and are rather trivial in most cases (not all of them, 'fxp' was particularly tricky to get right!). cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message