Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2013 02:33:27 +0000
From:      John <jwd@FreeBSD.org>
To:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   rc.d script for memory based zfs intent log
Message-ID:  <20130109023327.GA1888@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi Folks,

   Here's an rc.d script that provides a nice performance boost on
ZFS/NFS based file servers. It also helps in other areas not specific
to NFS.

   It attaches the log device at system startup and removes it at
system shutdown time. Example;

memzil_pools="tank"
memzil_bootfs="YES"
service memzil onestart
zpool status tank
service memzil onestop

   This configuration provides a nice performance boost especially to
NFS, but also helps in other areas not specific to NFS.  

   Please DO NOT USE this script if your system is not UPS backed, preferably
with dual power supplies on separate circuits. If your system crashes you
may lose data. The script contains information on recovery.

http://people.freebsd.org/~jwd/memzil.txt

   Comments/Improvements appreciated.

Thanks,
John




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130109023327.GA1888>