loader.conf

Fernando Apesteguía fernando.apesteguia at gmail.com
Fri Apr 10 15:53:04 UTC 2009


On Fri, Apr 10, 2009 at 5:32 PM, gahn <ipfreak at yahoo.com> wrote:
>
> Hi all:
>
> I have a machine with 2GB memory. in the file loader.conf, there is a line:
>
> #hw.physmem="1G"                # Limit physical memory. See loader(8)
>
> Could I remove the "#" and change that to "2G"?

Yes, but if your purpose is to use all the available memory, you don't
need to do anything. Because it is commented, that line doesn't have
effect and the system will use all the available memory.

What does
sysctl hw.physmem
return?

>
> Interestingly, the sysctl indicates the parameter of "hw.physmem" is not changeable.

After booting, it is.

>
> Any guru here give me some enlightenment?
>
>
>
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list