From owner-freebsd-stable@FreeBSD.ORG Tue Jun 5 19:48:56 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D804106566B for ; Tue, 5 Jun 2012 19:48:56 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id DA8108FC0A for ; Tue, 5 Jun 2012 19:48:55 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id q55Jmr9S032454 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 5 Jun 2012 21:48:55 +0200 Date: Tue, 5 Jun 2012 21:48:53 +0200 From: Albert Shih To: Matt Thyer Message-ID: <20120605194853.GB9945@pcjas.obspm.fr> References: <20120531202334.GA27926@pcjas.obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 4FCE62A5.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4FCE62A5.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ Cc: freebsd-stable@freebsd.org Subject: Re: Load when idl on stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2012 19:48:56 -0000 Le 04/06/2012 ? 06:22:34+0930, Matt Thyer a écrit > Hi, > Is this due to a high rate of interrupts ? No idea ;-) > i.e. can you see this with "systat -vm 1" with a large number in the "intr" > field. Well I don't known what you mean by «high rate», so I make a compraison between my desktop and my laptop. On the laptop (where the load is always high) I got ~500- 650 total Interrupts with ~490-500 from hpet0 uhci On my desktop (load is ~0) I got ~340- 360 total Interrupts with 320-350 from hpet0 20 > > If yes, run "vmstat -i" to see what interrupt is being hit. On my laptop (uptime ~ 1h): vmstat -i interrupt total rate irq1: atkbd0 7240 1 irq9: acpi0 7 0 irq12: psm0 44037 10 irq14: ata0 6590 1 irq17: wpi0 683770 155 irq18: atapci1 15447 3 irq19: fwohci0 2 0 irq20: hpet0 uhci0* 2888037 656 irq22: ehci0 uhci4 2 0 irq256: hdac0 270090 61 Total 3915222 890 On my destkop (uptime 5 days) interrupt total rate irq1: atkbd0 239742 0 irq12: psm0 999224 2 irq16: uhci0 4062873 9 irq17: fwohci0++ 1 0 irq20: hpet0 222779529 500 irq22: uhci2 ehci0 222967 0 irq24: vgapci0 972589 2 irq256: hdac0 9881473 22 irq257: bge0 8422313 18 irq258: ahci0 5744209 12 Total 253324920 568 > > Then tell us what hardware is on that irq (from grep irq /var/run/dmesg.boot). Here on the laptop: grep irq /var/run/dmesg.boot ioapic0 irqs 0-23 on motherboard atrtc0: port 0x70-0x71,0x72-0x77 irq 8 on acpi0 attimer0: port 0x40-0x43,0x50-0x53 irq 2 on acpi0 vgapci0: port 0xdf00-0xdf7f mem 0xf5000000-0xf5ffffff,0xe0000000-0xefffffff,0xf2000000-0xf3ffffff irq 16 at device 0.0 on pci1 uhci0: port 0x6f20-0x6f3f irq 20 at device 26.0 on pci0 uhci1: port 0x6f00-0x6f1f irq 21 at device 26.1 on pci0 ehci0: mem 0xfed1c400-0xfed1c7ff irq 22 at device 26.7 on pci0 hdac0: mem 0xf6ffc000-0xf6ffffff irq 21 at device 27.0 on pci0 wpi0: mem 0xf1fff000-0xf1ffffff irq 17 at device 0.0 on pci12 bge0: mem 0xf1bf0000-0xf1bfffff irq 17 at device 0.0 on pci9 uhci2: port 0x6f80-0x6f9f irq 20 at device 29.0 on pci0 uhci3: port 0x6f60-0x6f7f irq 21 at device 29.1 on pci0 uhci4: port 0x6f40-0x6f5f irq 22 at device 29.2 on pci0 ehci1: mem 0xfed1c000-0xfed1c3ff irq 20 at device 29.7 on pci0 fwohci0: <1394 Open Host Controller Interface> mem 0xf1aff800-0xf1afffff irq 19 at device 1.0 on pci3 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x6fa0-0x6faf irq 16 at device 31.1 on pci0 atapci1: port 0x6eb0-0x6eb7,0x6eb8-0x6ebb,0x6ec0-0x6ec7,0x6ec8-0x6ecb,0x6ee0-0x6eef,0xeff0-0xefff irq 18 at device 31.2 on pci0 atkbdc0: port 0x60,0x64,0x62,0x66 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 Regards. JAS -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas@jabber.obspm.fr Heure local/Local time: mar 5 jui 2012 21:38:47 CEST