From owner-freebsd-sparc64@FreeBSD.ORG Tue Jul 1 21:09:09 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3461B37B401 for ; Tue, 1 Jul 2003 21:09:09 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5878543F3F for ; Tue, 1 Jul 2003 21:09:08 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h624ZRMu015272; Wed, 2 Jul 2003 00:35:28 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h6249Shm064199; Tue, 1 Jul 2003 21:09:28 -0700 (PDT) (envelope-from jmg) Date: Tue, 1 Jul 2003 21:09:28 -0700 From: John-Mark Gurney To: Marcel Moolenaar Message-ID: <20030702040928.GC58048@funkthat.com> Mail-Followup-To: Marcel Moolenaar , sparc64@freebsd.org References: <20030702040139.GA11199@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030702040139.GA11199@dhcp01.pn.xcllnt.net> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: sparc64@freebsd.org Subject: Re: OFW_NEWPCI dmesg diffs X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 04:09:09 -0000 Marcel Moolenaar wrote this message on Tue, Jul 01, 2003 at 21:01 -0700: > BTW: vmstat -i doesn't work: > > sparc% vmstat -i > interrupt total rate > Total 0 0 > sparc% I have patches to fix this. But, I the problem is that both soft interrupts and vector interrupts are useful to know. All vector interrupts are dispatched via soft interrupts, so if we count both, the interrupt count is double. We need soft interrupts if we want to see the clock ticking. bash-2.05b$ vmstat -i interrupt total rate stray 1 0 pil 1 0 ithrd pil2 69163 16 gem0 vec2012 27748 6 gem1 vec1990 70 0 atapci0 vec1996 41345 9 tick pil14 421278 99 Total 559606 132 notice that ithrd is equal to gem0 + gem1 + atapci0. pil is the priority interrupt level (aka soft interrupts). Comments? Do we count both? or not include soft interrupts? or not include the ithrd pil? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."