From owner-freebsd-arch@FreeBSD.ORG Fri Sep 17 15:32:51 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42FEF1065675; Fri, 17 Sep 2010 15:32:51 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2057E8FC1C; Fri, 17 Sep 2010 15:32:47 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA24147; Fri, 17 Sep 2010 18:32:44 +0300 (EEST) (envelope-from avg@freebsd.org) Message-ID: <4C938A1C.40307@freebsd.org> Date: Fri, 17 Sep 2010 18:32:44 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100909 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: John Baldwin References: <4C4DB2B8.9080404@freebsd.org> <201007301614.40768.jhb@freebsd.org> <4C931878.803@freebsd.org> <201009170900.41476.jhb@freebsd.org> In-Reply-To: <201009170900.41476.jhb@freebsd.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: alc@freebsd.org, Alan Cox , freebsd-arch@freebsd.org Subject: Re: amd64: change VM_KMEM_SIZE_SCALE to 1? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2010 15:32:51 -0000 on 17/09/2010 16:00 John Baldwin said the following: > On Friday, September 17, 2010 3:27:52 am Andriy Gapon wrote: >> on 30/07/2010 23:14 John Baldwin said the following: >>> I think this is much better. My strawman was rather hackish in that it was >>> layering a hack on top of the existing calculations. I prefer your approach. >>> I do not think penalizing amd64 machines with less than 1.5GB is a big worry >>> as most x86 machines with a small amount of memory are probably running as >>> i386 anyway. Given that, I would probably lean towards 1/8 instead of 1/7, >>> but I would be happy with either one. >> >> Alan, John, >> >> are you planning to commit the vnodes limit patch or a version of it? > > I thought Alan had committed it already? Oops, missed this one. Thanks a lot! > Author: alc > Date: Mon Aug 2 21:33:36 2010 > New Revision: 210782 > URL: http://svn.freebsd.org/changeset/base/210782 > > Log: > Update the "desiredvnodes" calculation. In particular, make the part of > the calculation that is based on the kernel's heap size more conservative. > Hopefully, this will eliminate the need for MAXVNODES_MAX, but for the > time being set MAXVNODES_MAX to a large value. > > Reviewed by: jhb@ > MFC after: 6 weeks > > Looks like its MFC timer has likely triggered even. > -- Andriy Gapon