Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 2012 10:40:45 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        "Eugene M. Zheganin" <emz@norma.perm.ru>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: zfs arc and amount of wired memory
Message-ID:  <CAOjFWZ5R8AjOc_KJ1tMyX=UKB6um2NDHnMM5jW3N5tWhOqAtdg@mail.gmail.com>
In-Reply-To: <CAOjFWZ4Wefmxk5uTmhxJr13jwSe_jshFzJu0LTGyys7Mbo82Dg@mail.gmail.com>
References:  <4F30E284.8080905@norma.perm.ru> <4F310115.3070507@FreeBSD.org> <4F310C5A.6070400@norma.perm.ru> <4F310E75.7090301@FreeBSD.org> <4F3144A9.2000505@norma.perm.ru> <4F314892.50806@FreeBSD.org> <4F314B5B.100@norma.perm.ru> <4F3186C6.8000904@FreeBSD.org> <4F324F10.2060508@norma.perm.ru> <20120208131537.00004c01@unknown> <4F32BE0B.7000703@norma.perm.ru> <CAOjFWZ4Wefmxk5uTmhxJr13jwSe_jshFzJu0LTGyys7Mbo82Dg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 8, 2012 at 10:40 AM, Freddie Cash <fjwcash@gmail.com> wrote:
> On Wed, Feb 8, 2012 at 10:25 AM, Eugene M. Zheganin <emz@norma.perm.ru> w=
rote:
>> On 08.02.2012 18:15, Alexander Leidinger wrote:
>>> I can't remember to have seen any mention of SWAP on ZFS being safe
>>> now. So if nobody can provide a reference to a place which tells that
>>> the problems with SWAP on ZFS are fixed:
>>> =C2=A01. do not use SWAP on ZFS
>>> =C2=A02. see 1.
>>> =C2=A03. check if you see the same problem without SWAP on ZFS (btw. se=
e 1.)
>>>
>> So, if a swap have to be used, and, it has to be backed up with somethin=
g
>> like gmirror so it won't come down with one of the disks, there's no nee=
d to
>> use zfs for system.
>>
>> This makes zfs only useful in cases where you need to store something on=
 a
>> couple+ of terabytes, still having OS on ufs. Occam's razor and so on.
>
> Or, you plug a USB stick into the back (or even inside the case as a
> lot of mobos have internal USB connectors now) and use that for swap.

That also works well for adding L2ARC (cache) to the ZFS pool as well.

--=20
Freddie Cash
fjwcash@gmail.com



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