From owner-freebsd-stable@FreeBSD.ORG Sun Jan 13 20:10:00 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E59916A419 for ; Sun, 13 Jan 2008 20:10:00 +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 1F2BD13C458; Sun, 13 Jan 2008 20:09:58 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <478A7014.4080804@FreeBSD.org> Date: Sun, 13 Jan 2008 21:09:56 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Wayne Sierke , stable@freebsd.org 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> <47867FAD.9050701@FreeBSD.org> <1200156892.1196.34.camel@predator-ii.buffyverse> <1200197025.1225.17.camel@predator-ii.buffyverse> <4789F872.8000502@FreeBSD.org> <1200241867.1677.34.camel@predator-ii.buffyverse> In-Reply-To: <1200241867.1677.34.camel@predator-ii.buffyverse> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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: Sun, 13 Jan 2008 20:10:00 -0000 Wayne Sierke wrote: > On Sun, 2008-01-13 at 12:39 +0100, Kris Kennaway wrote: >> MUTEX_PROFILING changes the kernel ABI so modules that are not compiled >> with that option will not work. If you use make buildkernel to build >> your kernel + modules together then it uses the kernel config file for >> both so they are compatible, otherwise your modules only are built with >> default options. So, if you have any other modules apart from nvidia >> then use make buildkernel for those, and add -DMUTEX_PROFILING to the >> CFLAGS of the nvidia build and try that. It may still not be enough >> since nvidia is a wrapper around a binary module, so you may also need >> to revert to nv. >> >> Kris > > Kris, > > Success, I hope. I noticed that the duration of the pause when the > stuttering occurs is obviously magnified, I'd guess probably by approx a > factor of 5. e.g. normally stuttering interval is quite short, perhaps > 50-100ms at a guess, with debug.mutex.prof.enable=1 duration of stutter > might be 200ms or so. I understand that this is to be expected, just > want to let you know. > > Could you please confirm that I'm following correct procedure to obtain > results, then I'll endeavour to capture logs for the other freezes that > I witness. And of course let me know if you want anything specific from > me. Yeah, this shows things like contention between the mouse device and other parts of the kernel that still require the Giant lock in 6.x. It is not likely that these will be fixed in 6.x but most of them are in 7.0, so you should obtain better performance by upgrading to 7.0. Kris