From owner-freebsd-hackers Fri Sep 14 10:50:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from news.IAEhv.nl (news.iae.nl [212.61.26.37]) by hub.freebsd.org (Postfix) with ESMTP id 766BF37B412 for ; Fri, 14 Sep 2001 10:50:08 -0700 (PDT) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id TAA16617 for freebsd-hackers@freebsd.org; Fri, 14 Sep 2001 19:50:07 +0200 (MET DST) Received: by drawbridge.oasis.IAEhv.nl (Postfix, from userid 226) id A834E3E02; Fri, 14 Sep 2001 19:48:53 +0200 (CEST) Subject: kernel memory size To: freebsd-hackers@freebsd.org Date: Tue, 11 Sep 2001 14:46:47 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20010914174853.A834E3E02@drawbridge.oasis.IAEhv.nl> From: volf@oasis.IAEhv.nl (Frank Volf) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is there a way to increase the memory size that is allocated by the kernel to a certain kernel memory pool (is that the correct word?): I mean, I have options VM_KMEM_SIZE="(64*1024*1024)" in my kernel config file, and it appears that I'm only allowed to use half of that memory for a certain pool: # vmstat -m | grep Filter 16 uc_devlist, p1003.1b, IP Filter, igmp, routetbl, ether_multi, vnodes, 256 file desc, FFS node, newblk, IP Filter, routetbl, ifaddr, vnodes, 512 uc_devlist, UFS mount, IP Filter, mount, BIO buffer, ptys, msg, 32K VM pgdata, UFS ihash, inodedep, IP Filter, devbuf IP Filter 276 158K 23307K 32768K 47735 0 0 16,256,512,32K Howerver, this box is a dedicated traffic filtering box, and I want to increase the available kernel memory for this kmalloc category. I grepped in the source, but apart from the assignment type->ks_limit = vm_kmem_size / 2; in kern_malloc.c, I could not find a place were this limit is increased. Is it possible to circumvent this? Frank BTW: I'm running FreeBSD 4.3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message