From owner-freebsd-stable@FreeBSD.ORG Tue Feb 16 17:06:46 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0A971065672 for ; Tue, 16 Feb 2010 17:06:46 +0000 (UTC) (envelope-from bp@barryp.org) Received: from itasca.hexavalent.net (itasca.hexavalent.net [67.207.138.180]) by mx1.freebsd.org (Postfix) with ESMTP id 81E568FC0A for ; Tue, 16 Feb 2010 17:06:46 +0000 (UTC) Received: from barryp.org (host-145-114-107-208.midco.net [208.107.114.145]) by itasca.hexavalent.net (Postfix) with ESMTPS id 8DAAF23C2BA for ; Tue, 16 Feb 2010 11:06:45 -0600 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=barryp.org; s=itasca; t=1266340005; bh=Q7oSWOwlGnHJXiWfkJoz9UkfU5t9CFgp9kemfr/MI5Y=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=qkC4GUPMeglY Ney793nviH9w6rVE7pR6K8hC1IAboMsb94T940RnJkXt5TN/s9fxE8vMHs/rrly/kMN qaiAsjhMJquyjYb50/3XOszxGHGMRgq6L+vnks3dpQlaCikAkelLcglDhY8Ua0AYs0+ bQmi43dEA2KurKpv4ndPuo6I4= Received: from [10.66.0.230] (helo=barry-pedersons-macbook.local) by barryp.org with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.67 (FreeBSD)) (envelope-from ) id 1NhQsl-000AW0-8C; Tue, 16 Feb 2010 11:06:43 -0600 Message-ID: <4B7AD0A3.9080701@barryp.org> Date: Tue, 16 Feb 2010 11:06:43 -0600 From: Barry Pederson User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: jhell References: <20100215090756.GA54764@icarus.home.lan> <20100215105000.101326yj01j0f64g@webmail.leidinger.net> <20100215122744.GA57382@icarus.home.lan> <20100215161105.14071eiflhc9le68@webmail.leidinger.net> <4B79BA9C.3020402@quip.cz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable Subject: Re: ZFS tuning [was: hardware for home use large storage] 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: Tue, 16 Feb 2010 17:06:46 -0000 On 2/15/10 7:49 PM, jhell wrote: > As I make final modifications to the script I will keep the below URLs > updated and welcome any bug reports or modification requests to me > personally. > > Here is the URLs: > http://jhell.googlecode.com/files/arc_summary.pl > http://jhell.googlecode.com/files/arc_summary.pl.asc Nice. How about including relevant lines from /boot/loader.conf, maybe something like this tacked on the end of the script (excuse my Perl, I'm a Python guy). ---- #### Loader Settings ############# open(LOADER, '/boot/loader.conf'); print "\n/boot/loader.conf settings:\n"; while (){ chomp; if (/^\s*(zfs|vfs\.zfs|vm\.kmem)/){ print "\t$_\n"; } } ---- Yes, it should more or less duplicate the sysctl values, but it may make it more obvious where the settings are coming from, or if the user has bad or ignored settings Barry