From owner-freebsd-stable@FreeBSD.ORG Tue Jan 8 21:37:29 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3819B16A41A for ; Tue, 8 Jan 2008 21:37:29 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8CA3F13C467; Tue, 8 Jan 2008 21:37:26 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4783ED15.1060606@FreeBSD.org> Date: Tue, 08 Jan 2008 22:37:25 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Toomas Aas References: <1199812249.96494.133.camel@predator-ii.buffyverse> <4783C8A8.2090705@raad.tartu.ee> <4783D41B.3000204@FreeBSD.org> <4783D748.1050401@raad.tartu.ee> <4783D824.1050502@FreeBSD.org> <4783DB72.6030605@raad.tartu.ee> <4783DCAA.1080108@FreeBSD.org> <4783EA7E.1050008@raad.tartu.ee> In-Reply-To: <4783EA7E.1050008@raad.tartu.ee> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Wayne Sierke Subject: Re: 6.3-PRERELEASE desktop system periodically freezes momentarily 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, 08 Jan 2008 21:37:29 -0000 Toomas Aas wrote: > Kris Kennaway wrote: > >> OK, you may need to set up hwpmc or LOCK_PROFILING to figure out what >> your system is doing at that moment. > > I set up a kernel with hwpmc support, but am feeling a bit (to put it > mildly) lost, since I haven't really done anything with hwpmc ever > before. I was hoping to maybe figure out whether this freezing is caused > by some device interrupt, so I tried: > > # pmcstat -S interrupts -o /tmp/sample.txt > > But all I get is this: > pmcstat: ERROR: Cannot allocate system-mode pmc with specification > "interrupts": Invalid argument > > Yet "interrupts" is listed in pmc(3). > > I'm sure I'm making some ridiculous error. > > Having now revealed my ignorance, I go to sleep(1). Probably you want 'instructions'. Kris