From owner-freebsd-net@FreeBSD.ORG Wed Nov 23 14:43:38 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 032F816A41F for ; Wed, 23 Nov 2005 14:43:38 +0000 (GMT) (envelope-from ferdinand.goldmann@jku.at) Received: from emailsecure.uni-linz.ac.at (emailsecure.uni-linz.ac.at [140.78.3.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id E982643D62 for ; Wed, 23 Nov 2005 14:43:22 +0000 (GMT) (envelope-from ferdinand.goldmann@jku.at) Received: from [140.78.164.13] (jku006048.edvz.uni-linz.ac.at [140.78.6.48]) by emailsecure.uni-linz.ac.at (Postfix) with ESMTP id 80669228019 for ; Wed, 23 Nov 2005 15:43:16 +0100 (CET) Message-ID: <43848005.2000004@jku.at> Date: Wed, 23 Nov 2005 15:43:17 +0100 From: Ferdinand Goldmann Organization: Johannes Kepler University User-Agent: Thunderbird 1.4 (Macintosh/20050908) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: bge driver, how to increase performance? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ferdinand.goldmann@jku.at List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2005 14:43:38 -0000 Hello, I have a 3com 3c996-SX card running under FreeBSD 5.4-STABLE. Performance is quite ok so far, but interrupt load is very high. (Machine is working as a traffic shaping device/firewall) # vmstat -i interrupt total rate irq18: bge0 153244636 5014 irq27: fxp0 102056377 3339 Often, interrupt load will hit almost 100%. I guess the bge driver does not support polling, but I remember reading somewhere that it supports interrupt moderation? How would I enable this? On the em driver, this could be done via sysctl. Does anyone have hints on performance improvement concerning interrupt load? TIA -- >> Ferdinand Goldmann //// | | >> |--00 | UNIX | >> Tel. : +43/732/2468/9398 Fax. : +43/732/2468/9397 C ^ | | >> EMail: Ferdinand.Goldmann@zid.uni-linz.ac.at \ ~/ ~~~|~~~~~~~~ >> PGP D4CF 8AA4 4B2A 7B88 65CA 5EDC 0A9B FA9A 13EA B993| |-----3