Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jan 2013 11:52:40 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        jwd@FreeBSD.org
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: rc.d script for memory based zfs intent log
Message-ID:  <20130109.115240.1198411557684741197.hrs@allbsd.org>
In-Reply-To: <20130109023327.GA1888@FreeBSD.org>
References:  <20130109023327.GA1888@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Wed_Jan__9_11_52_40_2013_377)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

John <jwd@freebsd.org> wrote
  in <20130109023327.GA1888@FreeBSD.org>:

jw> Hi Folks,
jw>
jw>    Here's an rc.d script that provides a nice performance boost on
jw> ZFS/NFS based file servers. It also helps in other areas not specific
jw> to NFS.
jw>
jw>    It attaches the log device at system startup and removes it at
jw> system shutdown time. Example;
jw>
jw> memzil_pools="tank"
jw> memzil_bootfs="YES"
jw> service memzil onestart
jw> zpool status tank
jw> service memzil onestop
jw>
jw>    This configuration provides a nice performance boost especially to
jw> NFS, but also helps in other areas not specific to NFS.
jw>
jw>    Please DO NOT USE this script if your system is not UPS backed, preferably
jw> with dual power supplies on separate circuits. If your system crashes you
jw> may lose data. The script contains information on recovery.
jw>
jw> http://people.freebsd.org/~jwd/memzil.txt
jw>
jw>    Comments/Improvements appreciated.

 Why is simply setting sync=disabled to the ZFS dataset not enough?

-- Hiroki

----Security_Multipart(Wed_Jan__9_11_52_40_2013_377)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEABECAAYFAlDs23gACgkQTyzT2CeTzy0eIgCeOK4RI451JJEqEu/WS4ssfDpI
AE4Anjhn3s0Y9lxCxxjC8Gb8SKCzQVY2
=Wpoa
-----END PGP SIGNATURE-----

----Security_Multipart(Wed_Jan__9_11_52_40_2013_377)----



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