From owner-freebsd-questions@freebsd.org Mon Jun 18 17:04:51 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2FFAB1013223 for ; Mon, 18 Jun 2018 17:04:51 +0000 (UTC) (envelope-from ewayte@gmail.com) Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B5A2187E9F for ; Mon, 18 Jun 2018 17:04:50 +0000 (UTC) (envelope-from ewayte@gmail.com) Received: by mail-oi0-x22f.google.com with SMTP id d5-v6so15499960oib.5 for ; Mon, 18 Jun 2018 10:04:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lWWbG9XcznWAKLfhjMaGSqfp5KIebDoZYRMgQ4EwSps=; b=RkPse6e/tCEZpGtCc0jbDGh3jxklugUpSwRKYZA6TDQdpZ+yibO1N+ggiirUJpejh5 fAbvs+8AuDY6Gu1si7/NQwr6r3U0dPNVfnJpo3ZiCyYRzREKPFv2+ykXXxAgVQVhE9Kh sWAG/3wmY31sy+ASNKkWRC+C1kJil/YYOtk/fiw/YWLKwrFgQqTrV4d2fxD2dUBAeyQ6 F6tWFSqugDqBaM0xK2nEZMSL+hyes5q7riqkEznC/u4c3fIQni4sGlL6uu7tjkI98M1B KWmQzm2M8Xt05pf0ZBl6b2KBERtbgaaHk9CKl5Uv4Ez4LSBSBFaqIBCiFKGWNyDl/I2D eDxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lWWbG9XcznWAKLfhjMaGSqfp5KIebDoZYRMgQ4EwSps=; b=fe7YwKYhOSFi4XROBlcVKWRWBC5LAauuPQ4noWK3GN0cPWOSH6mM6zXZ00sV6BKB7D 8k3K7X6owzJ2owM3D3JLGp2sImE4fE074IKqhE9ybBQYEy6ZXydBdT9D1I0wPdiNloEJ UehgJPihHUQoPnYboPEUWOrD7IxaDQ0PBjSq0gU7XqefSaQo26Izv0MetPlTJLrvx0US SptazykeDR4Qep0/Ectl4zT/LCcr9+l/8H8RYXA12tVNmjkKbtUxdJIv/mXzKSKC9bJ/ 1jlxClhA1FsnYbq4ruWAc49B5ikYeLgl9a0n6znrGmqCtKFrcUCbzU4tzvwTGfJDxEdV eA8w== X-Gm-Message-State: APt69E3bHGYR5hi5Hrokqs8br1YbM49pQqvYG+6DBORKcTdivZuHyTNz c1JqUVu3TLgM9IfmyxQQfBVY4LaMTSn5VXrVyNzdDA== X-Google-Smtp-Source: ADUXVKL8olxdy8EkEVFxma2uJqUafHU4+ETrNIfEV8o/UUIdT4rrYKSScOGS5nF6hQw4pK597c99rBa1Y65hhed2rGM= X-Received: by 2002:aca:c681:: with SMTP id w123-v6mr7025900oif.94.1529341489965; Mon, 18 Jun 2018 10:04:49 -0700 (PDT) MIME-Version: 1.0 References: <20180618162419.GA41031@rancor.immure.com> In-Reply-To: From: Eric Wayte Date: Mon, 18 Jun 2018 13:04:11 -0400 Message-ID: Subject: Re: Limiting ZFS ARC Size? To: frank2@fjl.co.uk Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2018 17:04:51 -0000 https://wiki.freebsd.org/ZFSTuningGuide On Mon, Jun 18, 2018 at 1:03 PM Frank Leonhardt wrote: > On 2018-06-18 17:24, Bob Willcox wrote: > > Is there a way to limit the size of the ZFS ARC cache? I am running a > > 12-current system with 32GB of memory and the ZFS ARC grows to a hughe > > size, > > to the point where my running processes (such as firefox) start page > > thrashing. > > The sysctl variables vfs.zfs.arc_min and vfs.zfs.arc_max may very well > be what you're looking for. > > Regards, Frank. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Eric Wayte