From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 21 16:36:31 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 B63EC37B401 for ; Mon, 21 Apr 2003 16:36:31 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id E733F43FBD for ; Mon, 21 Apr 2003 16:36:30 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h3LNaIA7028105; Mon, 21 Apr 2003 17:36:18 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 21 Apr 2003 17:35:59 -0600 (MDT) Message-Id: <20030421.173559.43009491.imp@bsdimp.com> To: rizzo@icir.org From: "M. Warner Losh" In-Reply-To: <20030421064717.B98117@xorpc.icir.org> References: <20030421130029.A29555-100000@foem.leiden.webweaving.org> <20030421064717.B98117@xorpc.icir.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 23:36:32 -0000 In message: <20030421064717.B98117@xorpc.icir.org> Luigi Rizzo writes: : 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. The wi driver does use PIO to move the data from the cards to memory. Newer PCI and mini-pci cards support using DMA to do this, but there's no support for that in the driver at the moment. The wi cards are just damn expensive to talk to :-(. Warner