From owner-freebsd-net@FreeBSD.ORG Thu Feb 24 17:25:20 2011 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 C46AB106564A for ; Thu, 24 Feb 2011 17:25:19 +0000 (UTC) (envelope-from fabien.thomas@netasq.com) Received: from work.netasq.com (mars.netasq.com [91.212.116.3]) by mx1.freebsd.org (Postfix) with ESMTP id 874E38FC13 for ; Thu, 24 Feb 2011 17:25:19 +0000 (UTC) Received: from [10.20.1.1] (unknown [10.2.1.1]) by work.netasq.com (Postfix) with ESMTPSA id 832D7740004 for ; Thu, 24 Feb 2011 18:23:54 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) From: Fabien Thomas In-Reply-To: <0B0B1ACC-C57B-4F74-85D5-DD2C7F2DAEA5@netasq.com> Date: Thu, 24 Feb 2011 18:25:17 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <6201CFE3-2611-48F1-A650-43AB7461F2D2@netasq.com> References: <0B0B1ACC-C57B-4F74-85D5-DD2C7F2DAEA5@netasq.com> To: FreeBSD Net X-Mailer: Apple Mail (2.1082) Subject: Re: Polling with multiqueue support 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, 24 Feb 2011 17:25:21 -0000 Just an update to point to another old patch that enable flowtable on = the forwarding path to increase performance (reduce contention) to be on = par with Linux: http://people.freebsd.org/~fabient/FreeBSDvsLinux10GB.png (forwarding = 256B packets, % to line rate on 2x10Gb 82599 interface with 1xXeon = W3680) http://people.freebsd.org/~fabient/patch-flowtable-forward Coupled with the polling code it perform quite well. Last things a latency / polling overhead test result: http://people.freebsd.org/~fabient/polllatency.png User app is the time it take to run a CPU related benchmark (lower is = better), net load is fixed as high but let some CPU available. Freq is the HZ for polling or the measured intr frequency for that load. = Latency is measured by Spirent STC. Fabien