<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"><<a href="mailto:mpolednik@redhat.com" target="_blank">mpolednik@redhat.com</a>></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'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 "UserDefinedVMProperties=hugep<wbr>ages=^.*$"<br>
$ service ovirt-engine restart<br>
<br>
and you should see 'hugepages' 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're good to go. The<br>
VM will run with it'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>