Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 2015 16:51:51 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Storage question
Message-ID:  <55F05597.7070607@infracaninophile.co.uk>
In-Reply-To: <55F04D78.8070508@hiwaay.net>
References:  <55EF3D23.5060009@hiwaay.net> <20150908220639.20412cbd@gumby.homeunix.com> <55EF5409.8020007@yahoo.com> <55EFC2DA.3020101@hiwaay.net> <08B351DD-AA48-4F30-B0D6-C500D0877FB3@lafn.org> <55F02DC8.7000706@hiwaay.net> <20150909150626.5c3b99e5.freebsd@edvax.de> <55F031A0.40500@hiwaay.net> <20150909145820.c3b48aafad4f70553c1c1fd8@sohara.org> <55F0451A.5080709@hiwaay.net> <20150909160005.d3b84775c3d0748014a871e5@sohara.org> <55F04D78.8070508@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--0pndWGgEVU0MwSeQDG3D2FH8DTqq9x2Tu
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2015/09/09 16:15, William A. Mahaffey III wrote:
> I have heard that filling your zpool is a *BAD* thing, but it can be fo=
r
> any FS, just maybe a bit worse for ZFS. I am going to study that option=

> a bit more. The online docs all seem to show swap within the zpool as
> well, does that work OK, performance wise ? It would simplify
> installation, however I am planning to script that, so a bit of 'extra'=

> effort for separate swap partitions is not an issue. I have always
> thought that separate swap partitions directly kernel managed were the
> best for swap performance if/when it gets down to that, no ?

Filling the zpool completely is tricky because it can be hard to
recover.  The trick is (a) don't do that; (b) create space by
*truncating* a large file if it happens.  Or use FreeBSD 10.x which has
a 3% space reservation, similarly to how UFS does.

However, you'll find that ZFS performance drops quite a bit when you hit
somewhere north of about 75% full.

Yes, you should swap to a dedicated partition, rather than swapping
within ZFS.  I think, BICBW, that you can still get into a deadlock
where you need extra memory to handle an out-of-memory condition.

Just use the system installer to set up your drives and zpool -- it
makes it ridiculously easy.

	Cheers,

	Matthew



--0pndWGgEVU0MwSeQDG3D2FH8DTqq9x2Tu
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQJ7BAEBCgBmBQJV8FWdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnO1YP91ZEOF0hoFk7tnqx7xFZ/7FI
C+d56ziw76eqEjP4g5y8r/AyWxAWx8qOx2jatRdynvDRetSDmDu3scvpxp/dUbVU
0t/B2gpJ3LxUThOM/M78aOVdBxQhdRl+f7pZcUu6gDjW6t4i0CRwqwOysvpVm8JL
20XxbtEXGEDkQceq/wHnE2+KKQ53syGiHWMuJcASteXPT07MsFPbBo+csRP5TKmS
iMtmpRwrtIYjegBBDLI19W5w8Cbz6psXkcuigCKnJroUU34DyrI2kzv7WPqY8qFr
XbbQnW9vsm7EbMqYmkaJl0j2hi9HEITKrfQmG6V3V69/TBKA8UIL4Ec+hKSfgNjz
Xe2+49vLef3gzHIZJRrSdOVHDyxOvpSx3vxNi4tSI1yzEx/3juBdafkB5p7FdCph
3cNlN+XJocPM07mwBfSLjSn/+Js7lkUmbkLINnLhFAPYNw0hlWCGEFkfg8JgytQX
cUdx3W3HR5DxnWFc64QpsNX0CyxXJtX8mkD+3z1syGmAQg39NitLpTsVuEggu1vn
qrbTS+7JtNSXLXzuNioWpzO+F/Q6h4OqVMvNKWcX3OJg1CRP4js/A0xz00UWv8rz
RlDEhjOcYFssafWtMcJnifDFq4PK856/z5Ze7fV98On0hMoPA4INj2TV4YRrzGL/
g9Cwi5KUnp/zs8hU9mk=
=yZuH
-----END PGP SIGNATURE-----

--0pndWGgEVU0MwSeQDG3D2FH8DTqq9x2Tu--



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