ZFS tuning [was: hardware for home use large storage]
Barry Pederson
bp at barryp.org
Tue Feb 16 17:06:46 UTC 2010
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 (<LOADER>){
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
More information about the freebsd-stable
mailing list