Hi, upgraded a box from 3.8 stable to 4.4 snapshot and am wondering now, why it is hogged with interrupts when i run tcpdump on em0. According to vmstat iterrupt rate is more or less the following:
$ vmstat -i interrupt total rate irq10/em0 399560 330 irq11/em1 5 0 irq14/pciide0 1269 1 irq15/pciide0 136 0 irq5/vr0 1659 1 irq0/clock 120799 99 irq8/rtc 154617 127 Total 678045 561 $ The traffic going to em0 is (taken from the cisco here): 30 second output rate 569104000 bits/sec, 125107 packets/sec that must be a lot, but 3.8 stable has been handling 960 Mbps on the same link. Yes 3.8 stable was losing frames but interrupt load was under 30% and the system was pretty responsive. Now the box nearly freezes, other processes get delayed seriously, load goes up to 20. It does not matter whether tcpdump writes to disk or just to /dev/null, so it more seems to be related to em driver. What could be the cause? It would be real pity to go back to 3.8, since there are nice features and fixes that came in during the three years... I don't know if ifconfig output gives anything useful and dmesg is traditionally at the end. Thanks in advance. $ ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33204 groups: lo inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:0e:0c:05:0c:3f media: Ethernet autoselect (1000baseT full-duplex,rxpause) status: active inet6 fe80::20e:cff:fe05:c3f%em0 prefixlen 64 scopeid 0x1 em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:0e:0c:05:0c:9c media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::20e:cff:fe05:c9c%em1 prefixlen 64 scopeid 0x2 vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:0a:e6:22:2e:a5 groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet 10.110.16.245 netmask 0xffffff00 broadcast 10.110.16.255 inet6 fe80::20a:e6ff:fe22:2ea5%vr0 prefixlen 64 scopeid 0x3 enc0: flags=0<> mtu 1536 pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33204 groups: pflog $ OpenBSD 4.4-current (GENERIC) #1480: Tue Nov 11 19:56:54 MST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) CPU 1.70GHz ("GenuineIntel" 686-class) 1.71 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM real mem = 251162624 (239MB) avail mem = 234262528 (223MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/27/02, BIOS32 rev. 0 @ 0xfdad0, SMBIOS rev. 2.3 @ 0xf0630 (19 entries) bios0: vendor American Megatrends Inc. version "07.00T" date 04/02/01 bios0: ECS P4VMM2 apm at bios0 function 0x15 not configured acpi0 at bios0: rev 0 acpi0: tables DSDT FACP acpi0: wakeup devices UAR1(S4) USB_(S4) USB1(S4) USB2(S4) AC9_(S4) MC9_(S4) ILAN(S4) PCI0(S4) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0 acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB bios0: ROM list: 0xc0000/0xc000 0xcc000/0x4000! cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "VIA VT8751 PCI" rev 0x00 viaagp0 at pchb0v2, agp0 at viaagp0: aperture at 0xe8000000, size 0xe400000 ppb0 at pci0 dev 1 function 0 "VIA VT8633 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "S3 ProSavage DDR" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) em0 at pci0 dev 9 function 0 "Intel PRO/1000MT (82541GI)" rev 0x00: irq 10, address 00:0e:0c:05:0c:3f em1 at pci0 dev 11 function 0 "Intel PRO/1000MT (82541GI)" rev 0x00: irq 11, address 00:0e:0c:05:0c:9c viapm0 at pci0 dev 17 function 0 "VIA VT8233 ISA" rev 0x00 iic0 at viapm0 spdmem0 at iic0 addr 0x50: 256MB SDRAM non-parity PC133CL2 pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100, channel 0 configured to compatibility, channel 1 config ured to compatibility wd0 at pciide0 channel 0 drive 0: <MAXTOR 6L040J2> wd0: 16-sector PIO, LBA, 38172MB, 78177792 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1 at pciide0 channel 1 drive 0: <Maxtor 7L300R0> wd1: 16-sector PIO, LBA48, 286188MB, 586114704 sectors wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5 vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x70: irq 5, address 00:0a:e6:22:2e:a5 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 5: OUI 0x004063, model 0x0032 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo 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 it0 at isa0 port 0x2e/2: IT8705F rev 2, EC port 0x290 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 biomask f1cd netmask fded ttymask ffff mtrr: Pentium Pro MTRR support softraid0 at root root on wd0a swap on wd0b dump on wd0b