Hey, where'd my RAM go?
Booting OpenBSD 4.9 but this question probably applies to all BSDs.
My laptop has 2GB of memory. The BIOS does say 2048M. I'm booting the amd64 kernel.
dmesg at boot-time says:
real mem = 2035MB
avail mem = 1967MB
The kernel is about 9MB. So:
2048MB - 9MB = 2039MB. Where did the other 4MB go?
And is the difference between 2035MB and 1967MB various kernel memory structures (i.e., its working space)?
I guess I'm not really sure what "real mem" is supposed to represent (I thought it was physical - size of kernel). I assume "avail mem" is the memory available to all processes.
Just curious.
|