From owner-freebsd-net@FreeBSD.ORG Fri Dec 23 09:15:56 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 477B616A41F; Fri, 23 Dec 2005 09:15:56 +0000 (GMT) (envelope-from symao@juniper.net) Received: from kremlin.juniper.net (kremlin.juniper.net [207.17.137.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 595BE43D73; Fri, 23 Dec 2005 09:15:52 +0000 (GMT) (envelope-from symao@juniper.net) Received: from unknown (HELO alpha.jnpr.net) ([172.24.18.126]) by kremlin.juniper.net with ESMTP; 23 Dec 2005 01:15:52 -0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="3.99,286,1131350400"; d="scan'208"; a="517501284:sNHT34775548" Received: from lepton.jnpr.net ([10.208.0.16]) by alpha.jnpr.net with Microsoft SMTPSVC(6.0.3790.1830); Fri, 23 Dec 2005 01:15:51 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Date: Fri, 23 Dec 2005 17:11:04 +0800 Message-ID: <6834BE1811D97C4B8581CE6BD14506800545C5@lepton.jnpr.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Network performance measurements of -current Thread-Index: AcYHJCQJfBMPIyNMT32OGEjPw40miAAfG7cQ From: "ShouYan Mao" To: "Andre Oppermann" , X-OriginalArrivalTime: 23 Dec 2005 09:15:51.0624 (UTC) FILETIME=[784F7480:01C607A1] Cc: freebsd-net@freebsd.org Subject: RE: Network performance measurements of -current 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: Fri, 23 Dec 2005 09:15:56 -0000 So, would you try it with PCI-E Gigabit card? Best Regards. Shouyan ------------------------------------------------------- I'm not the best, but I try to do better. ------------------------------------------------------- -----Original Message----- From: owner-freebsd-net@freebsd.org = [mailto:owner-freebsd-net@freebsd.org] On Behalf Of Andre Oppermann Sent: 2005=C4=EA12=D4=C223=C8=D5 2:17 To: freebsd-current@freebsd.org Cc: freebsd-net@freebsd.org Subject: Network performance measurements of -current As part my funded TCP/IP optimization work I'm doing lots of = measurements and profiling with an Agilent N2X network tester and calibrated traffic generator. The following data shall serve as baseline of the current performance we get out of FreeBSD 7-current. More to come tomorrow though. OS: FreeBSD 7-current as of 20051222-1600 UTC KERNEL: Generic kernel, minus WITNESS and INVARIANTS, plus HWPMC, = HZ=3D1000 HARDWARE: Dual Opteron 852 2.6Ghz, Tyan S2882 Mobo with AMD-8131 PCI-X = tunnel HARDWARE: dual Broadcom Gigabit BMC5704C PCI-X-133 ("bge") HARDWARE: dual Intel Gigabit 82546EB PCI-X-133 ("em") Uniprocessor kernel bge: normal forwarding bge0->bge1: = @64/326kpps/166us/402kpps(30%Loss)/194us normal forwarding bge0->bge1: @1500/81kpps/520us normal forwarding bge0->disc0: @64/1205kpps IP fastforwarding bge0->bge1: = @64/565kpps/192us/575kpps(60%Loss)/1090us IP fastforwarding bge0->bge1: @1500/81kpps/730us IP fastforwarding bge0->disc0: @64/1160kpps net.isr.direct=3D1 bge0->bge1: = @64/476kpps/211us/487kpps(68%Loss)/1284us net.isr.direct=3D1 bge0->bge1: @1500/81kpps/760us net.isr.direct=3D1 bge0->disc0: @64/1250kpps polling (*) bge0->bge1: =20 @64/420kpps(9%Loss)/1385us/416kpps(72%Loss)/1600us polling (*) bge0->bge1: @1500/71kpps(9%Loss)/850us polling (*) bge0->disc0: @64/697kpps Comments: Under full load the normal processing breaks completely down while with IP fastforwarding it levels off but continues to forward. Strangely with polling it has 9% loss at all loads (even at 1% = wirespeed). May be related to HZ=3D1000. em: normal forwarding em0->em1: = @64/372kpps/112us/396kpps(11%Loss)/131us normal forwarding em0->em1: @1500/81kpps/170us normal forwarding em0->disc0: @64/1130kpps IP fastforwarding em0->em1: = @64/565kpps/45us/585kpps(4%Loss)/1600us IP fastforwarding em0->em1: @1500/81kpps/135us IP fastforwarding em0->disc0: @64/1116kpps net.isr.direct=3D1 em0->em1: later net.isr.direct=3D1 em0->disc0: later polling (*) em0->em1: later polling (*) em0->disc0: later (*) max_burst=3D1000, user_frac=3D0, each_burst=3D30 Sponsored by: TCP/IP Optimization Fundraise 2005 --=20 Andre _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"