From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 09:46:09 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 B32C9106566C for ; Tue, 19 Jan 2010 09:46:09 +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 97A508FC1B for ; Tue, 19 Jan 2010 09:46:09 +0000 (UTC) Received: by pwi15 with SMTP id 15so2457017pwi.3 for ; Tue, 19 Jan 2010 01:46:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.141.188.1 with SMTP id q1mr5188001rvp.294.1263892755682; Tue, 19 Jan 2010 01:19:15 -0800 (PST) Date: Tue, 19 Jan 2010 14:49:15 +0530 Message-ID: <7f14551c1001190119l62e3e38fx63b2f69036f463f3@mail.gmail.com> From: Sherin George To: freebsd-questions@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-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 09:46:09 -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