setting memory size with hw.physmem

From: Manjunath Ranganathaiah <mgowda82_at_gmail.com>
Date: Tue, 22 Jul 2008 15:35:10 -0700
On of my system with 8G of RAM running 7.0R amd64, dmesg shows memory usage as:

usable memory = 8576397312 (8179 MB)
avail memory  = 8289071104 (7905 MB)

If I set hw.physmem tunable to  8g, dmesg shows the following

usable memory = 7771095040 (7411 MB)
avail memory  = 7507386368 (7159 MB)

If I set  hw.physmem to 8950M

usable memory = 8565911552 (8169 MB)
avail memory  = 8278892544 (7895 MB)

if I set hw.physmem to 8999M

usable memory = 8576397312 (8179 MB)
avail memory  = 8289071104 (7905 MB)


Is this expected behavior?
How do I  increase or decrease physical memory size by 1MB?


Thanks,
-Manjunath
Received on Tue Jul 22 2008 - 20:59:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC