<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 10, 2015 at 12:24 PM, Michal Skrivanek <span dir="ltr">&lt;<a href="mailto:mskrivan@redhat.com" target="_blank">mskrivan@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><br><br>
&gt;<br>
&gt; Yes, CentOS 7.1 updated up to a couple of days ago.<br>
<br>
</span>Can you try 7.2? I don’t remember exactly but it may be that in earlier guests it’s not automatic. Check some tips for onlining memory explicitly<br>
<br>
5.2. How to online memory<br>
 ------------<br>
Even if the memory is hot-added, it is not at ready-to-use state.<br>
For using newly added memory, you have to &quot;online&quot; the memory block.<br>
<br>
For onlining, you have to write &quot;online&quot; to the memory block&#39;s state file as:<br>
<br>
% echo online &gt; /sys/devices/system/memory/memoryXXX/state<br>
<div><div class="h5"><br></div></div></blockquote><div> </div></div><br></div><div class="gmail_extra">Hello,</div><div class="gmail_extra">with your suggestions it worked as expected, without updating any packages in VM 7.1 guest (I seemed to remember that the forced online operation should not be necessary any more...):</div><div class="gmail_extra"><br></div><div class="gmail_extra">Starting state with 10Gb of ram inside the VM</div><div class="gmail_extra"><div class="gmail_extra">[root@racclient1 ~]# ll -d  /sys/devices/system/memory/memory* | wc -l</div><div class="gmail_extra">80</div><div class="gmail_extra"><br></div><div class="gmail_extra">slots defined:</div><div class="gmail_extra">0 --&gt; 23</div><div class="gmail_extra">32 --&gt; 87</div><div class="gmail_extra"><br></div><div class="gmail_extra">Increase from web gui memory from 10240 to 12288</div><div class="gmail_extra"><br></div><div class="gmail_extra">I see this in messages as expected</div><div class="gmail_extra"><br></div><div class="gmail_extra">Dec 10 12:59:32 racclient1 kernel: init_memory_mapping: [mem 0x2c0000000-0x33fffffff]</div><div class="gmail_extra"><br></div><div class="gmail_extra">In /sys/devices/system/memory I see 16 new memoryxx directories (probably each one addressing 128Mb...)</div><div class="gmail_extra"><br></div><div class="gmail_extra">88</div><div class="gmail_extra">89</div><div class="gmail_extra">90</div><div class="gmail_extra">91</div><div class="gmail_extra">92</div><div class="gmail_extra">93</div><div class="gmail_extra">94</div><div class="gmail_extra">95</div><div class="gmail_extra">96</div><div class="gmail_extra">97</div><div class="gmail_extra">98</div><div class="gmail_extra">99</div><div class="gmail_extra">100</div><div class="gmail_extra">101</div><div class="gmail_extra">102</div><div class="gmail_extra">103</div><div class="gmail_extra"><br></div><div class="gmail_extra">They have indeed been added but are offline, eg</div><div class="gmail_extra"><br></div><div class="gmail_extra">latest previous one:</div><div class="gmail_extra">[root@racclient1 ~]# cat /sys/devices/system/memory/memory87/state </div><div class="gmail_extra">online</div><div class="gmail_extra"><br></div><div class="gmail_extra">first newly added one:</div><div class="gmail_extra">[root@racclient1 ~]# cat /sys/devices/system/memory/memory88/state </div><div class="gmail_extra">offline</div><div class="gmail_extra"><br></div><div class="gmail_extra">[root@racclient1 ~]# cat /sys/devices/system/memory/memory87/online </div><div class="gmail_extra">1</div><div class="gmail_extra">[root@racclient1 ~]# cat /sys/devices/system/memory/memory88/online </div><div class="gmail_extra">0</div><div class="gmail_extra"><br></div><div class="gmail_extra">put online the new segments:</div><div class="gmail_extra">[root@racclient1 ~]# for i in $(seq 88 103)</div><div class="gmail_extra">&gt; do</div><div class="gmail_extra">&gt; echo online &gt; /sys/devices/system/memory/memory${i}/state</div><div class="gmail_extra">&gt; done</div><div class="gmail_extra"><br></div><div class="gmail_extra">Memory has been increased now, also from inside the OS.</div><div class="gmail_extra"><br></div><div class="gmail_extra">[root@racclient1 ~]# free</div><div class="gmail_extra">              total        used        free      shared  buff/cache   available</div><div class="gmail_extra">Mem:       12334428      222080    11934044        8480      178304    12019544</div><div><br></div><div><br></div><div>NOTE: no new entries after online memory, neither in messages file nor in dmesg output.</div><div><br></div><div>Questions:</div><div>1) which component to bugzilla against for message confusing window of the gui?</div><div>2) Initially I see that my VM (in webadmin gui) has 8Gb of defined memory AND 8Gb of &quot;Physical Memory Guaranteed&quot;.</div><div>After increasing memory, the second one remains the same and doesn&#39;t change even after shutdown / Power on.</div><div>I think it could be an enhancement to ask the user if he/she wants to change it too, instead of manually go through </div><div>Edit --&gt; resource allocation --&gt; memory allocation screen</div><div>If seen as a agreed enhancement, which components to bugzilla against for RFE?</div><div>Gianluca</div></div></div>