From owner-freebsd-stable Sun Apr 21 0:39:33 2002 Delivered-To: freebsd-stable@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 385AA37B419; Sun, 21 Apr 2002 00:39:29 -0700 (PDT) Received: from pool0021.cvx21-bradley.dialup.earthlink.net ([209.179.192.21] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 16zBwV-0006zJ-00; Sun, 21 Apr 2002 00:39:27 -0700 Message-ID: <3CC26C91.C81002ED@mindspring.com> Date: Sun, 21 Apr 2002 00:38:57 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Marc G. Fournier" Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? References: <20020421000839.A1721-100000@mail1.hub.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Marc G. Fournier" wrote: > > You have more memory than you can allocate kernel memory to > > provide page table entries for. > > > > The only solution is to increase your kernel virtual address > > space size to accomodate the page mappings. > > > > How to do this varies widely by the version of FreeBSD you are > > using, and, unless you read "NOTES" and are running a recent > > -current, is not incredibly well documented, and requires an > > understanding of how the virtual address space is laid out and > > managed (which is also not well documented anywhere). > > Ya, this is the roadblock I'm hitting :( I'm running 4.5-STABLE here, as > of this afternoon ... thoughts/suggestiosn based on that? Read the handbook as it existed for 4.5-STABLE, and read NOTES. It (sorta) tells you how to increase your KVA size. > Also, is there somethign that I can run to monitor this, similar to > running netstat -m to watch nmbclusters? DDB? 8-) 8-). No, there's no stats collected on this stuff, because it's a pretty obvious and straight-forward thing: you have to have a KVA space large enough that, once you subtract out 4K for each 4M of physical memory and swap (max 4G total for both), you end up with memory left over for the kernel to use, and your limits are such that the you don't run out of PTEs before you run out of mbufs (or whatever you plan on allocating). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message