Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2012 12:21:03 -0700 (PDT)
From:      ping chen <ocean_grey@hotmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: distinguish between Maxmem, realmem, physmem
Message-ID:  <1341861663173-5725463.post@n5.nabble.com>
In-Reply-To: <4FEC85F4.8010005@FreeBSD.org>
References:  <CBE35EDBE4727C4BAD013A73D993FE6B04B28AE5C655@EMBX01-WF.jnpr.net> <201206280958.13859.jhb@freebsd.org> <20120628144630.GA50099@dragon.genyosha.net> <0262B234-1618-4072-92A9-7EC1D3AE596D@averesystems.com> <4FEC85F4.8010005@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Kim.

That's very helpful.

One more question, to get teh RAM of the system,  is the way r190599
reliable? Could we trust env variable to get memory reading from bios?   

If I would like to calculate the RAM from 

totalmem = physmem << 12 + reserve_memory+ msgbuff_size

How can I get size of reserve_memory, i belive msgbuff_size is 65536?

THANKS

--
View this message in context: http://freebsd.1045724.n5.nabble.com/distinguish-between-Maxmem-realmem-physmem-tp5722282p5725463.html
Sent from the freebsd-hackers mailing list archive at Nabble.com.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1341861663173-5725463.post>