From owner-freebsd-stable@FreeBSD.ORG Mon Sep 1 03:45:25 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 002EC106564A for ; Mon, 1 Sep 2008 03:45:24 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from warped.bluecherry.net (unknown [IPv6:2001:440:eeee:fffb::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8C6698FC13 for ; Mon, 1 Sep 2008 03:45:24 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (unknown [74.193.170.223]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by warped.bluecherry.net (Postfix) with ESMTPSA id 6ECDC9E7B040; Sun, 31 Aug 2008 22:45:21 -0500 (CDT) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.14.2/8.14.2) with ESMTP id m813jGT8061128; Sun, 31 Aug 2008 22:45:17 -0500 (CDT) (envelope-from morganw@chemikals.org) Date: Sun, 31 Aug 2008 22:45:16 -0500 (CDT) From: Wes Morgan To: John Birrell In-Reply-To: <20080901015258.GA56694@what-creek.com> Message-ID: References: <20080901015258.GA56694@what-creek.com> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: stable@freebsd.org Subject: Re: Unresponsive after dtrace 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: Mon, 01 Sep 2008 03:45:25 -0000 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.