From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 19 09:46:23 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 D23B110656A8 for ; Tue, 19 Jan 2010 09:46:23 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 8DCDA8FC14 for ; Tue, 19 Jan 2010 09:46:23 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NXAfC-0004et-2U for freebsd-hackers@freebsd.org; Tue, 19 Jan 2010 10:46:18 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jan 2010 10:46:18 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jan 2010 10:46:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Tue, 19 Jan 2010 10:45:59 +0100 Lines: 34 Message-ID: References: <7f14551c1001190119x46c6b04dx2362cd1252f0d81@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20100118 Thunderbird/3.0 In-Reply-To: <7f14551c1001190119x46c6b04dx2362cd1252f0d81@mail.gmail.com> Sender: news 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 09:46:23 -0000 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