<html><body>
<p>Hi,Will<br>
  Thanks<br>
  <tt><br>
&gt;&gt; Hi,<br>
&gt;&gt; This is a question about the different of memory size between lpar and HMC. </tt><br>
<tt>&gt;&gt;...<br>
<br>
&gt;&gt; 2. In lpar didolp2: We get the size of memory is 2174672KB.<br>
&gt;&gt; [root@didolp2 ~]# cat /proc/meminfo<br>
&gt;&gt; MemTotal: 2174672 kB<br>
&gt;&gt;<br>
&gt;&gt; The question is: 2174672/(32*1024) = 66.36572265625<br>
<br>
&gt;MemTotal is the amount of free memory in the partition, which does not<br>
&gt;include the memory that holds the kernel code, (bss, data, init).<br>
<br>
&gt;There should be a few other pieces of data that will add up to the numbers<br>
&gt;you are looking for.<br>
<br>
&gt;in early boot messages, there is a line &quot;SystemCfg-&gt;physicalMemorySize =<br>
&gt;0x.......&quot;. &nbsp; This value should be precisely what you are trying to<br>
&gt;measure.<br>
<br>
&gt;A bit later in the logs, you can also see a line<br>
&gt;&quot;Memory: XXXXk/YYYYk available (###k kernel code, ###k reserved, ###k data,<br>
&gt;###k bss, ###k init).<br>
&gt;the YYYYk should also match what you are looking for.</tt><br>
<br>
If the system boot up several days before, the boot log is not available at this time.  Whether there has any other method to get the physical memory from lpar. <br>
<br>
Could the OS provide a method to obtain the real memory. It will help to dynamic reassign resource according by the load between several partition.<br>
<br>
<br>
Thanks &amp; Best regards,<br>
<br>
--------------------------------------------<br>
Wang Zhaoyu<br>
<br>
Email: wangzyu@cn.ibm.com  <br>
Notes: Zhao Yu Wang/China/Contr/IBM@IBMCN</body></html>