From owner-freebsd-stable@FreeBSD.ORG Mon Sep 1 10:48:39 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 08B3A1065685 for ; Mon, 1 Sep 2008 10:48:39 +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 A26948FC13 for ; Mon, 1 Sep 2008 10:48:38 +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 8A9B69E7B062; Mon, 1 Sep 2008 05:48:37 -0500 (CDT) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.14.2/8.14.2) with ESMTP id m81AmYbZ065488; Mon, 1 Sep 2008 05:48:34 -0500 (CDT) (envelope-from morganw@chemikals.org) Date: Mon, 1 Sep 2008 05:48:34 -0500 (CDT) From: Wes Morgan To: John Birrell In-Reply-To: <20080901021528.GB56694@what-creek.com> Message-ID: References: <20080901021528.GB56694@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: 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 10:48:39 -0000 On Mon, 1 Sep 2008, 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. 8 or so hours later and everything is good here. One other suggestion, the "opensolaris" module that is now required for zfs is not mentioned anywhere in UPDATING. Users of "MODULES_OVERRIDE" will likely find themselves with a system that will not boot without manual intervention, sometimes even requiring a live cd. A headsup or warning would probably be appreciated by other zfs'ers.