<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Jan 20, 2018 at 7:56 PM, Yaniv Kaul <span dir="ltr"><<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@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 dir="auto"><span class=""><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Jan 19, 2018 12:31 PM, "Gianluca Cecchi" <<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>> wrote:<br type="attribution"><blockquote class="m_4920460624851122628quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="m_4920460624851122628quoted-text">On Fri, Jan 19, 2018 at 11:15 AM, Yaniv Kaul <span dir="ltr"><<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@redhat.com</a>></span> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div class="m_4920460624851122628quoted-text"><span><br><div class="gmail_extra"><br><div class="gmail_quote">On Jan 19, 2018 10:52 AM, "andreil1" <<a href="mailto:andreil1@starlett.lv" target="_blank">andreil1@starlett.lv</a>> wrote:<br type="attribution"><blockquote class="m_4920460624851122628m_-5793334393927870102m_3882313267883754243quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote></div></div></span></div><span><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="m_4920460624851122628m_-5793334393927870102m_3882313267883754243quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Migration disabled.<br></blockquote></div></div></div></span></div></blockquote><div><br></div><div>Why this enforcing? If the VM is so important I see it as a limitation not to be able to move it in case of need</div></div></div></div></blockquote></div></div></div><div dir="auto"><br></div></span><div dir="auto">It's related to CPU pinning and NUMA. </div></div></blockquote><div> </div><div>Yes. But normally a DB VM is also important form a sla point of view.</div><div>So in general one has to find a tradeoff between pure performance and service level</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span class=""><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="m_4920460624851122628quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="m_4920460624851122628m_-5793334393927870102m_3882313267883754243quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Pass-through host CPU enabled<br></blockquote></div></div></div></span></div></blockquote><div><br></div><div>I don't know if this is so important.</div><div>Tested with Oracle RDBMS and not used in my case.</div></div></div></div></blockquote></div></div></div><div dir="auto"><br></div></span><div dir="auto">In the specific case of Oracle, I actually suspect you must use CPU pinning for licensing reasons. I suggest you check. </div></div></blockquote><div><br></div><div>No. Oracle requires you to license the physical host and all the hypervisors' farm.</div><div>So in my case using SE2 and having for example 3 x 2-cpu hosts composing the oVirt cluster, you have to license for all 6 sockets.</div><div>Done that, you can run how many (non RAC) RDBMS instances inside VMs of this oVirt cluster.</div><div>Unfortunately If you want to run RAC RDBMS your are also enforced to run single socket hypervisors to respect Oracle licensing for RAC on SE2.</div><div>So in my case I didn't use this option.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto"><br></div><div dir="auto">As for CPU passthrough, might depend on which features you use. </div><span class=""><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="m_4920460624851122628quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="m_4920460624851122628quoted-text"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="m_4920460624851122628m_-5793334393927870102m_3882313267883754243quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div></div><div dir="auto"><br></div></span><span><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="m_4920460624851122628m_-5793334393927870102m_3882313267883754243quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Any idea of NUMA settings ?<br></blockquote></div></div></div><div dir="auto"><br></div></span><div dir="auto">Indeed. + Huge pages, in both host and guest. </div></div></blockquote><div><br></div></div><div>Do you think NUMA so essential? It implies non-migratable VM...</div><div>In my tests I didn't set NUMA</div></div></div></div></blockquote></div></div></div><div dir="auto"><br></div></span><div dir="auto">Depends on the workload really. It and CPU pinning are many times critical for IO bound workloads. Also depends on how much optimization you are after. </div></div></blockquote><div><br></div><div>I saw enabling IO threads was the thing making the greatest difference inside the VM from an I/O point of view.</div><div>I think I cannot disclosure detailed Oracle performance, but in one of my tests with HP BL460c G9 with E5-2680v4 cpu, I compared Oracle Linux 7.3 with Oracle 12.1 SE2 on both the bare physical server and inside an Oracle Linux 7.3 VM configued inside it, using HammerDB and the performance was quite similar in the one VM running on host configuration.</div><div>The physical has 2 x 14 core + HT cpus and I configured the VM up to 2:12:2 and so 48 threads in total and 4 IO threads because I have 4 disks configured at VM level.</div><div>I think it doesn't make sense to configure more than 1 IO thread for disk at VM level, correct?</div><div>Under the curtains there is an HP 3PAR with a mix of SSD and SAS disks and I was able to reach 800-900 MB/s in reads under the VM.</div><div><br></div><div>Gianluca</div><div><br></div></div><br></div></div>