Forwarding benchmark

From: Fabien Thomas <fabien.thomas_at_netasq.com>
Date: Fri, 21 Aug 2009 11:25:54 +0200
	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<SSE3,DTES64,MON,DS_CPL,CNXT-ID,CX16,xTPR>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   TSC: P-state invariant
real memory  = 1073741824 (1024 MB)
avail memory = 1035210752 (987 MB)
ACPI APIC Table: <PTLTD          APIC  >
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: <Intel(R) PRO/1000 Network Connection 6.9.14> 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: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci8: <ACPI PCI bus> on pcib7
em9: <Intel(R) PRO/1000 Network Connection 6.9.14> 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
Received on Fri Aug 21 2009 - 07:55:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC