From owner-freebsd-stable@FreeBSD.ORG Tue Dec 10 21:50:50 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0505CF65 for ; Tue, 10 Dec 2013 21:50:50 +0000 (UTC) Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143]) by mx1.freebsd.org (Postfix) with ESMTP id 8E9A01374 for ; Tue, 10 Dec 2013 21:50:49 +0000 (UTC) Received: from ppp121-45-108-103.lns20.adl6.internode.on.net (HELO leader.local) ([121.45.108.103]) by ipmail05.adl6.internode.on.net with ESMTP; 11 Dec 2013 08:20:47 +1030 Message-ID: <52A78CB3.8050109@ShaneWare.Biz> Date: Wed, 11 Dec 2013 08:20:43 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Oscar Prieto , Benjamin Lutz Subject: Re: Swap on ZFS - bad idea? (swap_pager: indefinite wait buffer) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Dec 2013 21:50:50 -0000 On 11/12/2013 04:06, Oscar Prieto wrote: > Personally I still have to read an announcement telling that swap on zfs is > relliable. I'm still using a dedicated swap partition on every install due > to that kind of behaviour. > On Tue, Dec 10, 2013 at 11:41 AM, Benjamin Lutz wrote: > >> This sort of hang seems to happen every couple of months. I'd really like >> some pointers on how to increase the stability of this system. Maybe there >> are some more tunables I need to adjust? Or is swap on ZFS maybe just not >> a great idea? I did read somewhere that it is not recommended to use a zvol for swap. Personally I did setup swap on a zvol when I first started with zfs. Turning it off showed a performance boost but I never had any errors from it. I had only setup a single disk zpool so maybe its swap on zfs raidz that causes the errors.