Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Mar 2011 17:36:42 +0300
From:      Dmitry Krivenok <krivenok.dmitry@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   hw.physmem (loader.conf and sysctl)
Message-ID:  <AANLkTi=QDBjw26fhZSRg6wrTB=E0-yEsWZuRK%2BZ7L03J@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello Hackers,
I've limited the amount of physical memory visible for my FreeBSD-8.2 by adding
the following in loader.conf:

$ cat /boot/loader.conf | grep hw.physmem
hw.physmem="500M"
$

However, according to sysctl, the system sees

$ sysctl hw.physmem
hw.physmem: 507445248
$

The difference is (500 * 2**20 - 507445248) / 2**20 == 16.0625 Mb.
How does the system use this "hidden" memory?

Thanks!

-- 
Sincerely yours, Dmitry V. Krivenok
e-mail: krivenok.dmitry@gmail.com
skype: krivenok_dmitry
jabber: krivenok_dmitry@jabber.ru
icq: 242-526-443



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=QDBjw26fhZSRg6wrTB=E0-yEsWZuRK%2BZ7L03J>