From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 21 06:47:19 2003 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 04E5437B401 for ; Mon, 21 Apr 2003 06:47:19 -0700 (PDT) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7720C43F85 for ; Mon, 21 Apr 2003 06:47:18 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.8p1/8.12.3) with ESMTP id h3LDlIBp098338; Mon, 21 Apr 2003 06:47:18 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.8p1/8.12.3/Submit) id h3LDlHpd098337; Mon, 21 Apr 2003 06:47:17 -0700 (PDT) (envelope-from rizzo) Date: Mon, 21 Apr 2003 06:47:17 -0700 From: Luigi Rizzo To: Dirk-Willem van Gulik Message-ID: <20030421064717.B98117@xorpc.icir.org> References: <20030421130029.A29555-100000@foem.leiden.webweaving.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030421130029.A29555-100000@foem.leiden.webweaving.org>; from dirkx@webweaving.org on Mon, Apr 21, 2003 at 01:05:52PM +0200 cc: freebsd-hackers@freebsd.org Subject: Re: wi(4) - polling(4) changes / DEVICE_POLLING 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: Mon, 21 Apr 2003 13:47:19 -0000 if i remember well, the "wi" driver copies the packet from the card to the mbuf using programmed I/O. Switching to polling will just move the load under a different bucket (SYSTEM or IDLE instead of INTR) but not change the situation radically, and i doubt you will achieve significant performance improvements. This said i cannot think of issues in making wi polling-aware, as the polling code makes no assumptions on how the device works. cheers luigi On Mon, Apr 21, 2003 at 01:05:52PM +0200, Dirk-Willem van Gulik wrote: > > Is anyone actively working on making the polling(8) to the wi(4) driver ? > > As in www.wirelessleiden.nl we're seeing very significant (>80%) INTR > time spend when doing simple bridging from one wi(4) card to another on > the lower end motherboards (P1, slow P2's). > > And we have similarly seen that using DEVICE_POLLING on the sis(4) cards > in the same device would instantly drop sis0<->sis1 INTR time resources to > acceptible levels (and increase performance by almost a 2 fold). > > Or are there any fundamental issues with making wi(4) polling(4) aware ? > I.e. some specific firmware issues, etc ? > > Thanks ! > > Dw > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"