Subject: using > 1GB kernel memory on i386
To: None <tech-kern@netbsd.org>
From: Paul Burton <p_burton@hotmail.com>
List: tech-kern
Date: 04/30/2001 02:36:26
Hello,
	I am writing a memory based database for a routing appliance. I hope to 
keep this database completely in the kernel memory space. I wanted to know 
if and how i can use > 1GB memory within the kernel (I have 3GB physmem). 
Various attempts to tweak 
KERNBASE/VM_MIN_KERNEL_ADDRESS/VM_MAX_KERNEL_ADDRESS resulted in hangs 
and/or panics.

	Secondly, I also noticed that trying to allocate anything more than 128GB 
out of the usual kernel_map (using uvm_km_suballoc) left the system without 
memory for other purposes like buffer cache. How can i find out what the max 
amount I can safely allocate is? I also reduced the kmempages to half, but 
that didnt help.

	I am using the kernel that came with 1.5 distro on an i386. Are there any 
other approaches I ahould be looking at to achieve this? maybe a separate 
vm_map?

TIA,
Paul
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.