Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 13:10:46 +0300
From:      Dan Naumov <dan.naumov@gmail.com>
To:        Simun Mikecin <numisemis@yahoo.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: 7.2-STABLE: swap on ZFS v13
Message-ID:  <cf9b1ee00906230310j7e304efcp21c9588a75ab1ef@mail.gmail.com>
In-Reply-To: <288239.1376.qm@web37303.mail.mud.yahoo.com>
References:  <288239.1376.qm@web37303.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Pardon my perhaps stupid question, but what exactly does the "-o
org.freebsd:swap=on" option do? Couldn't find anything related during
a quick glance at the zfs manpage (on a 7.2-release/amd64 system with
zfsv6).

- Sincerely,
Dan Naumov



On Tue, Jun 23, 2009 at 1:01 PM, Simun Mikecin<numisemis@yahoo.com> wrote:
>
> Hi!
>
> Before ZFS v13 import to the 7-STABLE branch, it was a well known fact that swap on ZFS volume (zvol) will not work.
> Recently, I tried to use swap on ZFS v13 (7-STABLE/amd64). It seems that it works.
>
> I used 4k for the volblocksize as that is equivalent to hardware page size.
> I tried with compression enabled and disabled. Enabling compression reduces number of bytes that need to be swapped in and out to the zvol.
>
> zfs create -o volblocksize=4k -o compression=on -o org.freebsd:swap=on -V 4g tank/swap
> swapon /dev/zvol/tank/swap
>
> Is there anybody else who tried 7-STABLE/amd64 with swap on ZFS v13? Does it work or not?
>
>
>
>
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>



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