Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2012 14:48:11 +0000
From:      Luke Marsden <luke-lists@hybrid-logic.co.uk>
To:        Peter =?ISO-8859-1?Q?Ankerst=E5l?= <peter@pean.org>
Cc:        stable@freebsd.org
Subject:   Re: Swap on zvol - recommendable?
Message-ID:  <1329058091.2541.104.camel@pow>
In-Reply-To: <A8CE0B38-C313-4B14-BEEC-ED16366D0A5B@pean.org>
References:  <99FFD8AE-F4E0-4BD9-92BC-45D8C8A31383@punkt.de> <A8CE0B38-C313-4B14-BEEC-ED16366D0A5B@pean.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Feb 6, 2012, at 11:57 AM, Patrick M. Hausen wrote:
>=20
> > Hi, all,
> >=20
> > is it possible to make a definite statement about swap on zvols?
> >=20
> > I found some older discussions about a resource starvation
> > scenario when ZFS arc would be the cause of the system
> > running out of memory, trying to swap, yet the ZFS would
> > not be accessible until some memory was freed - leading to
> > a deadlock.
> >=20
> > Is this still the case with RELENG_8? The various Root on
> > ZFS guides mention both choices (decicated or gmirror
> > partition vs. zvol), yet don't say anything about the respective
> > merits or risks. I am aware of the fact that I cannot dump to
> > a raidz2 zvol ...
> >=20

On Tue, 2012-02-07 at 20:53 +0100, Peter Ankerst=C3=A5l wrote:
> I can just tell you I had this problem still in 8.1 and it was a HUGE
> problem. System stalled every two weeks or so. Now when the swap is
> moved away from zfs it works fine.
>=20

I can confirm that this is still a problem on 8.2 and 9.0.

--=20
CTO, Hybrid Logic
+447791750420  |  +1-415-449-1165  | www.hybrid-cluster.com=20





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