We're not going to see much more 700kpps on forwarding workloads until we do something about the rtentry locking. I had some interesting ideas I was exploring, but I don't have the luxury of side projects right now. em(9)'s transmit performance has been substantially improved in 8 by using a buf_ring instead of IFQ so I assume that you're entirely gated by rx performance. Jeff did some work in that area to reduce the per-packet overhead of dequeue and to do some NAPI-like opportunistic polling using a variant of the taskqueue API. It won't give you any idea about latency breakdown, but it would be useful for a general time breakdown to look at unhalted core cycles in PMC. Good Luck, Kip On Fri, Aug 21, 2009 at 02:25, Fabien Thomas<fabien.thomas_at_netasq.com> wrote: > 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 > > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" > -- When harsh accusations depart too far from the truth, they leave bitter consequences. --TacitusReceived on Mon Aug 31 2009 - 23:35:48 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC