Date: Sun, 13 Jan 2008 21:09:56 +0100 From: Kris Kennaway <kris@FreeBSD.org> To: Wayne Sierke <ws@au.dyndns.ws>, stable@freebsd.org Subject: Re: 6.3-PRERELEASE desktop system periodically freezes momentarily Message-ID: <478A7014.4080804@FreeBSD.org> In-Reply-To: <1200241867.1677.34.camel@predator-ii.buffyverse> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?478A7014.4080804>