Re: OPENBSD performance // intel NIC interrupts // interrupt moderation

2015-12-16 Thread Jeff Drago
                                                 
                                                     :49:e6:68em4 at pci0 dev 
20 function 2 "Intel I354 SGMII" rev 0x03: msi, address 84:44:64                
                                                                                
                     :e7:e6:aaem5 at pci0 dev 20 function 3 "Intel I354 SGMII" 
rev 0x03: msi, address 84:44:64                                                 
                                                                    
:06:ac:48ehci0 at pci0 dev 22 function 0 "Intel Atom C2000 USB" rev 0x02: apic 
2 int 23usb0 at ehci0: USB revision 2.0uhub0 at usb0 "Intel EHCI root hub" rev 
2.00/1.00 addr 1ahci0 at pci0 dev 23 function 0 "Intel Atom C2000 AHCI" rev 
0x02: msi, AHCI 1.3ahci0: port 2: 3.0Gb/sscsibus1 at ahci0: 32 targetssd0 at 
scsibus1 targ 2 lun 0: <ATA, ADATA SP600, 5.8> SCSI3 0/direct fixed naa.5       
                                                                                
                              707c18fa546sd0: 30533MB, 512 bytes/sector, 
62533296 sectors, thinahci1 at pci0 dev 24 function 0 "Intel Atom C2000 AHCI" 
rev 0x02: msi, AHCI 1.3scsibus2 at ahci1: 32 targetspcib0 at pci0 dev 31 
function 0 "Intel Atom C2000 PCU" rev 0x02ichiic0 at pci0 dev 31 function 3 
"Intel Atom C2000 PCU SMBus" rev 0x02: apic 2                                   
                                                                                
   int 18iic0 at ichiic0spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-10600isa0 
at pcib0isadma0 at isa0com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte 
fifocom0: consolecom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifopckbc0 
at isa0 port 0x60/5 irq 1 irq 12pckbd0 at pckbc0 (kbd slot)wskbd0 at pckbd0: 
console keyboardpcppi0 at isa0 port 0x61spkr0 at pcppi0lpt0 at isa0 port 
0x378/4 irq 7wbsio0 at isa0 port 0x4e/2: NCT6776F rev 0x33lm1 at wbsio0 port 
0xa30/8: NCT6776Fuhub1 at uhub0 port 1 "Intel product 0x07db" rev 2.00/0.02 
addr 2vscsi0 at rootscsibus3 at vscsi0: 256 targetssoftraid0 at rootscsibus4 at 
softraid0: 256 targetsroot on sd0a (f152e6b03430375f.a) swap on sd0b dump on 
sd0b
 

On Tuesday, December 8, 2015 7:32 PM, Michael McConville 
<mm...@mykolab.com> wrote:
 

 Jeff Drago wrote:
>  Hello - first post here , hopefully it is the right forum.
> 
> I recently setup a bgp box on top of OPENBSD 5.5 Generic.MP, with 6
> INTEL EM nics.The problem is that when I get 700Mbits in one
> interface, the CPU is peaking at 88% (interrupt).
> 
> I read about interrupt moderation and I dont know how to play with
> that in my box. is it the case to update the NIC driver? here is the
> reference that the NIC supports int
> moderation:http://download.intel.com/design/network/applnots/ap450.pdf
> 
> Not sure how to turn that on or off in OpenBSD. Any help is greatly
> appreciated. Here is the spec for the box (NETMAP
> L-800)http://www.serveru.us/en/images/ServerU/Folder-Brochure_en.pdf 

5.5 is no longer supported. Upgrade sequentially (5.5 -> 5.6, 5.6 ->
5.7, 5.7 -> 5.8) and see if that fixes it. I've seen a huge network
performance improvement over that series of upgrades.

Also, if the problem persists, please include a dmesg with your next
email.

Thanks,
Michael


   

  

OPENBSD performance // intel NIC interrupts // interrupt moderation

2015-12-08 Thread Jeff Drago



 Hello - first post here , hopefully it is the right forum.
I recently setup a bgp box on top of OPENBSD 5.5 Generic.MP, with 6 INTEL EM 
nics.The problem is that when I get 700Mbits in one interface, the CPU is 
peaking at 88% (interrupt).
I read about interrupt moderation and I dont know how to play with that in my 
box. is it the case to update the NIC driver?
here is the reference that the NIC supports int 
moderation:http://download.intel.com/design/network/applnots/ap450.pdf

Not sure how to turn that on or off in OpenBSD. Any help is greatly appreciated.
Here is the spec for the box (NETMAP 
L-800)http://www.serveru.us/en/images/ServerU/Folder-Brochure_en.pdf 
Tks,Jeffrey