Interrupts percentage high + packetloss

Feczak Szabolcs feczo at fw.hu
Wed Jul 23 05:33:49 PDT 2003


Hi,

there is a gw on 100mbit bandwidth, and interrupt is 
damn high on it even though the bandwidth utilization is only
about 20%, and it is an AMD 2Ghz machine with 0,5Gb of DDR Ram
though the network card is a D-Link DL10050 (one pci card
with 4 ports), so maybe this is the problem, you will let me
know

I have queried with some commands the system stats, 
let me know if someone interested in any other details
and which command gives me the result.

Any ideas why is this percentage so high ? Or how can I
see this in more detail ? I wouldn't be excited about it,
but packet loss occour (I can see if I ping the machine 
from outside network), it's running a quake server behind
this gw and it has quiet much amount of "LAG"


last pid:  1162;  load averages:  0.42,  0.10,  0.03    up 0+03:10:57  21:53:35
30 processes:  2 running, 28 sleeping
CPU states: 36.7% user,  0.0% nice, 10.5% system, 37.5% interrupt, 15.2% idle
Mem: 10M Active, 12M Inact, 22M Wired, 10M Buf, 456M Free
Swap: 1024M Total, 1024M Free


I have checked with trafshow
It was 2680 pkt/sec 2128450 bytes/sec
so about 2mbyte/sec ~20mbit


netstat

Name    Mtu Network       Address              Ipkts Ierrs    Opkts Oerrs  Coll
ste0*  1500 <Link#1>      00:05:5d:e6:0c:3d        0     0        0     0     0
ste1   1500 <Link#2>      00:05:5d:e6:0c:3e  5978838     0  6481883     0     0
ste1   1500 localnet/21   gw.localnet          13771     -     5785     -     -
ste2   1500 <Link#3>      00:05:5d:e6:0c:3f    76912     0    65964     0     0
ste2   1500 dmz/21         gw.dmz                 554     -     6339     -     -
ste3   1500 <Link#4>      00:05:5d:e6:0c:40  6606007     0  6035123     0     0
ste3   1500 outside       www.dmz    44190     -    41819     -     -
ste3   1500 gw            gw     3536     -        0     -     -
lo0   16384 <Link#5>                               4     0        4     0     0
lo0   16384 your-net      localhost.localnet       0     -        0     -     -

iostat
      tty             ad0             acd0             cpu
 tin tout  KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
   0  137 15.95   0  0.00   0.00   0  0.00   0  0  0  6 94


here is the dmesg output

Copyright (c) 1992-2003 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 5.1-RELEASE #0: Mon Jun 30 17:47:48 GMT 2003
    root at newgw.koli:/usr/src/sys/i386/compile/kernelke
Preloaded elf kernel "/boot/kernel/kernel" at 0xc038b000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1797286592 Hz
CPU: AMD Athlon(tm) XP 2200+ (1797.29-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 536805376 (511 MB)
avail memory = 517505024 (493 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00fdeb0
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
pcib1: <PCIBIOS PCI-PCI bridge> at device 8.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <PCI-PCI bridge> at device 6.0 on pci1
pci2: <PCI bus> on pcib2
ste0: <D-Link DL10050 10/100BaseTX> port 0xd000-0xd07f irq 11 at device 4.0 on pci2
ste0: Ethernet address: 00:05:5d:e6:0c:3d
miibus0: <MII bus> on ste0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ste1: <D-Link DL10050 10/100BaseTX> port 0xd400-0xd47f irq 5 at device 5.0 on pci2
ste1: Ethernet address: 00:05:5d:e6:0c:3e
miibus1: <MII bus> on ste1
ukphy1: <Generic IEEE 802.3u media interface> on miibus1
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ste2: <D-Link DL10050 10/100BaseTX> port 0xd800-0xd87f irq 12 at device 6.0 on pci2
ste2: Ethernet address: 00:05:5d:e6:0c:3f
miibus2: <MII bus> on ste2
ukphy2: <Generic IEEE 802.3u media interface> on miibus2
ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ste3: <D-Link DL10050 10/100BaseTX> port 0xdc00-0xdc7f irq 10 at device 7.0 on pci2
ste3: Ethernet address: 00:05:5d:e6:0c:40
miibus3: <MII bus> on ste3
ukphy3: <Generic IEEE 802.3u media interface> on miibus3
ukphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci1: <display, VGA> at device 10.0 (no driver attached)
atapci0: <nVidia nForce2 UDMA133 controller> port 0xf000-0xf00f at device 9.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcib3: <PCIBIOS PCI-PCI bridge> at device 30.0 on pci0
pci3: <PCI bus> on pcib3
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging unlimited
DUMMYNET initialized (011031)
IP Filter: v3.4.31 initialized.  Default = pass all, Logging = enabled
ad0: 57277MB <SAMSUNG SP0612N> [116374/16/63] at ata0-master UDMA133
acd0: CDROM <LG CD-ROM CRD-8522B> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s1a
ste1: promiscuous mode enabled
ste1: promiscuous mode disabled
Limiting icmp unreach response from 344 to 200 packets/sec
Limiting closed port RST response from 401 to 200 packets/sec
Limiting closed port RST response from 218 to 200 packets/sec
Limiting icmp unreach response from 369 to 200 packets/sec
ste1: promiscuous mode enabled
ste1: promiscuous mode disabled


-- 
  _(_)_
 (_. o_)            F3CZ0
   (_,)     http://feczo.koli.kando.hu
  (    )    __________________________
  // //


More information about the freebsd-questions mailing list