From owner-freebsd-stable@FreeBSD.ORG Fri Feb 12 18:47:41 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 449481065693; Fri, 12 Feb 2010 18:47:41 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-iw0-f194.google.com (mail-iw0-f194.google.com [209.85.223.194]) by mx1.freebsd.org (Postfix) with ESMTP id EFE788FC13; Fri, 12 Feb 2010 18:47:40 +0000 (UTC) Received: by iwn32 with SMTP id 32so4022144iwn.14 for ; Fri, 12 Feb 2010 10:47:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=i9qneCSkAuxoeT4+Nrm75Bw61Rquoiz+P0SQk0Vod5g=; b=GOHHrXanLA+zW3zpS45jYOxaL2cgX8IPzgdxVg1ES9Vm4qII1CTo0Lt62gbCDjIq6g W2HqF7Rwa7DQHprNHM1teQ4PsARANMiJDpcDEbPd0FJIDzk+vOe7ygHx0I7Op7/6f0OJ bPw57pWtBVkeh9dopXB+fz0pteV5wGAeSs9JI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=q7Z64EmtTJ8gWIRPd4WleukudNG1Tw906O63yjKQ8d8bdXWQIT2nhR5a/w8/fg16uF 0CxlXZ07J9eNq0wvd+7pO1gv9wPY1opynpsFECTPR0Phgo0lpVxaVNgpQA00QsiBa4ue Wrk1zknpowsuM8VdvRd39h35UqlXHPWASiDt8= MIME-Version: 1.0 Sender: artemb@gmail.com Received: by 10.231.147.149 with SMTP id l21mr314072ibv.0.1266000460156; Fri, 12 Feb 2010 10:47:40 -0800 (PST) In-Reply-To: <4B759E70.4030809@comcast.net> References: <4B759E70.4030809@comcast.net> Date: Fri, 12 Feb 2010 10:47:40 -0800 X-Google-Sender-Auth: 5b14e99a2562fe94 Message-ID: From: Artem Belevich To: Steve Polyack Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.org, freebsd-stable Subject: Re: ZFS ARC being limited below what is defined in /boot/loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2010 18:47:41 -0000 Check your vm.kmem_size. Default setting is way too low. Set it to at least double of desired arc size. --Artem On Fri, Feb 12, 2010 at 10:31 AM, Steve Polyack wrote: > Has anyone had an issue with the ZFS ARC max being limited below what has > been defined in /boot/loader.conf? =A0I just upgraded the RAM in a > ZFS-equipped system and attempted to devote 4GB to the ARC cache by placi= ng > the following in loader.conf: > =A0vfs.zfs.arc_max=3D"4096M" > > However, after rebooting, querying the sysctl gives me this: > $ sysctl vfs.zfs.arc_max > vfs.zfs.arc_max: 1726489600 > > or about 1.7GB, an odd number that I can't find any references to. =A0For > reference, I'm running 8-STABLE (as of Jan 19th) on an amd64 system with = 8GB > of RAM. =A0The system was previously very stable with 4GB of RAM and a 51= 2MB > arc_max. =A0I have not modified vm.kmem_size_max (defaults to ~330GB on a= md64) > or any other ZFS tunables. =A0I'd also like to avoid syncing up to the cu= rrent > 8-STABLE if at all possible. > > Thanks, > Steve Polyack > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >