From owner-freebsd-stable@FreeBSD.ORG Mon Sep 1 02:15:29 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 99304106564A for ; Mon, 1 Sep 2008 02:15:29 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.freebsd.org (Postfix) with ESMTP id 5B6418FC0C for ; Mon, 1 Sep 2008 02:15:28 +0000 (UTC) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id 58ED5745C9; Mon, 1 Sep 2008 02:15:28 +0000 (GMT) Date: Mon, 1 Sep 2008 02:15:28 +0000 From: John Birrell To: stable@freebsd.org Message-ID: <20080901021528.GB56694@what-creek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: 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 02:15:29 -0000 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. -- John Birrell