From owner-freebsd-net@FreeBSD.ORG Thu Sep 6 13:45:03 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CF8516A421 for ; Thu, 6 Sep 2007 13:45:03 +0000 (UTC) (envelope-from fabien.thomas@netasq.com) Received: from netasq.netasq.com (netasq.netasq.com [213.30.137.178]) by mx1.freebsd.org (Postfix) with ESMTP id D884A13C4A5 for ; Thu, 6 Sep 2007 13:45:02 +0000 (UTC) (envelope-from fabien.thomas@netasq.com) Received: from [10.20.1.5] (unknown [10.0.0.126]) by netasq.netasq.com (Postfix) with ESMTP id 18DDC2D6B9 for ; Thu, 6 Sep 2007 15:12:14 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-net@freebsd.org From: Fabien THOMAS Date: Thu, 6 Sep 2007 15:12:06 +0200 X-Mailer: Apple Mail (2.752.3) Subject: new version of polling for FreeBSD 6.x X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2007 13:45:03 -0000 Hi, After many years of good services we will stop using FreeBSD 4.x :) During my performance regression tests under FreeBSD 6.2 i've found that polling has lower performance than interrupt. To solve that issue i've rewritten the core of polling to be more SMP ready. You can find a summary of all my tests and the source code at the following address: http://www.netasq.com/opensource/pollng-rev1-freebsd.tgz Feel free to ask more detailed information if necessary and report any bugs / comments. Fabien