From owner-freebsd-stable@FreeBSD.ORG Mon Sep 1 16:32:06 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 E732D106567C for ; Mon, 1 Sep 2008 16:32:06 +0000 (UTC) (envelope-from yds@CoolRat.org) Received: from orion.dppl.com (orion.dppl.net [216.182.10.231]) by mx1.freebsd.org (Postfix) with ESMTP id C23DF8FC18 for ; Mon, 1 Sep 2008 16:32:06 +0000 (UTC) (envelope-from yds@CoolRat.org) Received: from sushi.coolrat.org (c-68-44-170-116.hsd1.nj.comcast.net [68.44.170.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by orion.dppl.com (Postfix) with ESMTPSA id 5396D6432C83; Mon, 1 Sep 2008 12:32:05 -0400 (EDT) Message-ID: <48BC1904.2080503@CoolRat.org> Date: Mon, 01 Sep 2008 12:32:04 -0400 From: Yarema User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: John Birrell References: <20080901021528.GB56694@what-creek.com> In-Reply-To: <20080901021528.GB56694@what-creek.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: ZFS performance issues (solved?!) 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 16:32:07 -0000 John Birrell wrote: > For those people experiencing a performance degradation since the DTrace import, > please update your copy of src/sys/cddl/compat/opensolaris/kern/opensolaris_kmem.c > by either cvsup of direct edit to remove "#define KMEM_DEBUG". > > You only need to rebuild the opensolaris kernel module after this change. The code > is shared between ZFS and DTrace via the opensolaris kernel module. > > This is also the reason why you found it necessary to add KDB, DDB and STACK to > your kernel. After removing KMEM_DEBUG, you won't need those. > > Please confirm that this solves the problem you have been seeing. Yes! Last night doing a csup would peg the Sys CPU usage at 100%. After rebuilding the opensolaris kernel module everything is back to normal. There's a csup running as I type this and the system is upwards of 90%Idle. Thanks, Yarema