Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2005 19:45:31 +0200
From:      Daniel Rock <hackers@deadcafe.de>
To:        =?ISO-8859-1?Q?=D6zkan_KIRIK?= <ozkan@mersin.edu.tr>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Real and Free Memory
Message-ID:  <42DE8DBB.6080800@deadcafe.de>
In-Reply-To: <42DE0E91.9000607@mersin.edu.tr>
References:  <42DE0E91.9000607@mersin.edu.tr>

next in thread | previous in thread | raw e-mail | index | archive | help
Özkan KIRIK schrieb:
> # cat /var/run/dmesg.boot | grep real
> real memory  = 268435456 (256 MB)
> 
> # sysctl vm.vmtotal  | grep Real
> Real Memory:            (Total: 232792K Active 122448K)

Real memory output from dmesg isn't the total amount of memory in the
system, but only the highest address where memory was found. Memory holes
below may reduce the available memory:

real memory  = 6442450944 (6144 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x0000000000090fff, 589824 bytes (144 pages)
0x0000000000985000 - 0x000000007ff1ffff, 2136584192 bytes (521627 pages)
0x0000000100000000 - 0x0000000174baffff, 1958412288 bytes (478128 pages)
avail memory = 4085907456 (3896 MB)

In above output you can see a very large memory hole of 2GB in total. The
machine has 4GB RAM. Between 2GB-4GB has a memory hole to map in the PCI
address space. Depending on the BIOS you will likely find a memory hole
between 640kB-1/4/16MB in your system. Just boot into verbose mode and read
the lines after "Physical memory chunk(s):"


Daniel




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42DE8DBB.6080800>