paulengstler wrote:
On my 32-bit system with the newest paravirt kernel this shows up:
Code:
paul@my-linode:~# free -m
total used free shared buffers cached
Mem: 724 682 42 0 75 425
-/+ buffers/cache: 180 543
Swap: 511 10 501
So it seems like it is either used up by the kernel or not properly reserved.
I'm not sure I follow the "not properly reserved" part. It's due to the fact that the kernel is reserving the memory that you don't see it as free in user space (e.g., it's why the free total memory is only 724).
You can check the reserved memory by looking through your dmesg output for the Memory: line. While some of reserved memory is fixed overhead, part is variable by available memory (such as for page tables).
In your case, the ~45MB with the 32-bit kernel compares to the ~90MB of the OP with the 64-bit kernel. So beyond other differences in memory usage just by applications running on a 64-bit system, the 64-bit system is starting with that much less memory off the bat.
I have some other kernel numbers in the thread (which also discusses the 2.6.39 series differences) at
viewtopic.php?t=7229 - for comparison to the first post, my 2.6.39.1 32-bit 512s have:
Code:
Memory: 509012k/532480k available (5701k kernel code, 23020k reserved, 1656k data, 412k init, 0k highmem)
which results in 497M (or 509424k) in "free" output.
-- David