<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 19, 2017 at 3:44 PM, Martin Polednik <span dir="ltr">&lt;<a href="mailto:mpolednik@redhat.com" target="_blank">mpolednik@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
</blockquote>
<br></div></div>
If you are using recent CentOS (or I guess Fedora), there isn&#39;t any<br>
extra setup required. Just create the custom property:<br></blockquote><div><br></div><div>Both my engine and my hosts are CentOS 7.3 + updates</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On the host where engine is running:<br>
<br>
$ engine-config -s &quot;UserDefinedVMProperties=hugep<wbr>ages=^.*$&quot;<br>
$ service ovirt-engine restart<br>
<br>
and you should see &#39;hugepages&#39; when editing a VM under custom properties.<br></blockquote><div><br></div><div>So no vdsm hook at all to install?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Set the number to (desired memory / 2048) and you&#39;re good to go. The<br>
VM will run with it&#39;s memory backed by hugepages. </blockquote><div><br></div><div>As in sysctl.conf? So that if I want 4Gb of Huge Pages I have to set 2048?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you need<br>
hugepages even inside the VM, do whatever you would do on a physical<br>
host.<br>
<br>
mpolednik<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>yes, the main subject is to have Huge Pages inside the guest, so that Oracle RDBMS at startup detect them and use them</div><div><br></div><div>Gianluca </div></div></div></div>