I've set up a router on OpenBSD and bgpd. When I boot a multiprocessor kernel, there is 0% CPU load. It looks like top and vmstat don't show the utilization generated by interrupts.
# vmstat 1 procs memory page disks traps cpu r b w avm fre flt re pi po fr sr sd0 cd0 int sys cs us sy id 1 0 0 71992 354216 59 0 0 0 0 0 2 0 13255 411 37 0 0 100 0 0 0 71996 354216 25 0 0 0 0 0 0 0 14139 101 15 0 0 100 0 0 0 71996 354216 7 0 0 0 0 0 0 0 14610 17 7 0 0 100 0 0 0 71996 354216 7 0 0 0 0 0 0 0 14388 130 27 0 0 100 0 0 0 71996 354216 7 0 0 0 0 0 0 0 14396 23 10 0 0 100 # vmstat -i interrupt total rate irq0/clock 6866930 199 irq83/em0 16133429 469 irq64/ahd0 47153 1 irq80/skc0 224467567 6536 irq81/skc1 214637885 6250 Total 462152964 13458 With the uniprocessor kernel everything looks OK, top shows the interrupt utilization about 30-40%. I've tried 3.7-release and 3.8-beta, both with the same result. Below is my current dmesg. Greetings, Tomasz Baranowski OpenBSD 3.8-beta (GENERIC.MP) #249: Tue Aug 9 13:00:18 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Pentium(R) 4 CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID real mem = 536387584 (523816K) avail mem = 482504704 (471196K) using 4278 buffers containing 26923008 bytes (26292K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 03/11/05, BIOS32 rev. 0 @ 0xf0010 pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf51b0/208 (11 entries) pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x25a1 pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc0000/0x8000 0xc8000/0x9a00 mainbus0: Intel MP Specification (Version 1.4) (INTEL SE7210TP10 ) cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199 MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) 4 CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID mainbus0: bus 0 is type PCI mainbus0: bus 1 is type PCI mainbus0: bus 2 is type PCI mainbus0: bus 3 is type PCI mainbus0: bus 4 is type ISA ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins ioapic1 at mainbus0: apid 3 pa 0xfec10000, version 20, 24 pins pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82875P Host" rev 0x02 ppb0 at pci0 dev 3 function 0 "Intel 82875P PCI-CSA" rev 0x02 pci1 at ppb0 bus 1 em0 at pci1 dev 1 function 0 "Intel PRO/1000CT (82547GI)" rev 0x00: apic 2 int 18 (irq 9), address: 00:02:b3:e9:65:ea ppb1 at pci0 dev 28 function 0 "Intel 6300ESB PCIX" rev 0x02 pci2 at ppb1 bus 2 ahd0 at pci2 dev 1 function 0 "Adaptec AIC-7901 U320" rev 0x10: apic 3 int 3 (irq 9) aic7901: U320 Wide Channel A, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs scsibus0 at ahd0: 16 targets sd0 at scsibus0 targ 1 lun 0: <SEAGATE, ST336704LWV, 4301> SCSI3 0/direct fixed sd0: 35003MB, 14100 cyl, 12 head, 423 sec, 512 bytes/sec, 71687369 sec total skc0 at pci2 dev 3 function 0 "D-Link Systems DGE-530T" rev 0x11: apic 3 int 1 (irq 9) skc0: Marvell Yukon (0x1) sk0 at skc0 port A: address 00:11:95:c9:75:98 eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 3 skc1 at pci2 dev 4 function 0 "D-Link Systems DGE-530T" rev 0x11: apic 3 int 2 (irq 9) skc1: Marvell Yukon (0x1) sk1 at skc1 port A: address 00:11:95:c9:75:81 eephy1 at sk1 phy 0: Marvell 88E1011 Gigabit PHY, rev. 3 uhci0 at pci0 dev 29 function 0 "Intel 6300ESB USB" rev 0x02: apic 2 int 16 (irq 5) usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1 "Intel 5300ESB USB" rev 0x02: apic 2 int 19 (irq 5) usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered "Intel 6300ESB WDT" rev 0x02 at pci0 dev 29 function 4 not configured "Intel 6300ESB APIC" rev 0x02 at pci0 dev 29 function 5 not configured ehci0 at pci0 dev 29 function 7 "Intel 6300ESB USB" rev 0x02: apic 2 int 23 (irq 7) ehci0: timed out waiting for BIOS usb2 at ehci0: USB revision 2.0 uhub2 at usb2 uhub2: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub2: 4 ports with 4 removable, self powered ppb2 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x0a pci3 at ppb2 bus 3 vga1 at pci3 dev 0 function 0 "ATI Rage XL" rev 0x27 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) fxp0 at pci3 dev 1 function 0 "Intel 82557" rev 0x10, i82551: apic 2 int 17 (irq 9), address 00:02:b3:e9:65:eb inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 ichpcib0 at pci0 dev 31 function 0 "Intel 6300ESB LPC" rev 0x02 pciide0 at pci0 dev 31 function 1 "Intel 6300ESB IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pciide0: channel 0 disabled (no drives) atapiscsi0 at pciide0 channel 1 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: <SONY, CDU5211, YYS2> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 "Intel 6300ESB SMBus" rev 0x02 at pci0 dev 31 function 3 not configured isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 sysbeep0 at pcppi0 lm0 at isa0 port 0x290/8: W83627HF npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo biomask 0 netmask 0 ttymask 0 pctr: user-level cycle counter enabled ahd0: target 1 synchronous with period = 0x9, offset = 0x3f(DT) dkcsum: sd0 matches BIOS drive 0x80 root on sd0a rootdev=0x400 rrootdev=0xd00 rawdev=0xd02