Date: Thu, 21 Jan 1999 13:53:44 -0800 From: Mike Smith <mike@smith.net.au> To: Geoff Buckingham <geoffb@demon.net> Cc: freebsd-current@FreeBSD.ORG Subject: Re: KVA/KVM shortages Message-ID: <199901212153.NAA11404@dingo.cdrom.com> In-Reply-To: Your message of "Thu, 21 Jan 1999 18:09:41 GMT." <19990121180941.G19395@gti.noc.demon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> On tuesday I crashed a machine after it ran out of kvm. (dual PII 400 with > 768MB RAM) poking about in the code adding: > > options "VM_KMEM_SIZE=(24*1024*1024)" > options "VM_KMEM_SIZE_MAX=(128*1024*1024)" > > seems like a good way foward. Is it? >From what I can see, you shouldn't need to set VM_KMEM_SIZE_MAX unless you're also setting VM_KMEM_SIZE_SCALE. I just committed a tweak that allows you to say: set kern.vm.kmem.size=<value> at the loader prompt or in /boot/loader.rc to override the default VM_KMEM_SIZE value. If anyone has any more of these tunables that can easily be enhanced like this, please let me know. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901212153.NAA11404>