From owner-freebsd-hackers Thu Apr 25 13:14:51 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 60B4537B404 for ; Thu, 25 Apr 2002 13:14:47 -0700 (PDT) Received: from mailrelay1.informatik.tu-muenchen.de (mailrelay.informatik.tu-muenchen.de [131.159.2.33]) by mailout.informatik.tu-muenchen.de (Postfix) with ESMTP id 60BC261C8 for ; Thu, 25 Apr 2002 22:14:46 +0200 (MEST) Received: from atrbg11.informatik.tu-muenchen.de (atrbg11.informatik.tu-muenchen.de [131.159.24.91]) by mailrelay1.informatik.tu-muenchen.de (Postfix) with ESMTP id 464357946 for ; Thu, 25 Apr 2002 22:14:46 +0200 (MEST) Received: by atrbg11.informatik.tu-muenchen.de (Postfix, from userid 20455) id E1111139B3; Thu, 25 Apr 2002 22:14:45 +0200 (CEST) Date: Thu, 25 Apr 2002 22:14:45 +0200 From: Daniel Lang To: freebsd-hackers@freebsd.org Subject: Re: 4.5-STABLE panicks ... KVA_PAGES the solution? Message-ID: <20020425201445.GA87785@atrbg11.informatik.tu-muenchen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i X-Geek: GCS/CC d-- s: a- C++$ UBS++++$ P+++$ L- E-(---) W+++(--) N++ o K w--- O? M? V? PS+(++) PE--(+) Y+ PGP+ t++ 5+++ X R+(-) tv+ b+ DI++ D++ G++ e+++ h---(-) r++>+++ y+ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, "Marc G. Fournier" wrote, [..] > So, I have plenty of swapspace left, lots of idle CPU and a whole whack > > Someone suggested setting KVA_PAGES higher then the default for > this, but, as this is a production server, and its not something I've ever > played with, I'd like to know what the ramifications are ... > > The server has 3Gig of RAM now ... according to opt_global.h, > KVA_PAGES is set to 256 (1G) right now ... but if its 1G by default, how > does a system withi <1G of RAM in it "work"? Or does this limit something > else altogether? I'm not finding any good 'reading material' on this so > far, but from waht I found through a search, it seems that its recommended > to be set to 768(3G) vs 256(1G)? [..] KVA_PAGES only determines the kernels _address space_, and thus limits the amount of memory the kernel can use. If you have lower system memory (which does not mean you don't have less virtual memory, but even then...) its not a problem. If you raise the KVA_PAGES to 3 GB, you have only 1GB left for userland (again, address space, not memory), since 32bit architectures can only address 4GB of memory. I'm not sure about your problem, maybe an increase of KVA_SPACE could be a solution. Try 512 first, so you have 2GB for kernel and userland each. HTH, Daniel -- IRCnet: Mr-Spock - Cool people don't move, they just hang around. - Daniel Lang * dl@leo.org * ++49 89 289 25735 * http://www.leo.org/~dl/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message