From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 05:33:49 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93C4637B401 for ; Wed, 23 Jul 2003 05:33:49 -0700 (PDT) Received: from mail.nmi.rulez.org (drama.obuda.kando.hu [193.224.41.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBAEF43F75 for ; Wed, 23 Jul 2003 05:33:47 -0700 (PDT) (envelope-from feczo@nmi.rulez.org) Received: by mail.nmi.rulez.org (Postfix, from userid 1001) id 1A9624259; Wed, 23 Jul 2003 14:34:18 +0200 (CEST) Resent-From: feczo@nmi.rulez.org Resent-Date: Wed, 23 Jul 2003 14:34:18 +0200 Resent-Message-ID: <20030723123418.GA27066@nmi.rulez.org> Resent-To: freebsd-questions@freebsd.org X-Original-To: feczo@nmi.rulez.org Delivered-To: feczo@nmi.rulez.org Received: from drama (drama.koli [172.20.8.4]) by mail.nmi.rulez.org (Postfix) with ESMTP id 73A9741E2 for ; Wed, 23 Jul 2003 14:34:02 +0200 (CEST) Received: from feczo by drama with local (Exim 4.14) id 19fInz-0005Jz-T9 for feczo@nmi.rulez.org; Wed, 23 Jul 2003 14:33:15 +0200 Resent-From: feczo@koli.kando.hu Resent-Date: Wed, 23 Jul 2003 14:33:15 +0200 Resent-Message-ID: <20030723123315.GA20452@koli.kando.hu> Resent-To: feczo@nmi.rulez.org Date: Mon, 21 Jul 2003 15:55:46 +0200 From: Feczak Szabolcs To: freebsd-questions@freebsd.org Message-ID: <20030721135546.GA6845@koli.kando.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline User-Agent: Mutt/1.5.4i Resent-Date: Wed, 23 Jul 2003 14:33:15 +0200 X-Spam-Status: No, hits=-1.5 required=5.0 tests=HTML_00_10,RESENT_TO,USER_AGENT_MUTT version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Interrupts percentage high + packetloss X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 12:33:49 -0000 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 00:05:5d:e6:0c:3d 0 0 0 0 0 ste1 1500 00:05:5d:e6:0c:3e 5978838 0 6481883 0 0 ste1 1500 localnet/21 gw.localnet 13771 - 5785 - - ste2 1500 00:05:5d:e6:0c:3f 76912 0 65964 0 0 ste2 1500 dmz/21 gw.dmz 554 - 6339 - - ste3 1500 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 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@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 AMD Features=0xc0400000 real memory = 536805376 (511 MB) avail memory = 517505024 (493 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 11 entries at 0xc00fdeb0 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) pcib1: at device 8.0 on pci0 pci1: on pcib1 pcib2: at device 6.0 on pci1 pci2: on pcib2 ste0: port 0xd000-0xd07f irq 11 at device 4.0 on pci2 ste0: Ethernet address: 00:05:5d:e6:0c:3d miibus0: on ste0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ste1: port 0xd400-0xd47f irq 5 at device 5.0 on pci2 ste1: Ethernet address: 00:05:5d:e6:0c:3e miibus1: on ste1 ukphy1: on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ste2: port 0xd800-0xd87f irq 12 at device 6.0 on pci2 ste2: Ethernet address: 00:05:5d:e6:0c:3f miibus2: on ste2 ukphy2: on miibus2 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ste3: port 0xdc00-0xdc7f irq 10 at device 7.0 on pci2 ste3: Ethernet address: 00:05:5d:e6:0c:40 miibus3: on ste3 ukphy3: on miibus3 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: at device 10.0 (no driver attached) atapci0: port 0xf000-0xf00f at device 9.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcib3: at device 30.0 on pci0 pci3: on pcib3 orm0: