Subject: Increasing NBUF and BUFPAGES beyond 1/2 of the kernel map
To: None <port-sparc@NetBSD.ORG>
From: Brian Buhrow <buhrow@cats.ucsc.edu>
List: port-sparc
Date: 04/06/1998 10:24:20
	Hello.  I'm running a NetBSD 1.3 system as a news server and I'd like
to blow the buffer cache  out to about 60MB.  (This is a machine with 256MB
of memory.)  My calculations show that this is about 15360 pages, so I set
NBUF=15360 and BUFPAGES=15360 in my kernel config and rebooted.
Kmem_suballoc() returns KERN_NO_SPACE when the machine reboots on this new
kernel and that's all she wrote for that kernel.  After further
investigation, it appears that setting BUFPAGES and NBUF beyond 3072, half
of the available kernel map will always cause  a panic.  What do I need to
do to get the buffer cache beyond 12MB or so?
-thanks
-Brian