From owner-freebsd-stable@FreeBSD.ORG Thu Jan 10 20:27:27 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 2B75816A41A for ; Thu, 10 Jan 2008 20:27:27 +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 400F713C465; Thu, 10 Jan 2008 20:27:26 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47867FAD.9050701@FreeBSD.org> Date: Thu, 10 Jan 2008 21:27: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> <47851247.1020306@raad.tartu.ee> <4785186E.4070609@FreeBSD.org> <47852EFF.8000103@raad.tartu.ee> <478530FC.8090701@FreeBSD.org> <478531C4.10909@raad.tartu.ee> <4785334F.205@FreeBSD.org> <47866B15.5070002@raad.tartu.ee> In-Reply-To: <47866B15.5070002@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: Thu, 10 Jan 2008 20:27:27 -0000 Toomas Aas wrote: > Kris Kennaway wrote: > >> OK. Can you obtain a lock profiling dump? > > I'm trying, but not succeeding so far. I added the following to the > kernel config: > > options MUTEX_PROFILING > options MPROF_BUFFERS="1536" > options MPROF_HASH_SIZE="1543" > > And set debug.mutex.prof.enable=1 > > However, kgmon says that profiling is not enabled in the kernel. Am I > missing something essential or barking under completely wrong tree? > > > > Yes :) kgmon has nothing to do with mutex profiling, so remove the MPROF_*. sysctl debug.mutex.prof.enable=1 ... trigger hang ... sysctl debug.mutex.prof.enable=0 and send me the output of sysctl debug.mutex.prof.stats Kris