From owner-freebsd-arch@FreeBSD.ORG Fri Sep 17 15:23:47 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 7BCC91065679; Fri, 17 Sep 2010 15:23:47 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4BE6A8FC1B; Fri, 17 Sep 2010 15:23:47 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id F0CB646BC1; Fri, 17 Sep 2010 11:23:46 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 031198A04E; Fri, 17 Sep 2010 11:23:46 -0400 (EDT) From: John Baldwin To: Andriy Gapon Date: Fri, 17 Sep 2010 09:00:41 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: <4C4DB2B8.9080404@freebsd.org> <201007301614.40768.jhb@freebsd.org> <4C931878.803@freebsd.org> In-Reply-To: <4C931878.803@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009170900.41476.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 17 Sep 2010 11:23:46 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx 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:23:47 -0000 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? 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. -- John Baldwin