hw.physmem/hw.realmem question

Sergey Kandaurov pluknet at gmail.com
Wed Jul 10 09:50:53 UTC 2013


On 3 July 2013 01:45, Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl> wrote:
>>  AMD Features2=0x1<LAHF>
>>  TSC: P-state invariant, performance statistics
>> real memory  = 34359738368 (32768 MB)
>> avail memory = 32191340544 (30700 MB)
>
>
> 2GB memory "disappears" too even when you don't set anything.
>
> i asked such a question for other machine some time ago without much answer.
>
>
> in your laptop it may be shared graphics memory reserved by chipset
>
> still on my dell server
>
>
> real memory  = 34359738368 (32768 MB)
> avail memory = 33166921728 (31630 MB)
>
> i have over 1GB unavailable and it doesn't have shared graphics memory.
>
> it would be nice to be able to look exactly how memory is used.

On amd64 about 3% is cut on startup for page structures, see vm_page_startup().

-- 
wbr,
pluknet


More information about the freebsd-hackers mailing list