--Apple-Mail=_969CE17C-EAA3-4702-836D-32D271E3A43E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
On 10 Dec 2015, at 13:16, Gianluca Cecchi
<gianluca.cecchi(a)gmail.com> =
wrote:
=20
On Thu, Dec 10, 2015 at 12:24 PM, Michal Skrivanek =
<mskrivan(a)redhat.com
<mailto:mskrivan@redhat.com>> wrote:
=20
=20
>
> Yes, CentOS 7.1 updated up to a couple of days ago.
=20
Can you try 7.2? I don=E2=80=99t remember exactly but it may be that =
in earlier
guests it=E2=80=99s not automatic. Check some tips for =
onlining memory explicitly
=20
5.2. How to online memory
------------
Even if the memory is hot-added, it is not at ready-to-use state.
For using newly added memory, you have to "online" the memory block.
=20
For onlining, you have to write "online" to the memory block's state =
file as:
=20
% echo online > /sys/devices/system/memory/memoryXXX/state
=20
=20
=20
Hello,
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=E2=80=A6):
great!
with 7.2 it should be automatic. I think with Windows it works =
automatically as well.
=20
Starting state with 10Gb of ram inside the VM
[root@racclient1 ~]# ll -d /sys/devices/system/memory/memory* | wc -l
80
=20
slots defined:
0 --> 23
32 --> 87
=20
Increase from web gui memory from 10240 to 12288
=20
I see this in messages as expected
=20
Dec 10 12:59:32 racclient1 kernel: init_memory_mapping: [mem =
0x2c0000000-0x33fffffff]
=20
In /sys/devices/system/memory I see 16 new memoryxx directories =
(probably each
one addressing 128Mb...)
=20
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
=20
They have indeed been added but are offline, eg
=20
latest previous one:
[root@racclient1 ~]# cat /sys/devices/system/memory/memory87/state=20
online
=20
first newly added one:
[root@racclient1 ~]# cat /sys/devices/system/memory/memory88/state=20
offline
=20
[root@racclient1 ~]# cat /sys/devices/system/memory/memory87/online=20
1
[root@racclient1 ~]# cat /sys/devices/system/memory/memory88/online=20
0
=20
put online the new segments:
[root@racclient1 ~]# for i in $(seq 88 103)
> do
> echo online > /sys/devices/system/memory/memory${i}/state
> done
=20
Memory has been increased now, also from inside the OS.
=20
[root@racclient1 ~]# free
total used free shared buff/cache =
available
Mem: 12334428 222080 11934044 8480 178304
=
12019544
=20
=20
NOTE: no new entries after online memory, neither in messages file nor =
in dmesg
output.
=20
Questions:
1) which component to bugzilla against for message confusing window of =
the gui?
doesn=E2=80=99t matter much, ovirt-engine, frontend.
2) Initially I see that my VM (in webadmin gui) has 8Gb of defined =
memory AND 8Gb of "Physical Memory Guaranteed".
After increasing memory, the second one remains the same and
doesn't =
change even after shutdown / Power on.
I think it could be an enhancement to ask the user if he/she wants to
=
change it too, instead of manually go through=20
Edit --> resource allocation --> memory allocation screen
If seen as a agreed enhancement, which components to bugzilla against =
for RFE?
yeah, these are two separate fields. The suggestion sounds reasonable to =
me, Roy, thoughts on that?
Gianluca
--Apple-Mail=_969CE17C-EAA3-4702-836D-32D271E3A43E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"Content-Type"
content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote
type=3D"cite" class=3D""><div =
class=3D"">On 10 Dec 2015, at 13:16, Gianluca Cecchi <<a =
href=3D"mailto:gianluca.cecchi@gmail.com" =
class=3D"">gianluca.cecchi(a)gmail.com</a>&gt;
wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div
dir=3D"ltr" =
class=3D""><div class=3D"gmail_extra"><div
class=3D"gmail_quote">On Thu, =
Dec 10, 2015 at 12:24 PM, Michal Skrivanek <span dir=3D"ltr" =
class=3D""><<a href=3D"mailto:mskrivan@redhat.com"
target=3D"_blank" =
class=3D"">mskrivan(a)redhat.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote"
style=3D"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=3D""><br
class=3D""><br =
class=3D"">
><br class=3D"">
> Yes, CentOS 7.1 updated up to a couple of days ago.<br
class=3D"">
<br class=3D"">
</span>Can you try 7.2? I don=E2=80=99t remember exactly but it may be =
that in earlier guests it=E2=80=99s not automatic. Check some tips for =
onlining memory explicitly<br class=3D"">
<br class=3D"">
5.2. How to online memory<br class=3D"">
------------<br class=3D"">
Even if the memory is hot-added, it is not at ready-to-use state.<br =
class=3D"">
For using newly added memory, you have to "online" the memory block.<br =
class=3D"">
<br class=3D"">
For onlining, you have to write "online" to the memory block's state =
file as:<br class=3D"">
<br class=3D"">
% echo online > /sys/devices/system/memory/memoryXXX/state<br =
class=3D"">
<div class=3D""><div class=3D"h5"><br =
class=3D""></div></div></blockquote><div
class=3D""> </div></div><br =
class=3D""></div><div
class=3D"gmail_extra">Hello,</div><div =
class=3D"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=E2=80=A6):</div></div></div></blockquote><div><br =
class=3D""></div>great!</div><div>with 7.2 it should be
automatic. I =
think with Windows it works automatically as well.</div><div><br =
class=3D""><blockquote type=3D"cite"
class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D""><div
class=3D"gmail_extra"><br =
class=3D""></div><div class=3D"gmail_extra">Starting
state with 10Gb of =
ram inside the VM</div><div class=3D"gmail_extra"><div =
class=3D"gmail_extra">[root@racclient1 ~]# ll -d =
/sys/devices/system/memory/memory* | wc -l</div><div =
class=3D"gmail_extra">80</div><div
class=3D"gmail_extra"><br =
class=3D""></div><div class=3D"gmail_extra">slots
defined:</div><div =
class=3D"gmail_extra">0 --> 23</div><div
class=3D"gmail_extra">32 =
--> 87</div><div class=3D"gmail_extra"><br
class=3D""></div><div =
class=3D"gmail_extra">Increase from web gui memory from 10240 to =
12288</div><div class=3D"gmail_extra"><br
class=3D""></div><div =
class=3D"gmail_extra">I see this in messages as expected</div><div
=
class=3D"gmail_extra"><br class=3D""></div><div
class=3D"gmail_extra">Dec =
10 12:59:32 racclient1 kernel: init_memory_mapping: [mem =
0x2c0000000-0x33fffffff]</div><div class=3D"gmail_extra"><br =
class=3D""></div><div =
class=3D"gmail_extra">In /sys/devices/system/memory I see 16 new =
memoryxx directories (probably each one addressing 128Mb...)</div><div =
class=3D"gmail_extra"><br class=3D""></div><div =
class=3D"gmail_extra">88</div><div
class=3D"gmail_extra">89</div><div =
class=3D"gmail_extra">90</div><div
class=3D"gmail_extra">91</div><div =
class=3D"gmail_extra">92</div><div
class=3D"gmail_extra">93</div><div =
class=3D"gmail_extra">94</div><div
class=3D"gmail_extra">95</div><div =
class=3D"gmail_extra">96</div><div
class=3D"gmail_extra">97</div><div =
class=3D"gmail_extra">98</div><div
class=3D"gmail_extra">99</div><div =
class=3D"gmail_extra">100</div><div
class=3D"gmail_extra">101</div><div =
class=3D"gmail_extra">102</div><div
class=3D"gmail_extra">103</div><div =
class=3D"gmail_extra"><br class=3D""></div><div
class=3D"gmail_extra">They=
have indeed been added but are offline, eg</div><div =
class=3D"gmail_extra"><br class=3D""></div><div =
class=3D"gmail_extra">latest previous one:</div><div =
class=3D"gmail_extra">[root@racclient1 ~]# cat =
/sys/devices/system/memory/memory87/state </div><div =
class=3D"gmail_extra">online</div><div
class=3D"gmail_extra"><br =
class=3D""></div><div class=3D"gmail_extra">first newly
added =
one:</div><div class=3D"gmail_extra">[root@racclient1 ~]# cat =
/sys/devices/system/memory/memory88/state </div><div =
class=3D"gmail_extra">offline</div><div
class=3D"gmail_extra"><br =
class=3D""></div><div
class=3D"gmail_extra">[root@racclient1 ~]# cat =
/sys/devices/system/memory/memory87/online </div><div =
class=3D"gmail_extra">1</div><div
class=3D"gmail_extra">[root@racclient1 =
~]# cat /sys/devices/system/memory/memory88/online </div><div =
class=3D"gmail_extra">0</div><div
class=3D"gmail_extra"><br =
class=3D""></div><div class=3D"gmail_extra">put online
the new =
segments:</div><div class=3D"gmail_extra">[root@racclient1 ~]# for i
in =
$(seq 88 103)</div><div class=3D"gmail_extra">>
do</div><div =
class=3D"gmail_extra">> echo online > =
/sys/devices/system/memory/memory${i}/state</div><div =
class=3D"gmail_extra">> done</div><div
class=3D"gmail_extra"><br =
class=3D""></div><div class=3D"gmail_extra">Memory has
been increased =
now, also from inside the OS.</div><div class=3D"gmail_extra"><br
=
class=3D""></div><div
class=3D"gmail_extra">[root@racclient1 ~]# =
free</div><div class=3D"gmail_extra">
=
total used
=
free shared buff/cache =
available</div><div class=3D"gmail_extra">Mem:
=
12334428 222080 11934044
=
8480 178304 =
12019544</div><div class=3D""><br
class=3D""></div><div =
class=3D""><br class=3D""></div><div
class=3D"">NOTE: no new entries =
after online memory, neither in messages file nor in dmesg =
output.</div><div class=3D""><br
class=3D""></div><div =
class=3D"">Questions:</div><div class=3D"">1) which
component to =
bugzilla against for message confusing window of the =
gui?</div></div></div></div></blockquote><div><br
=
class=3D""></div>doesn=E2=80=99t matter much, ovirt-engine, =
frontend.</div><div><br class=3D""><blockquote
type=3D"cite" =
class=3D""><div class=3D""><div dir=3D"ltr"
class=3D""><div =
class=3D"gmail_extra"><div class=3D"">2) Initially I see that
my VM (in =
webadmin gui) has 8Gb of defined memory AND 8Gb of "Physical Memory =
Guaranteed".</div><div class=3D"">After increasing memory, the
second =
one remains the same and doesn't change even after shutdown / Power =
on.</div></div></div></div></blockquote></div><div><blockquote
=
type=3D"cite" class=3D""><div class=3D""><div
dir=3D"ltr" class=3D""><div =
class=3D"gmail_extra"><div class=3D"">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 class=3D"">Edit --> resource
allocation =
--> memory allocation screen</div><div class=3D"">If seen as
a agreed =
enhancement, which components to bugzilla against for =
RFE?</div></div></div></div></blockquote><div><br
=
class=3D""></div><div>yeah, these are two separate fields. The =
suggestion sounds reasonable to me, Roy, thoughts on that?</div><div =
class=3D""><br class=3D""></div><blockquote
type=3D"cite" class=3D""><div =
class=3D""><div dir=3D"ltr" class=3D""><div
class=3D"gmail_extra"><div =
class=3D"">Gianluca</div></div></div>
</div></blockquote></div><br
class=3D""></body></html>=
--Apple-Mail=_969CE17C-EAA3-4702-836D-32D271E3A43E--