From owner-freebsd-current Thu Jan 21 13:57:32 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA03671 for freebsd-current-outgoing; Thu, 21 Jan 1999 13:57:32 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (castles236.castles.com [208.214.165.236]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA03664 for ; Thu, 21 Jan 1999 13:57:28 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id NAA11404; Thu, 21 Jan 1999 13:53:45 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199901212153.NAA11404@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Geoff Buckingham cc: freebsd-current@FreeBSD.ORG Subject: Re: KVA/KVM shortages In-reply-to: Your message of "Thu, 21 Jan 1999 18:09:41 GMT." <19990121180941.G19395@gti.noc.demon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 21 Jan 1999 13:53:44 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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= 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