From owner-freebsd-current@FreeBSD.ORG Thu May 6 08:40:06 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA1A616A4CE; Thu, 6 May 2004 08:40:06 -0700 (PDT) Received: from schlepper.zs64.net (schlepper.zs64.net [212.12.50.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8D9443D2D; Thu, 6 May 2004 08:40:05 -0700 (PDT) (envelope-from stb@lassitu.de) Received: from [IPv6:::1] (schlepper [212.12.50.230]) by schlepper.zs64.net (8.12.10/8.11.1) with ESMTP id i46Fe47D087703; Thu, 6 May 2004 17:40:04 +0200 (CEST) (envelope-from stb@lassitu.de) In-Reply-To: <20040420182233.GC66808@ip.net.ua> References: <20040420134021.GD64842@ip.net.ua> <20040420182233.GC66808@ip.net.ua> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Stefan Bethke Date: Thu, 6 May 2004 17:40:03 +0200 To: current@FreeBSD.org X-Mailer: Apple Mail (2.613) cc: Ruslan Ermilov Subject: Re: Tuning KVA_PAGES / kmem? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 15:40:06 -0000 Am 20.04.2004 um 20:22 schrieb Ruslan Ermilov: > Well, take the amount of your virtual memory (physical + swap), > and decide how much of it you'd like to allocate for kernel. > It's really hard to say what how much memory you need in your > kernel, this is highly dependent on your specific requirements. > If you do a lot of malloc()'s in the kernel, for example... Kris Kennaway was kind enought to give an example that works for him, in a similiar thread on -hackers: > I'm pretty sure it's just a matter of the right tuning. All I needed > to do was to add this on my heavily loaded 4GB machine: > > options VM_KMEM_SIZE_MAX=419430400 #400MB With that option, I can do multiple cvs up's and ports builds simultaneously without problems. Stefan -- Stefan Bethke Fon +49 170 346 0140