Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2011 22:15:48 -0500
From:      Daniel Staal <DStaal@usa.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Setting up ZFS - Filesystem Properties and Installing on Root
Message-ID:  <68E1A0E2635B77E949FA881C@mac-pro.magehandbook.com>
In-Reply-To: <CAKOHg=N4yt0vdac8aZMUTK%2B8EnoSwxhK%2ByWmy7MsOXvKrWEmyw@mail.gmail.com>
References:  <CAKOHg=PEqeMPN_2dfQ%2B4msi1j7CMUu=iO%2BpSuezRoa_CELzQtw@mail.gmail.com> <88f3d8e819b3420f8e61723bee90ba5e.squirrel@www.magehandbook.com> <CAKOHg=N4yt0vdac8aZMUTK%2B8EnoSwxhK%2ByWmy7MsOXvKrWEmyw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--As of November 21, 2011 9:09:45 PM -0500, APseudoUtopia is alleged to 
have said:

> Ok, thank you for the advice. It's on a quad-core xeon, so, in
> reference to your suggestion, I'll turn on compression for the entire
> pool. I did read that having swap in zfs may cause problems, so I'll
> be sticking to the traditional freebsd-swap partition.
>
> Another quick question about swap: If I have 4 drives, with 512MB
> swap, the system uses all 4 swap partitions, correct? So it's not like
> it'd be going to waste? I'd have a total of 2 GB swap?

--As for the rest, it is mine.

I'll admit I don't know.  As as I said: I put it on ZFS.  ;)  It works well 
enough, as long as I make sure it never runs low on RAM.  (Basically, I 
threw money at the problem.)

There are a few cases where compression isn't a win - if you have a section 
that you know will have mostly non-compressible data it's worth turning 
off.  (I also haven't actually tried it on *root*, just in case...  Not 
that I'd expect problems, but I didn't see the need to take the chance.) 
But most of my stuff is compressed.

Note that changing compression settings doesn't affect anything *currently* 
on the disk; just new writes.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------



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