<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Jan 19, 2018 10:52 AM, "andreil1" <<a href="mailto:andreil1@starlett.lv">andreil1@starlett.lv</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi !<br>
<br>
What is optimal setting for oVirt KVM guests for database hosting on Xeon server (2 x Xeon 4-core each) (in my case this is Firebird based accounting/stock control system with several clients active)?<br>
<br>
1st of course its preallocated disk image.<br>
VirtO-SCSI enabled<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">- It's not clear that virtio-scsi is faster than virtio-blk in all cases. Test. </div><div dir="auto">- What's the backend storage? </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Migration disabled.<br>
Balloning disabled.<br>
CPU shares disabled<br>
Pass-through host CPU enabled<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">What about NUMA and pinning? </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
What should be other CPU settings?<br>
For example, Xeon have 2 threads per core, should I set in oVirt 1 or 2 threads per virtual CPU?<br>
IO Threads on or off?<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">On. </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" 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><div dir="auto">Indeed. + Huge pages, in both host and guest. </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Node running 4 VMs total, CPU load is quite low, RAM is enough to preallocate for each VM + 4GB for node itself.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">In short, use high performance VM. See <a href="http://ovirt.org">ovirt.org</a> feature page. </div><div dir="auto">Y. </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks in advance !<br>
Andrei<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
</blockquote></div><br></div></div></div>