From owner-freebsd-net@FreeBSD.ORG Tue Sep 16 18:46:39 2008 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 86A56106567D; Tue, 16 Sep 2008 18:46:39 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal1.es.net (postal4.es.net [198.124.252.66]) by mx1.freebsd.org (Postfix) with ESMTP id 207FF8FC15; Tue, 16 Sep 2008 18:46:38 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal1.es.net (postal3.es.net [198.128.3.207]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id WBA97800; Tue, 16 Sep 2008 11:36:00 -0700 Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id WBZ61859; Tue, 16 Sep 2008 11:35:59 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 949004500F; Tue, 16 Sep 2008 11:35:59 -0700 (PDT) To: "Jian Qiu" In-Reply-To: Your message of "Tue, 16 Sep 2008 22:43:25 +0800." Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1221590159_63566P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Tue, 16 Sep 2008 11:35:59 -0700 From: "Kevin Oberman" Message-Id: <20080916183559.949004500F@ptavv.es.net> X-Sender-IP: 198.128.3.207 X-Sender-Domain: es.net X-Recipent: ; ; ; X-Sender: X-To_Name: Jian Qiu X-To_Domain: gmail.com X-To: "Jian Qiu" X-To_Email: swordqiu@gmail.com X-To_Alias: swordqiu Cc: freebsd-net@freebsd.org Subject: Re: What's the status of parallel netisr? 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: Tue, 16 Sep 2008 18:46:39 -0000 --==_Exmh_1221590159_63566P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Tue, 16 Sep 2008 22:43:25 +0800 > From: "Jian Qiu" > Sender: owner-freebsd-net@freebsd.org > > Interesting. > > I did a test on local UDP throughput. > > I was surprised to find out the performance with a SMP kernel was > worse than UP. (~74MB/s v.s. 96 MB/s). Look at CPU affinity. I have seen significant jumps in performance when things switch between CPUs. It's best to lock the UDP cannon to a single CPU and that the CPU not be CPU0. (This applies to both BSD and Linux systems that I have worked with.) -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1221590159_63566P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFIz/yPkn3rs5h7N1ERAsSZAJ9w4+rEVVDIHiE2fCwZCGxgHdG/gwCdFkLm Bwgx02cPR/sE/HF8EOWzD1o= =0lO3 -----END PGP SIGNATURE----- --==_Exmh_1221590159_63566P--