On 2007/04/20 01:21, Mitja wrote: > The solution I came to is very simple. Currently I only need one of em > (dual card), so I disabled the second one. When I boot the router, my > network usage rises up to 96%. I simlpy mark that unusable interface > (em1) as up and few seconds later I mark the same interface down. My > network usage drops significantly, currently I am looking it shows 75%.
Do you mean interrupt%? bsd.mp will probably drop that *way* down. You may need to also disable USB (may have been one of the things fixed by moving to either acpi or a newer bios, I don't recall). Most of mine are on original bios, -current from around the time 4.1 was tagged, with acpi on, USB off. They don't crash any more, but I have recently noticed some odd problem with packet loss with the onboard bge(4) though; if I ping *from* the h8ssl to another box there's no trouble, if I ping from elsewhere to the h8ssl I get periods of a few (1-10) minutes at a time with usually an hour or two between them where there's 0.5 to 1% loss, a couple of RTM_LOSING, and sometimes bad enough to cause bgp hold timers to expire on the ibgp sessions to other h8ssl boxes. The one of them with a quad em(4) is only affected by that to the extent that all the ibgp peers are h8ssl with bge(4)... > The router is running without locking for 25 hours now. I am also > planning an upgrade to 4.1 if there are changes to em driver. the diff to if_em.c is 1000 lines. Some of it's PCIE support, but there's plenty else. here's dmesg from the one I have here (not a router, still sees packet loss on bge though - this has the newer bios - as an aside, supermicro say this has the erratum 89 fix in, I've yet to see an amd64 box which doesn't trigger the warning though ...). Kernel is just generic with acpi enabled and usb disabled. OpenBSD 4.1-current (ACPI.MP) #2: Fri Mar 30 22:31:13 BST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/ACPI.MP cpu0: AMD Opteron(tm) Processor 146 ("AuthenticAMD" 686-class, 1024KB L2 cache) 2 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3 cpu0: AMD erratum 89 present, BIOS upgrade may be required real mem = 1073246208 (1048092K) avail mem = 971849728 (949072K) using 4278 buffers containing 53784576 bytes (52524K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 07/15/06, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.4 @ 0xf8e00 (50 entries) bios0: Supermicro H8SSL pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4f50/160 (8 entries) pcibios0: no compatible PCI ICU found: ICU vendor 0x1166 product 0x0205 pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc0000/0x8000 0xc8000/0x2200 0xca800/0x1600 0xcc000/0x1600 0xcd800/0x1000 acpi0 at mainbus0: rev 0 acpi0: tables DSDT FACP APIC OEMB acpitimer0 at acpi0: 3579545 Hz, 32 bits acpi device at acpi0 from table DSDT not configured acpi device at acpi0 from table FACP not configured acpimadt0 at acpi0 table APIC addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD erratum 89 present, BIOS upgrade may be required cpu0: apic clock running at 199 MHz ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 16 pins ioapic1 at mainbus0: apid 2 pa 0xfec01000, version 11, 16 pins ioapic2 at mainbus0: apid 3 pa 0xfec02000, version 11, 16 pins acpi device at acpi0 from table OEMB not configured acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P1) acpiprt2 at acpi0: bus 2 (P1P2) acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpicpu0 at acpi0: CPU1: CTRL GASIO is CPU manufacturer overridden pci0 at mainbus0 bus 0: configuration mode 1 (no bios) ppb0 at pci0 dev 1 function 0 "ServerWorks HT-1000 PCI" rev 0x00 pci1 at ppb0 bus 1 ppb1 at pci1 dev 13 function 0 "ServerWorks HT-1000 PCIX" rev 0xb2 pci2 at ppb1 bus 2 ppb2 at pci2 dev 1 function 0 "Intel IOP331 PCIX-PCIX" rev 0x07 pci3 at ppb2 bus 3 ami0 at pci3 dev 14 function 0 "Symbios Logic MegaRAID SATA 4x/8x" rev 0x07: apic 2 int 4 (irq 11) ami0: LSI 3008, 32b, FW 814B, BIOS vH431, 128MB RAM ami0: 1 channels, 0 FC loops, 1 logical drives scsibus0 at ami0: 40 targets sd0 at scsibus0 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct fixed sd0: 1424784MB, 1424784 cyl, 64 head, 32 sec, 512 bytes/sec, 2917957632 sec total scsibus1 at ami0: 16 targets bge0 at pci2 dev 3 function 0 "Broadcom BCM5704C" rev 0x10, BCM5704 B0 (0x2100): apic 2 int 8 (irq 5), address 00:30:48:58:86:40 brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 bge1 at pci2 dev 3 function 1 "Broadcom BCM5704C" rev 0x10, BCM5704 B0 (0x2100): apic 2 int 9 (irq 7), address 00:30:48:58:86:41 brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 piixpm0 at pci0 dev 2 function 0 "ServerWorks HT-1000" rev 0x00: polling iic0 at piixpm0 admcts0 at iic0 addr 0x2c pciide0 at pci0 dev 2 function 1 "ServerWorks HT-1000 IDE" rev 0x00: DMA atapiscsi0 at pciide0 channel 0 drive 0 scsibus2 at atapiscsi0: 2 targets cd0 at scsibus2 targ 0 lun 0: <PIONEER, DVD-ROM DVD-500M, 1.07> SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 0 pcib0 at pci0 dev 2 function 2 "ServerWorks HT-1000 LPC" rev 0x00 "ServerWorks HT-1000 USB" rev 0x01 at pci0 dev 3 function 0 not configured "ServerWorks HT-1000 USB" rev 0x01 at pci0 dev 3 function 1 not configured "ServerWorks HT-1000 USB" rev 0x01 at pci0 dev 3 function 2 not configured vga1 at pci0 dev 5 function 0 "ATI Rage XL" rev 0x27 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) puc0 at pci0 dev 8 function 0 "NetMos 2S1P" rev 0x01: com, com, lpt pccom3 at puc0 port 0 apic 2 int 0 (irq 9): ns16550a, 16 byte fifo pccom4 at puc0 port 1 apic 2 int 0 (irq 9): ns16550a, 16 byte fifo lpt3 at puc0 port 2: interrupting at apic 2 int 0 (irq 9) pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00 pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00 pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00 pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00 isa0 at pcib0 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 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom0: console pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec pctr: user-level cycle counter enabled dkcsum: sd0 matches BIOS drive 0x80 root on sd0a rootdev=0x400 rrootdev=0xd00 rawdev=0xd02 piixpm0: exec: op 1, addr 0x2c, cmdlen 1, len 1, flags 0x08: timeout, status 0x9<BUSY,BUSERR> The one I have with em(4) works absolutely fine now.