From owner-freebsd-current@FreeBSD.ORG Tue Apr 20 06:40:23 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 6ABE316A4D0 for ; Tue, 20 Apr 2004 06:40:23 -0700 (PDT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B91943D41 for ; Tue, 20 Apr 2004 06:40:22 -0700 (PDT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i3KDii0W083449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Apr 2004 16:44:45 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i3KDeLdp065297; Tue, 20 Apr 2004 16:40:21 +0300 (EEST) (envelope-from ru) Date: Tue, 20 Apr 2004 16:40:21 +0300 From: Ruslan Ermilov To: Stefan Bethke Message-ID: <20040420134021.GD64842@ip.net.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gE7i1rD7pdK0Ng3j" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-current@freebsd.org 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: Tue, 20 Apr 2004 13:40:23 -0000 --gE7i1rD7pdK0Ng3j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 20, 2004 at 01:14:52PM +0200, Stefan Bethke wrote: > Hi, >=20 > I'm struggling a bit with a box I'm setting up right now: 2x Xeon 2.8 =20 > GHz with 6 GB RAM. Main disk is a RAID 5 on 3ware controller. I'm =20 > running -current from around Easter. >=20 > Occasionally, the machine panics with: > panic: kmem_malloc(4096): kmem_map too small: 275251200 total allocated > at line 337 in file /usr/src/sys/vm/vm_kern.c >=20 > I had stability problems when I was using PAE, so I disabled that for =20 > the moment; even when running GENERIC, I get this panic. >=20 > I dug through the archives, and I found some hints that with >>2 GB =20 > RAM, the auto-tuning might produce undesirable results, so I might need = =20 > to tune KVA_PAGES to reserve more address space for the kernel, or =20 > fiddle with VM_KMEM_SIZE_MAX, VM_KMEM_SIZE_SCALE, or some vm sysctls. >=20 > Can someone point me in the right direction? >=20 See sys/i386/conf/NOTES, when it talks about KVA_PAGES, for the starters. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --gE7i1rD7pdK0Ng3j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAhShFUkv4P6juNwoRAqYrAJ9WmeyBVpf99E824BmHk6gZ2bsM/QCfRe+8 6tp6st8v0OcUwwSnjlI1qDk= =zlVv -----END PGP SIGNATURE----- --gE7i1rD7pdK0Ng3j--