From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 13:57:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F34A10656A4 for ; Tue, 19 Jan 2010 13:57:50 +0000 (UTC) (envelope-from jorge@bsdchile.cl) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id E4F4D8FC29 for ; Tue, 19 Jan 2010 13:57:49 +0000 (UTC) Received: by pwi15 with SMTP id 15so2573170pwi.3 for ; Tue, 19 Jan 2010 05:57:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.62.12 with SMTP id k12mr5201107wfa.138.1263909469480; Tue, 19 Jan 2010 05:57:49 -0800 (PST) In-Reply-To: <7f14551c1001190119l62e3e38fx63b2f69036f463f3@mail.gmail.com> References: <7f14551c1001190119l62e3e38fx63b2f69036f463f3@mail.gmail.com> Date: Tue, 19 Jan 2010 10:57:49 -0300 Message-ID: <28d0e6b81001190557i36a42bc3q4e648d1348d2d178@mail.gmail.com> From: Jorge Medina To: Sherin George Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Setting "zfs_arc_max" value in FreeBSD 8. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 13:57:50 -0000 On Tue, Jan 19, 2010 at 6:19 AM, Sherin George wro= te: > Hello, > > I am trying to tune ZFS file system by setting "zfs_arc_max" value in > FreeBSD 8. > > In solaris, it is achieved like this > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > For example, if an application needs 5 GBytes of memory on a system with > 36-GBytes of memory, you could set the arc maximum to 30 GBytes, > (0x780000000 or 32212254720 bytes). Set the zfs:zfs_arc_max parameter in > the > /etc/system file: > > set zfs:zfs_arc_max =3D 0x780000000 > > or > > set zfs:zfs_arc_max =3D 32212254720 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > But, I couldn't find /etc/system file in FreeBSD. > > Could some one please guide me to correctly configure "zfs_arc_max" in > FreeBSD 8. > > set in /etc/sysctl.conf man sysctl.conf --=20 Jorge Andr=E9s Medina Oliva.