<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 26, 2017 at 4:52 PM, Gianluca Cecchi <span dir="ltr">&lt;<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-">On Wed, Apr 26, 2017 at 4:28 PM, Simone Tiraboschi <span dir="ltr">&lt;<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div><div class="gmail-m_5359120378541887216gmail-h5"><br><div><br></div></div></div><div>On 4.1.1, the 96% of the cpu time of ovirt-ha-agent is still spent in connect() in /usr/lib/python2.7/site-pac<wbr>kages/vdsm/jsonrpcvdscli.py</div><div>and the 95.98% is in Schema.__init__ in /usr/lib/python2.7/site-pac<wbr>kages/vdsm/api/vdsmapi.py</div><div><br></div><div>So it&#39;s still the parsing of the api yaml schema.</div><div>On master we already merged a patch to reuse an existing connection if available and this should mitigate/resolve the issue: <a href="https://gerrit.ovirt.org/73757/" target="_blank">https://gerrit.ovirt.or<wbr>g/73757/</a></div><div><br></div><div>It&#39;s still not that clear why we are facing this kind of performance regression.</div><span class="gmail-m_5359120378541887216gmail-"><div><br></div></span></div></div></div></blockquote><div><br></div></span><div>Does this mean that I could try to patch the   ovirt_hosted_engine_ha/lib/<wbr>util.py file also in my 4.1.1 install and verify if it solves...?</div></div></div></div></blockquote><div><br></div><div>Unfortunately it&#39;s not enough by itself since it also requires <a href="https://gerrit.ovirt.org/#/c/58029/">https://gerrit.ovirt.org/#/c/58029/</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Or do I have to wait an official patched rpm?</div><span class="gmail-HOEnZb"><font color="#888888"><div><br></div><div>Gianluca</div></font></span></div></div></div>
</blockquote></div><br></div></div>