Date: Tue, 20 Apr 2004 16:40:21 +0300 From: Ruslan Ermilov <ru@freebsd.org> To: Stefan Bethke <stb@lassitu.de> Cc: freebsd-current@freebsd.org Subject: Re: Tuning KVA_PAGES / kmem? Message-ID: <20040420134021.GD64842@ip.net.ua> In-Reply-To: <F2014C7A-92BB-11D8-BB31-000393496BE8@lassitu.de> References: <F2014C7A-92BB-11D8-BB31-000393496BE8@lassitu.de>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Tue, Apr 20, 2004 at 01:14:52PM +0200, Stefan Bethke wrote: > Hi, > > I'm struggling a bit with a box I'm setting up right now: 2x Xeon 2.8 > GHz with 6 GB RAM. Main disk is a RAID 5 on 3ware controller. I'm > running -current from around Easter. > > 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 > > I had stability problems when I was using PAE, so I disabled that for > the moment; even when running GENERIC, I get this panic. > > I dug through the archives, and I found some hints that with >>2 GB > RAM, the auto-tuning might produce undesirable results, so I might need > to tune KVA_PAGES to reserve more address space for the kernel, or > fiddle with VM_KMEM_SIZE_MAX, VM_KMEM_SIZE_SCALE, or some vm sysctls. > > Can someone point me in the right direction? > See sys/i386/conf/NOTES, when it talks about KVA_PAGES, for the starters. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAhShFUkv4P6juNwoRAqYrAJ9WmeyBVpf99E824BmHk6gZ2bsM/QCfRe+8 6tp6st8v0OcUwwSnjlI1qDk= =zlVv -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040420134021.GD64842>
