From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 19 09:49:18 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 0350F1065670 for ; Tue, 19 Jan 2010 09:49:18 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 613118FC14 for ; Tue, 19 Jan 2010 09:49:16 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 19so201172fgg.13 for ; Tue, 19 Jan 2010 01:49:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=nKzIPy7f5agLJD8yE/OpV92+ix2Z4Wa0p+qBxXs8msw=; b=oMwDY5nAgpYpI4IGEUqIoVsJpuLZqXDkVNjaMf57jWohzzg024886vw/n3ZzBwzKSw JWXAqL4RgieLVInzjfOH47cciNwMoVhXXfomgwWANEF1iqRem8tuIp7etktjQh1ixga0 mXpLdTsRaMeUPEr/CgZmen3A2+AiH3PouWoEs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fsWngWq8cLDLYT1SBYLWCqfeHW14wGU0eUZlUpc+hWBOMpIIKGHeLELNZx+Pcof6ea q6xJ8kibaAe4NwmepoV0pfPjJULLTvaj7HrKUitF2QbdxngiSjYHXdzqKorWk1C+O2YF 2FaIZTv3Z3cDWagigvZfsLnH+oT6nU/qV7yh4= MIME-Version: 1.0 Received: by 10.239.190.137 with SMTP id x9mr140890hbh.18.1263894556135; Tue, 19 Jan 2010 01:49:16 -0800 (PST) In-Reply-To: References: <7f14551c1001190119x46c6b04dx2362cd1252f0d81@mail.gmail.com> Date: Tue, 19 Jan 2010 09:49:16 +0000 Message-ID: From: krad To: Ivan Voras X-Mailman-Approved-At: Tue, 19 Jan 2010 12:23:47 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org 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:49:18 -0000 2010/1/19 Ivan Voras > 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" > sysctl vfs.zfs.arc_max=XXXX add it to /etc/sysctl.conf to make persistent