From owner-freebsd-stable@FreeBSD.ORG Mon Sep 1 15:21:58 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 C6FED106564A for ; Mon, 1 Sep 2008 15:21:58 +0000 (UTC) (envelope-from arnaud.houdelette@tzim.net) Received: from alaranth.tzim.net (unknown [IPv6:2001:41d0:1:968f:219:d1ff:fedf:4f29]) by mx1.freebsd.org (Postfix) with ESMTP id 57ABF8FC1B for ; Mon, 1 Sep 2008 15:21:58 +0000 (UTC) (envelope-from arnaud.houdelette@tzim.net) Received: from localhost ([::1] helo=[127.0.0.1]) by alaranth.tzim.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KaBE4-0003mx-C2; Mon, 01 Sep 2008 17:21:56 +0200 Message-ID: <48BC0897.8030602@tzim.net> Date: Mon, 01 Sep 2008 17:21:59 +0200 From: Arnaud Houdelette User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: John Birrell References: <20080901021528.GB56694@what-creek.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Authenticated-User: tzim@tzim.net X-Authenticator: plain Cc: stable@freebsd.org Subject: Re: 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 15:21:58 -0000 Wes Morgan a écrit : >
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. I had really bad performance before removing the line. I had to disable zil on zfs (my /usr/src is on zfs) to be able to recompile, as one of the zil process was eating up nearly all off the CPU. After rebuild/install kernel, no problems anymore. Thanks. I second the above suggestion about opensolaris. There's no mention anywhere of this module (or at least, I didn'it find one before), on UPDATING nor on the list of what this module is for ?