<div dir="ltr"><div>Hello Linuxers,</div><div><br></div><div>I am missing 180MB, and would like to know where they are. The problem really interests me in the context of virtual machines, but it also exists on my laptop (bare metal installation).</div>
<div>The size depends on the installation: on my laptop180MB are missing, in two virtual machine images the numbers are 134 and 384.</div><div>The difference is between the RAM I know I physically have (or that I know KVM was told to allocate the VM):</div>
<div><br></div><div>ladypine@alice:~/phd/c/moc$ grep RAM /var/log/kern.log</div><div>Mar 26 10:24:45 alice kernel: [34324.028293] 1048576 pages RAM</div><div><br></div><div>This is exactly 4G, since each page is 4k: 1048576*4/1024=4096.</div>
<div><br></div><div>and the total memory that /proc/meminfo and top think the system has:</div><div><br></div><div>ladypine@alice:~/phd/c/moc$ grep MemTotal /proc/meminfo</div><div>MemTotal: 4009628 kB</div><div><br>
</div><div>which is a bit less: 4009628/1024=3915.65</div><div><br></div><div>and the gap is:</div><div>4096-4009628/1024=180.35</div><div><br></div><div>So: 180Mb lost, a reward for an honest finder?</div><div><br></div>
-- <br>Orna Agmon Ben-Yehuda.<br><a href="http://ladypine.org">http://ladypine.org</a><br>
</div>