Re: Limiting kernel core usage

2003-01-01 Thread Dan Nelson
In the last episode (Jan 01), Matthew Emmerton said:
> > How do I stop my kernel from using a piece of core? I mean, if I
> > have 32MB of memory, how do i make it to use only the low 16,for
> > instance (not removing the chips themselves,though)?
> 
> I think setting MAXMEM in your kernel config file as follows will do what

If you just want to temporarily lower the memory usage (for testing,
perhaps), it's easier to just add this:

hw.physmem="16M"

to /boot/loader.conf and reboot.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Limiting kernel core usage

2003-01-01 Thread Matthew Emmerton
> Hello,
>
> How do I stop my kernel from using a piece of core? I mean,
> if I have 32MB of memory, how do i make it to use only the
> low 16,for instance (not removing the chips themselves,though)?

I think setting MAXMEM in your kernel config file as follows will do what
you want.

optionsMAXMEM="(16*1024)"

>From the LINT kernel:

# MAXMEM specifies the amount of RAM on the machine; if this is not
# specified, FreeBSD will first read the amount of memory from the CMOS
# RAM, so the amount of memory will initially be limited to 64MB or 16MB
# depending on the BIOS.  If the BIOS reports 64MB, a memory probe will
# then attempt to detect the installed amount of RAM.  If this probe
# fails to detect >64MB RAM you will have to use the MAXMEM option.
# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
# be 131072 (128 * 1024).

--
Matt Emmerton


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Limiting kernel core usage

2003-01-01 Thread Lowell Gilbert
DoubleF <[EMAIL PROTECTED]> writes:

> How do I stop my kernel from using a piece of core? I mean,
> if I have 32MB of memory, how do i make it to use only the
> low 16,for instance (not removing the chips themselves,though)?

For this case, the MAXMEM kernel configuration option should do it.
See the LINT file.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message