Date: Tue, 22 Dec 2009 19:50:14 +0200 From: Andriy Gapon <avg@icyb.net.ua> To: Scot Hetzel <swhetzel@gmail.com> Cc: Mel Flynn <mel.flynn+fbsd.current@mailing.thruhere.net>, freebsd-current@freebsd.org, krad <kraduk@googlemail.com> Subject: Re: Some notes on RootOnZFS article in wiki Message-ID: <4B3106D6.1040208@icyb.net.ua> In-Reply-To: <790a9fff0912220819h1c454ed3u9191d80177a676ef@mail.gmail.com> References: <200912210600.46044.mel.flynn%2Bfbsd.current@mailing.thruhere.net> <790a9fff0912211047w6e0ee46co420869f25a7a016d@mail.gmail.com> <d36406630912220302o5161dd50i45b69bd5003ad386@mail.gmail.com> <4B30D75D.6010708@icyb.net.ua> <790a9fff0912220819h1c454ed3u9191d80177a676ef@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
on 22/12/2009 18:19 Scot Hetzel said the following: > FreeBSD does support zvols as swap: > > zfs create -V 2gb zroot/swap > zfs set org.freebsd:swap=on zroot/swap > zfs set checksum=off zroot/swap Where swapon line? :-) Okey, okey, it's good ti know that it works. > Another drawback to using zfs swap is that zfs requires RAM for it's > arc cache and if your system is low on RAM, the system may stop > responding even if you still have space in the zfs swap volume. Yeah, not nice. I think that in OpenSolaris they do something special to zvol when it is configured as a swap device, and then swapping code bypasses all the complex zfs paths. But I could very well be mistaken, I got this impression from a quick cursory look over the source code. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B3106D6.1040208>