From owner-freebsd-performance@FreeBSD.ORG Thu Oct 21 13:56:50 2004 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED08316A4CE for ; Thu, 21 Oct 2004 13:56:50 +0000 (GMT) Received: from adsl-68-76-19-75.dsl.klmzmi.ameritech.net (adsl-68-76-19-75.dsl.klmzmi.ameritech.net [68.76.19.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18FA343D39 for ; Thu, 21 Oct 2004 13:56:50 +0000 (GMT) (envelope-from luke@foolishgames.com) Received: from [192.168.0.51] (24.176.8.69.kzo.mi.chartermi.net [24.176.8.69]) (authenticated bits=0)ESMTP id i9LDukJI051972; Thu, 21 Oct 2004 09:56:47 -0400 (EDT) (envelope-from luke@foolishgames.com) X-Authentication-Warning: adsl-68-76-19-75.dsl.klmzmi.ameritech.net: Host 24.176.8.69.kzo.mi.chartermi.net [24.176.8.69] claimed to be [192.168.0.51] Message-Id: <0A85B89D-2369-11D9-BD7C-000A95EFF4CA@foolishgames.com> X-Habeas-Swe-6: email in exchange for a license for this Habeas X-Habeas-Swe-3: like Habeas SWE (tm) Date: Thu, 21 Oct 2004 09:56:43 -0400 X-Habeas-Swe-8: Message (HCM) and not spam. Please report use of this From: Lucas Holt X-Habeas-Swe-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-Swe-2: brightly anticipated In-Reply-To: <20041020133406.V79820@walter> References: <20041020133406.V79820@walter> To: Jason Stone X-Habeas-Swe-7: warrant mark warrants that this is a Habeas Compliant Mime-Version: 1.0 (Apple Message framework v619) X-Habeas-Swe-4: Copyright 2002 Habeas (tm) Content-Type: text/plain; charset=US-ASCII; format=flowed X-Habeas-Swe-1: winter into spring Content-Transfer-Encoding: 7bit X-Habeas-Swe-9: mark in spam to . X-Mailer: Apple Mail (2.619) X-Virus-Scanned: ClamAV 0.80/543/Wed Oct 20 15:24:13 2004 clamav-milter version 0.80j15:24:13 2004 clamav-milter version 0.80j 15:24:13 2004 clamav-milter version 0.80j on adsl-68-76-19-75.dsl.klmzmi.amer X-Virus-Status: Clean cc: freebsd-performance@freebsd.org Subject: Re: decreasing interrupt CPU load X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 13:56:51 -0000 On Oct 20, 2004, at 4:34 PM, Jason Stone wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > I read somewhere that there wasn't a specific reason for not allowing > device polling and smp to be used at the same time, and that it was > fairly > safe to remove the #ifdef SMP/#error block in sys/kern/kern_poll.c and > compile in both smp and device polling. > > I haven't done this in a production environment, but I've done it on my > smp desktop box, and it seems to work okay. > > > -Jason > If you look at http://info.iet.unipi.it/~luigi/polling, the last Q & A question suggests why it is disabled for SMP. It seems that polling only runs on one thread whereas an smp box might handle concurrently interupts from different devices. Can the scheduler move the thread to another cpu or is it locked on a particular cpu? Lucas Holt Luke@FoolishGames.com ________________________________________________________ FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging)