From owner-freebsd-stable@FreeBSD.ORG Tue Feb 24 10:03:24 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19EBD16A4CE for ; Tue, 24 Feb 2004 10:03:24 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1210C43D1F for ; Tue, 24 Feb 2004 10:03:24 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 073E872DD4; Tue, 24 Feb 2004 10:03:24 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 0495172DD2; Tue, 24 Feb 2004 10:03:24 -0800 (PST) Date: Tue, 24 Feb 2004 10:03:23 -0800 (PST) From: Doug White To: "Marc G. Fournier" In-Reply-To: <20040224105631.J48887@ganymede.hub.org> Message-ID: <20040224100043.F30559@carver.gumbysoft.com> References: <05F984A0-665D-11D8-8B23-000A958F0F6A@isprime.com> <20040224105631.J48887@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Phil Rosenthal cc: freebsd-stable@freebsd.org Subject: Re: >2GB Bugs still exist in FreeBSD 4.9 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 18:03:24 -0000 On Tue, 24 Feb 2004, Marc G. Fournier wrote: > On Mon, 23 Feb 2004, Phil Rosenthal wrote: > > > I haven't touched the VM_KMEM_SIZE/VM_KMEM_SIZE_MAX options, however. > > Reading the LINT notes, this seems unrelated... Are you sure that's a > > necessary change? > > Honestly, its been so long now that I'm not 100% certain exactly what I > was addressing with the VM_KMEM_* stuff ... I do alot on our servers with > unionfs, which tends to require some settings to be increased (ie. vnodes) > to quite high values ... I *think* I raised KVA_PAGES *because* I needed > to raise VM_KMEM_SIZE* to accommodate those increases ... but, again, it > was ages ago ... Something else you might try, in lieu of these changes, is to drop maxusers to 128. This frees up a lot of KVM. The auto-sizer maxes out at 512MB, and past 1GB the page tables start consuming a non-trivial amount of memory. If you need to increase maxfiles or mbufs, you can tweak those manually using loader and/or sysctl. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org