From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 19 09:42:03 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 9A65A106566B for ; Tue, 19 Jan 2010 09:42:03 +0000 (UTC) (envelope-from list@sheringeorge.co.cc) Received: from mail-px0-f183.google.com (mail-px0-f183.google.com [209.85.216.183]) by mx1.freebsd.org (Postfix) with ESMTP id 7F19B8FC0C for ; Tue, 19 Jan 2010 09:42:03 +0000 (UTC) Received: by pxi13 with SMTP id 13so2648269pxi.3 for ; Tue, 19 Jan 2010 01:42:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.141.90.12 with SMTP id s12mr3481527rvl.123.1263892768978; Tue, 19 Jan 2010 01:19:28 -0800 (PST) Date: Tue, 19 Jan 2010 14:49:28 +0530 Message-ID: <7f14551c1001190119x46c6b04dx2362cd1252f0d81@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: 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:42:03 -0000 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. -- Best Regards, Sherin