From owner-freebsd-questions@FreeBSD.ORG Tue May 6 19:21:45 2014 Return-Path: Delivered-To: freebsd-questions@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 E32C9A1E for ; Tue, 6 May 2014 19:21:45 +0000 (UTC) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 80E43990 for ; Tue, 6 May 2014 19:21:45 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id t60so3744682wes.41 for ; Tue, 06 May 2014 12:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=6REzcNHOiqKPi4vpUo087eslKjIyYDCwntPmDCMBB0c=; b=iKrCjZiq4Vglm2rkBoFijqGSWbph+ExDxzAWs1XID9mBuB8jteROM1LJJZuleOeOfw WxWp9g0g5AxQuAZ2tR73Q+U08P3kyLsF+Z1ztigBS3YjdMvfy5J2tkzSMQ7KI33vxPx7 dudfFHPYgethtPZyRLa44Q15zt7gHWz+sF3TckZ/Zga1eMkXAe0inASujutqQGKXAybP dIfHR6MilomVk9dQKHPAGBVSyjGe97Asi5hiMSxqfsZqjwQcv0JlRtJ04wBOFNP1r6Eh V2iBVvlaub5tE520Re32jm3L/Dt1aBUtl1fH+2o9P+exvvFPrbQe+8r+rukSp3nhgo+E n5bA== MIME-Version: 1.0 X-Received: by 10.194.87.163 with SMTP id az3mr3788440wjb.63.1399404103822; Tue, 06 May 2014 12:21:43 -0700 (PDT) Received: by 10.217.55.138 with HTTP; Tue, 6 May 2014 12:21:43 -0700 (PDT) Reply-To: David.I.Noel@gmail.com Date: Tue, 6 May 2014 14:21:43 -0500 Message-ID: Subject: Swap on ZFS From: David Noel To: FreeBSD Questions Mailing List Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 19:21:46 -0000 Is swap on ZFS still ill-advised? All the forum, list, and blog posts I find say it's a no-go. Is this still the case? The idea behind it not working is that ZFS needs memory to write to disk, so when you need to swap (are low on memory) ZFS won't be able to write. I found some talk of having a tunable added as a workaround that would reserve a certain amount of memory for ZFS so this wouldn't be a problem, but have no idea if anyone's made any progress towards implementing it.