Freebsd IP Forwarding performance (question,
and some info) [7-stable, current, em, smp]
Paul
paul at gtcomm.net
Thu Jul 3 12:50:38 UTC 2008
Err.. pciconf -lv ?
none0 at pci0:0:0:0: class=0x050000 card=0x151115d9 chip=0x036910de
rev=0xa2 hdr=0x00
vendor = 'Nvidia Corp'
device = 'MCP55 Memory Controller'
class = memory
subclass = RAM
isab0 at pci0:0:1:0: class=0x060100 card=0x151115d9 chip=0x036410de
rev=0xa3 hdr=0x00
vendor = 'Nvidia Corp'
device = 'MCP55 LPC Bridge'
class = bridge
subclass = PCI-ISA
none1 at pci0:0:1:1: class=0x0c0500 card=0x151115d9 chip=0x036810de
rev=0xa3 hdr=0x00
vendor = 'Nvidia Corp'
device = 'MCP55 SMBus'
class = serial bus
subclass = SMBus
ohci0 at pci0:0:2:0: class=0x0c0310 card=0x151115d9 chip=0x036c10de
rev=0xa1 hdr=0x00
vendor = 'Nvidia Corp'
device = 'MCP55 USB Controller'
class = serial bus
subclass = USB
ehci0 at pci0:0:2:1: class=0x0c0320 card=0x151115d9 chip=0x036d10de
rev=0xa2 hdr=0x00
vendor = 'Nvidia Corp'
device = 'MCP55 USB Controller'
class = serial bus
subclass = USB
atapci0 at pci0:0:4:0: class=0x01018a card=0x151115d9 chip=0x036e10de
rev=0xa1 hdr=0x00
vendor = 'Nvidia Corp'
device = 'MCP55 IDE'
class = mass storage
subclass = ATA
atapci1 at pci0:0:5:0: class=0x010185 card=0x151115d9 chip=0x037f10de
rev=0xa3 hdr=0x00
vendor = 'Nvidia Corp'
device = 'MCP55 SATA Controller'
class = mass storage
subclass = ATA
atapci2 at pci0:0:5:1: class=0x010185 card=0x151115d9 chip=0x037f10de
rev=0xa3 hdr=0x00
vendor = 'Nvidia Corp'
device = 'MCP55 SATA Controller'
class = mass storage
subclass = ATA
atapci3 at pci0:0:5:2: class=0x010185 card=0x151115d9 chip=0x037f10de
rev=0xa3 hdr=0x00
vendor = 'Nvidia Corp'
device = 'MCP55 SATA Controller'
class = mass storage
subclass = ATA
pcib1 at pci0:0:6:0: class=0x060401 card=0x151115d9 chip=0x037010de
rev=0xa2 hdr=0x01
vendor = 'Nvidia Corp'
device = 'MCP55 PCI bridge'
class = bridge
subclass = PCI-PCI
nfe0 at pci0:0:8:0: class=0x020000 card=0x151115d9 chip=0x037210de
rev=0xa3 hdr=0x00
vendor = 'Nvidia Corp'
device = 'MCP55 Ethernet'
class = network
subclass = ethernet
nfe1 at pci0:0:9:0: class=0x020000 card=0x151115d9 chip=0x037210de
rev=0xa3 hdr=0x00
vendor = 'Nvidia Corp'
device = 'MCP55 Ethernet'
class = network
subclass = ethernet
pcib2 at pci0:0:10:0: class=0x060400 card=0x000010de chip=0x037610de
rev=0xa3 hdr=0x01
vendor = 'Nvidia Corp'
device = 'MCP55 PCIe bridge'
class = bridge
subclass = PCI-PCI
pcib5 at pci0:0:13:0: class=0x060400 card=0x000010de chip=0x037810de
rev=0xa3 hdr=0x01
vendor = 'Nvidia Corp'
device = 'MCP55 PCIe bridge'
class = bridge
subclass = PCI-PCI
pcib6 at pci0:0:14:0: class=0x060400 card=0x000010de chip=0x037510de
rev=0xa3 hdr=0x01
vendor = 'Nvidia Corp'
device = 'MCP55 PCIe bridge'
class = bridge
subclass = PCI-PCI
pcib7 at pci0:0:15:0: class=0x060400 card=0x000010de chip=0x037710de
rev=0xa3 hdr=0x01
vendor = 'Nvidia Corp'
device = 'MCP55 PCIe bridge'
class = bridge
subclass = PCI-PCI
hostb0 at pci0:0:24:0: class=0x060000 card=0x00000000 chip=0x11001022
rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices (AMD)'
device = '(K8) Athlon 64/Opteron HyperTransport Technology
Configuration'
class = bridge
subclass = HOST-PCI
hostb1 at pci0:0:24:1: class=0x060000 card=0x00000000 chip=0x11011022
rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices (AMD)'
device = '(K8) Athlon 64/Opteron Address Map'
class = bridge
subclass = HOST-PCI
hostb2 at pci0:0:24:2: class=0x060000 card=0x00000000 chip=0x11021022
rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices (AMD)'
device = '(K8) Athlon 64/Opteron DRAM Controller'
class = bridge
subclass = HOST-PCI
hostb3 at pci0:0:24:3: class=0x060000 card=0x00000000 chip=0x11031022
rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices (AMD)'
device = '(K8) Athlon 64/Opteron Miscellaneous Control'
class = bridge
subclass = HOST-PCI
vgapci0 at pci0:1:6:0: class=0x030000 card=0x151115d9 chip=0x515e1002
rev=0x02 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'Radeon ES1000 Radeon ES1000'
class = display
subclass = VGA
pcib3 at pci0:2:0:0: class=0x060400 card=0x00000000 chip=0x01251033
rev=0x07 hdr=0x01
vendor = 'NEC Electronics Hong Kong'
class = bridge
subclass = PCI-PCI
pcib4 at pci0:2:0:1: class=0x060400 card=0x00000000 chip=0x01251033
rev=0x07 hdr=0x01
vendor = 'NEC Electronics Hong Kong'
class = bridge
subclass = PCI-PCI
pcib8 at pci0:7:0:0: class=0x060400 card=0x00000000 chip=0x8018111d
rev=0x04 hdr=0x01
vendor = 'Integrated Device Technology Inc.'
class = bridge
subclass = PCI-PCI
pcib9 at pci0:8:0:0: class=0x060400 card=0x00000000 chip=0x8018111d
rev=0x04 hdr=0x01
vendor = 'Integrated Device Technology Inc.'
class = bridge
subclass = PCI-PCI
pcib10 at pci0:8:1:0: class=0x060400 card=0x00000000 chip=0x8018111d
rev=0x04 hdr=0x01
vendor = 'Integrated Device Technology Inc.'
class = bridge
subclass = PCI-PCI
em0 at pci0:9:0:0: class=0x020000 card=0x10a48086 chip=0x10a48086 rev=0x06
hdr=0x00
vendor = 'Intel Corporation'
device = '82571EB Gigabit Ethernet Controller'
class = network
subclass = ethernet
em1 at pci0:9:0:1: class=0x020000 card=0x10a48086 chip=0x10a48086 rev=0x06
hdr=0x00
vendor = 'Intel Corporation'
device = '82571EB Gigabit Ethernet Controller'
class = network
subclass = ethernet
em2 at pci0:10:0:0: class=0x020000 card=0x10a48086 chip=0x10a48086
rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = '82571EB Gigabit Ethernet Controller'
class = network
subclass = ethernet
em3 at pci0:10:0:1: class=0x020000 card=0x10a48086 chip=0x10a48086
rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = '82571EB Gigabit Ethernet Controller'
class = network
subclass = ethernet
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008
root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Dual-Core AMD Opteron(tm) Processor 2212 (2010.32-MHz K8-class CPU)
Origin = "AuthenticAMD" Id = 0x40f12 Stepping = 2
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x2001<SSE3,CX16>
AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
Cores per package: 2
usable memory = 1060921344 (1011 MB)
avail memory = 1022271488 (974 MB)
ACPI APIC Table: <S M C OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18)
acpi0: <S M C OEMRSDT> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of fec00000, 1000 (3) failed
acpi0: reservation of fee00000, 1000 (3) failed
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3ff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x2008-0x200b on acpi0
cpu0: <ACPI CPU> on acpi0
powernow0: <PowerNow! K8> on cpu0
device_attach: powernow0 attach returned 6
cpu1: <ACPI CPU> on acpi0
powernow1: <PowerNow! K8> on cpu1
device_attach: powernow1 attach returned 6
Ingo Flaschberger wrote:
> Dear Paul,
>
>> Tomorrow comes opteron 2222 so it's 1ghz faster than this one, and I
>> can see if it scales directly with cpu speed or what happens.
>
> can you send me a lspci -v?
>
>> I did another SMP test with an interesting results. I took one of the
>> cpus out of the machine, so it was just left with a single 2212 (dual
>> core)
>> and it performed better. Less contention I suppose?
>
> in smp locking is a performance killer.
>
> My next "router" appliance will be:
> http://www.axiomtek.com.tw/products/ViewProduct.asp?view=429
>
> Kind regards,
> Ingo Flaschberger
>
More information about the freebsd-net
mailing list