From owner-freebsd-current@FreeBSD.ORG Fri Aug 21 09:55:23 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 269EE106568B for ; Fri, 21 Aug 2009 09:55:23 +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 DB9748FC62 for ; Fri, 21 Aug 2009 09:55:22 +0000 (UTC) Received: from [10.2.1.5] (unknown [10.0.0.126]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by netasq.netasq.com (Postfix) with ESMTP id A46891C595 for ; Fri, 21 Aug 2009 11:26:25 +0200 (CEST) Message-Id: From: Fabien Thomas To: freebsd-current@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 21 Aug 2009 11:25:54 +0200 X-Mailer: Apple Mail (2.936) X-Mailman-Approved-At: Fri, 21 Aug 2009 11:23:42 +0000 Subject: Forwarding benchmark X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fabient@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2009 09:55:23 -0000 Hi all, Just a quick benchmark on 8.0 Beta2+ (18/08) show no regression vs 7.2. Result in FPS for 64bytes frame using Breakingpoint Elite Breakingpoint P1 === DUT === Breakingpoint P2 Stream1 : P1 -> P2 Stream2: P2 -> P1 GENERIC kernel + netisr.direct 4.11 : 236 (with 1 stream down for unknown reason) 6.3 : 248 7.2 : 350 8.0b : 352 POLLING kernel + netisr.direct 4.11 : 526 6.3 : 246 7.2 : 230 8.0b : 330 Note that the perf grow a little bit from version to version but 4.11 with polling is always a lot better. There is a lot a more in depth testing to do (HW flow tag, 10gb, lot of interface, latency ...) but it give a rough idea of the perf in the forwarding area. Regards, Fabien dmesg: CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2793.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf47 Stepping = 7 Features = 0xbfebfbff < FPU ,VME ,DE ,PSE ,TSC ,MSR ,PAE ,MCE ,CX8 ,APIC ,SEP ,MTRR ,PGE ,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x641d AMD Features=0x20100000 AMD Features2=0x1 TSC: P-state invariant real memory = 1073741824 (1024 MB) avail memory = 1035210752 (987 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ... em8: port 0x7000-0x701f mem 0xed700000-0xed71ffff irq 18 at device 0.0 on pci6 em8: Using MSI interrupt em8: [FILTER] em8: Ethernet address: 00:30:48:5c:40:82 pcib7: irq 19 at device 28.3 on pci0 pci8: on pcib7 em9: port 0x8000-0x801f mem 0xed800000-0xed81ffff irq 19 at device 0.0 on pci8 em9: Using MSI interrupt em9: [FILTER] em9: Ethernet address: 00:30:48:5c:40:83