Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2008 22:45:16 -0500 (CDT)
From:      Wes Morgan <morganw@chemikals.org>
To:        John Birrell <jb@what-creek.com>
Cc:        stable@freebsd.org
Subject:   Re: Unresponsive after dtrace
Message-ID:  <alpine.BSF.1.10.0808312243540.52681@ibyngvyr.purzvxnyf.bet>
In-Reply-To: <20080901015258.GA56694@what-creek.com>
References:  <alpine.BSF.1.10.0808310627390.45643@ibyngvyr.purzvxnyf.bet> <20080901015258.GA56694@what-creek.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 1 Sep 2008, John Birrell wrote:

> On Sun, Aug 31, 2008 at 06:35:16AM -0500, Wes Morgan wrote:
>> I know this has been reported already, but I want to give a "me too".
>> After installing a new world and kernel from the tree yesterday afternoon,
>> I let my system run all night. This morning everything was extremely
>> sluggish and unresponsive. According to top, which I thankfully left
>> running, processes were going in and out of "*kmem_" (obviously
>> truncated). CPU usage was 80+% system and load averages were around 5.4.
>> The only changes I made to my system besides upgrading were to include the
>> options KDB, DDB and STACK in my kernel for zfs functionality.
>> Unfortunately, I cannot try without those options since my root is zfs.
>> Booting a kernel from 8/20 works fine.
>
> Wes, will you please try removing "#define KMEM_DEBUG" from:
>
> src/sys/cddl/compat/opensolaris/kern/opensolaris_kmem.c
>
> This is the likely cause of the performance problems you are seeing. It
> is also the reason why you needed to add DDB, DBB and stack to the kernel.
>
> The quickest way to try this is to just build the 'opensolaris' kernel module:
>
> (keep a copy of your current /boot/kernel)
> cd src/sys/modules/opensolaris
> make obj && make depend && make all && make install

Everything compiled with my original kern config (no STACK etc). I'll let 
it go for a bit and see, but I don't see any processes going into "kmem_" 
in top yet.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.1.10.0808312243540.52681>