From owner-freebsd-net@FreeBSD.ORG Sat Nov 26 10:33:14 2005 Return-Path: X-Original-To: freebsd-net@FreeBSD.org 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 64EB316A41F for ; Sat, 26 Nov 2005 10:33:14 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id F422E43D72 for ; Sat, 26 Nov 2005 10:33:07 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id jAQAX6GG072586 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 26 Nov 2005 13:33:06 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id jAQAX5tl072585; Sat, 26 Nov 2005 13:33:05 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Sat, 26 Nov 2005 13:33:05 +0300 From: Gleb Smirnoff To: Ferdinand Goldmann Message-ID: <20051126103305.GA25711@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , Ferdinand Goldmann , freebsd-net@freebsd.org References: <43848005.2000004@jku.at> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <43848005.2000004@jku.at> User-Agent: Mutt/1.5.6i Cc: freebsd-net@FreeBSD.org Subject: Re: bge driver, how to increase performance? 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: Sat, 26 Nov 2005 10:33:14 -0000 On Wed, Nov 23, 2005 at 03:43:17PM +0100, Ferdinand Goldmann wrote: F> I have a 3com 3c996-SX card running under FreeBSD 5.4-STABLE. F> Performance is quite ok so far, but interrupt load is very high. F> (Machine is working as a traffic shaping device/firewall) F> F> # vmstat -i F> interrupt total rate F> irq18: bge0 153244636 5014 F> irq27: fxp0 102056377 3339 F> F> Often, interrupt load will hit almost 100%. I guess the bge driver does not F> support polling, but I remember reading somewhere that it supports F> interrupt moderation? How would I enable this? On the em driver, this could F> be done via sysctl. Does anyone have hints on performance improvement F> concerning interrupt load? It supports polling(4) in RELENG_6. (6.0-RELEASE is not enough) -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE