From owner-freebsd-current@FreeBSD.ORG Sun Nov 21 02:00:56 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D52CD16A4CE for ; Sun, 21 Nov 2004 02:00:56 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EA9443D5A for ; Sun, 21 Nov 2004 02:00:56 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id iAL20oLs075552; Sat, 20 Nov 2004 20:00:50 -0600 (CST) (envelope-from dan) Date: Sat, 20 Nov 2004 20:00:50 -0600 From: Dan Nelson To: "Bjoern A. Zeeb" Message-ID: <20041121020050.GB94473@dan.emsphone.com> References: <20041119114233.C43B.SHINO@fornext.org> <20041119185315.C43D.SHINO@fornext.org> <20041119120102.GM69710@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.3-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: Shunsuke SHINOMIYA cc: freebsd-current@freebsd.org cc: Jeremie Le Hen Subject: Re: interrupt moderation for if_* [was: serious networking (em) ...] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2004 02:00:57 -0000 In the last episode (Nov 20), Bjoern A. Zeeb said: > On Fri, 19 Nov 2004, Jeremie Le Hen wrote: > > > Hi, Jeremie, how is this? To disable Interrupt Moderation, > > > sysctl hw.em?.int_throttle_valve=0. > > > > Great, I would have called it "int_throttle_ceil", but that's a > > detail and my opinion is totally subjective. > > > > > However, because this patch is just made now, it is not fully tested. > > > > I'll give it a try this weekend although I won't be able to make > > performance mesurements. > > when thinking about this could there be some "global" way for > interrupt moderation; For if_sk there is this PR: > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/41220 > > something 'unique' to all NIC drivers would be good I guess ? You need NIC support for it, just like checksum offloading. And other drivers offer more sysctls; fxp lets you choose the maximum delay and maximum packets to hold before firing an interrupt. -- Dan Nelson dnelson@allantgroup.com