Subject: From NetBSD 2.0.2 to 3.0 on an Intel D865PERL box with 4GB RAM.
To: None <NetBSD-help@netbsd.org>
From: Gan Uesli Starling <alias@starling.us>
List: netbsd-help
Date: 12/29/2005 17:36:24
The file "LAST_MINUTE" in my ISO of NetBSD 3.0 warns as follows:

 >[i386]
 >
 >        Machines configured with more than 2 GB of physical memory may
 >        experience hangs due to running out of kernel virtual space,
 >        which is needed for kernel datastructures such as file system
 >        metadata buffers.  Various kernel subsystems (including the
 >        file system metadata cache) automatically adjust their memory
 >        usage based on the amount of physical memory in the system,
 >        but this method over-allocates the available kernel virtual
 >        space (1 GB) when the amount of physical memory greatly
 >        exceeds the amount of kernel virtual space.
 >
 >        The only reliable workaround currently known for this problem
 >        is to increase the amount of virtual space available to the
 >        kernel by adding these lines to the kernel config file:
 >
 >        options KERNBASE_LOCORE="0x80000000"
 >        makeoptions TEXTADDR="0x80100000"
 >
 >        This will increase the kernel virtual space to 2 GB, but this
 >        has the drawback that the application virtual space is
 >        decreased from 3 GB to 2 GB (since the 32-bit address space
 >        supported by the hardware must be shared between the kernel
 >        and application on this architecture).
 >
 >        If any application that is to run on the system needs more
 >        than 2 GB of application virtual space, then this work-around
 >        cannot be used.  A possible alternative work-around is to
 >        reduce the amount of physical memory used for file system
 >        buffers by using sysctl to change the value of the tunable
 >        "vm.bufmem_hiwater" to a lower value, perhaps 200000000
 >        (200 MB).

My questions are twofold:

My i386 box has 4GB. So the above applies to me. Sounds like that means
I'll have to compile from source instead of just do the binary install.
Is that correct?

Or might I be best advised to patiently await some future version of
NetBSD 3.0.X wherein the above might be patched?