From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 19 10:16:06 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 836141065676 for ; Tue, 19 Jan 2010 10:16:06 +0000 (UTC) (envelope-from list@sheringeorge.co.cc) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 64EDD8FC1D for ; Tue, 19 Jan 2010 10:16:05 +0000 (UTC) Received: by pwi15 with SMTP id 15so2469712pwi.3 for ; Tue, 19 Jan 2010 02:16:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.141.214.8 with SMTP id r8mr5210078rvq.268.1263896165023; Tue, 19 Jan 2010 02:16:05 -0800 (PST) In-Reply-To: References: <7f14551c1001190119x46c6b04dx2362cd1252f0d81@mail.gmail.com> Date: Tue, 19 Jan 2010 15:46:04 +0530 Message-ID: <7f14551c1001190216w49814186n1ada2b721380502b@mail.gmail.com> From: Sherin George To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting "zfs_arc_max" value in FreeBSD 8. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 10:16:06 -0000 Thanks Ivan :) I found It. add following in /boot/loader.conf =================== vfs.zfs.arc_max="10244M" =================== -- Best Regards, Sherin On Tue, Jan 19, 2010 at 3:15 PM, Ivan Voras wrote: > On 01/19/10 10:19, Sherin George wrote: > >> 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 >> >> ================================================= >> 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 = 0x780000000 >> >> or >> >> set zfs:zfs_arc_max = 32212254720 >> ================================================= >> >> 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. >> > > You should probably start here: > > http://wiki.freebsd.org/ZFSTuningGuide > > and more generally, here: > > http://wiki.freebsd.org/ZFS > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >