From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 20 11:50:42 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 1865816A4CE for ; Thu, 20 Nov 2003 11:50:42 -0800 (PST) Received: from pear.silverwraith.com (66-214-182-79.la-cbi.charterpipeline.net [66.214.182.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CBDC43FA3 for ; Thu, 20 Nov 2003 11:50:41 -0800 (PST) (envelope-from avleen@pear.silverwraith.com) Received: from avleen by pear.silverwraith.com with local (Exim 4.24; FreeBSD) id 1AMup6-000HyU-Nv; Thu, 20 Nov 2003 11:50:40 -0800 Date: Thu, 20 Nov 2003 11:50:40 -0800 From: Avleen Vig To: Don Bowman Message-ID: <20031120195040.GH33548@silverwraith.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i Sender: Avleen Vig cc: freebsd-hackers@freebsd.org Subject: Re: Device polling, with SMP? 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: Thu, 20 Nov 2003 19:50:42 -0000 On Thu, Nov 20, 2003 at 12:58:58PM -0500, Don Bowman wrote: > > I read Luigi's paper at info.iet.unipi.it/~luigi/polling/ which at the > > end implies that DEVICE_POLLING on an SMP box might not make > > sense - but > > right now for me it would make sense as both CPU's are locked: > > One tries to handle interrupts > > The other tries to manage the application > > > > I could try forcing DEVICE_POLLING to compile as is suggested in that > > URL but I wanted to see if anyone had tried this before. > > The interface is an FXP. > > We use it on em. I just commented out the #error line that > says you can't do it. > device polling in idle doesn't work, and the user/system time > calculation isn't correct, but it works well otherwise. This is pretty much what I wanted to confirm thanks! In which way is the system/user time incorrect? Always, or only under high load? what about it is incorrect? My skills are limited but I might take a stab at fixing that. -- Avleen Vig Systems Administrator Personal: www.silverwraith.com EFnet: irc.mindspring.com (Earthlink user access only)