From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 24 11:14:10 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6E6016A4CE for ; Sat, 24 Apr 2004 11:14:10 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 66C7F43D49 for ; Sat, 24 Apr 2004 11:14:10 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 87583 invoked from network); 24 Apr 2004 18:14:09 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 24 Apr 2004 18:14:09 -0000 X-pair-Authenticated: 209.68.2.70 Date: Sat, 24 Apr 2004 13:14:26 -0500 (CDT) From: Mike Silbersack To: GiZmen In-Reply-To: <20040424150050.GA93683@blurp.one.pl> Message-ID: <20040424131214.B5713@odysseus.silby.com> References: <20040424150050.GA93683@blurp.one.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: device pooling and high interrupts X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2004 18:14:11 -0000 On Sat, 24 Apr 2004, GiZmen wrote: > Hello, > > I am runnign freebsd 5.2.1 on 386 arch with two rl lan cards. My mainboard > is on VIA KT 266A with AMD athlon 1.1. > I read man polling and i have HZ=1000. My problem is that when i set up > sysctl variable kern.polling.enable=1 my interrupts greatly increase. > When my system is idle and indicate 0-1% interrupts with out polling. > and when i turn on polling interrupts goes up to about 20% on idle system. > Is it normal ? I never before use polling and i dont know that i have > something bad in my system ? > > Can somebody explain me this ? > > thx > -- > Best Regards: > GiZmen Ruslan can probably jump in and give you a better explanation than I can, but I'll try to provide a quick answer. In short, the rl cards + driver are not well suited to polling and will not work well with it enabled. Support for polling on rl may in fact be removed as a result of this. Mike "Silby" Silbersack