From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 11:25:30 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D229216A4CE for ; Wed, 28 Jan 2004 11:25:30 -0800 (PST) Received: from mail.dragondata.com (server2-b.dragondata.com [64.202.113.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EDEA43D67 for ; Wed, 28 Jan 2004 11:25:15 -0800 (PST) (envelope-from toasty@dragondata.com) Received: (qmail 75748 invoked by uid 1092); 28 Jan 2004 19:27:47 -0000 Received: from toasty@dragondata.com by server2.dragondata.com by uid 82 with qmail-scanner-1.20rc3 (uvscan: v4.2.40/v4296. spamassassin: 2.60-cvs. Clear:RC:1:. Processed in 0.624251 secs); 28 Jan 2004 19:27:47 -0000 Received: from ppp045.dhcp.your.org (HELO ?199.165.179.45?) (199.165.179.45) by mail.dragondata.com with RC4-SHA encrypted SMTP; 28 Jan 2004 19:27:46 -0000 Mime-Version: 1.0 (Apple Message framework v612) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-net@freebsd.org From: Kevin Day Date: Wed, 28 Jan 2004 13:25:13 -0600 X-Mailer: Apple Mail (2.612) Subject: DEVICE_POLLING with SMP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 19:25:31 -0000 Has anyone made any headway with getting polling(4) to work with a SMP kernel? Last May this was discussed on here briefly with me, Luigi and Don Bowman, which seemed to indicate that the majority of what needed to be fixed to make this work would be some kind of locking in idle_loop to make sure only one CPU gets into the polling code at once. I've got a case where enabling SMP gives me a 20-30% performance boost, or if I turn polling on I get another 10-15% boost. I'd love to see what the two together could do.