Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2008 21:23:51 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        "J.R. Oldroyd" <fbsd@opal.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: RELENG_7 2008/01/10 desktop system also periodically freezes
Message-ID:  <478A7357.7010101@FreeBSD.org>
In-Reply-To: <20080112134856.77585787@linwhf.opal.com>
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>	<4783ED15.1060606@FreeBSD.org>	<20080109141859.74d08743@linwhf.opal.com>	<478522B5.5030101@FreeBSD.org>	<20080109235819.7707133d@linwhf.opal.com>	<4785C9FC.4090102@FreeBSD.org>	<20080111124929.4aed2471@linwhf.opal.com>	<20080112123053.164b5a5c@linwhf.opal.com>	<20080112134034.75ded0b5@linwhf.opal.com> <20080112134856.77585787@linwhf.opal.com>

next in thread | previous in thread | raw e-mail | index | archive | help
J.R. Oldroyd wrote:
> On Sat, 12 Jan 2008 13:40:34 -0500, I wrote:
>> Ah!  Just experienced a short freeze ...
> 
> And another!  This one about 3 or 4 seconds.
> 
> The profile from the last minute is here:
>     http://opal.com/jr/freebsd/releng_7-freeze/200801121342-unknown.txt
> 
> This one shows a long hold_avg (I meant hold_avg in the previous
> message, too) for:
>     /usr/src/sys/kern/vfs_vnops.c:515 (lockmgr:ufs)
> 
> 	-jr

In both of these cases there is a non-mpsafe interrupt (probably your 
mouse) blocked on a sysctl call (both of these require Giant).  That 
would be fixed once sysctl no longer requires Giant (hopefully before 
7.1, I have a WIP), or once someone makes the psm driver mpsafe.  I 
don't think it accounts for a multi-second pause though.  Probably a 
sched_graph trace will also be required to diagnose that better.

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?478A7357.7010101>