From owner-freebsd-stable@FreeBSD.ORG Sun Feb 12 15:12:23 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92799106564A for ; Sun, 12 Feb 2012 15:12:23 +0000 (UTC) (envelope-from luke-lists@hybrid-logic.co.uk) Received: from hybrid-sites.com (ns225413.hybrid-sites.com [176.31.225.127]) by mx1.freebsd.org (Postfix) with ESMTP id 54B498FC16 for ; Sun, 12 Feb 2012 15:12:22 +0000 (UTC) Received: from [127.0.0.1] (helo=youse) by hybrid-sites.com with esmtp (Exim 4.72 (FreeBSD)) (envelope-from ) id 1Rwait-000HNU-Fj; Sun, 12 Feb 2012 14:48:16 +0000 From: Luke Marsden To: Peter =?ISO-8859-1?Q?Ankerst=E5l?= In-Reply-To: References: <99FFD8AE-F4E0-4BD9-92BC-45D8C8A31383@punkt.de> Content-Type: text/plain; charset="UTF-8" Date: Sun, 12 Feb 2012 14:48:11 +0000 Message-ID: <1329058091.2541.104.camel@pow> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: quoted-printable X-Spam-bar: - Cc: stable@freebsd.org Subject: Re: Swap on zvol - recommendable? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2012 15:12:23 -0000 > 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