Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2010 10:57:49 -0300
From:      Jorge Medina <jorge@bsdchile.cl>
To:        Sherin George <list@sheringeorge.co.cc>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Setting "zfs_arc_max" value in FreeBSD 8.
Message-ID:  <28d0e6b81001190557i36a42bc3q4e648d1348d2d178@mail.gmail.com>
In-Reply-To: <7f14551c1001190119l62e3e38fx63b2f69036f463f3@mail.gmail.com>
References:  <7f14551c1001190119l62e3e38fx63b2f69036f463f3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 19, 2010 at 6:19 AM, Sherin George <list@sheringeorge.co.cc>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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28d0e6b81001190557i36a42bc3q4e648d1348d2d178>