<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 26, 2017 at 6:14 PM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.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="ltr"><div><div class="h5"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 26, 2017 at 4:54 PM, Simone Tiraboschi <span dir="ltr"><<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>></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"><br><div class="gmail_quote"><span class="m_535738945889906870gmail-">On Wed, Apr 26, 2017 at 4:52 PM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>></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="m_535738945889906870gmail-m_914803460810444526gmail-">On Wed, Apr 26, 2017 at 4:28 PM, Simone Tiraboschi <span dir="ltr"><<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>></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="m_535738945889906870gmail-m_914803460810444526gmail-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'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's still not that clear why we are facing this kind of performance regression.</div><span class="m_535738945889906870gmail-m_914803460810444526gmail-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/u<wbr>til.py file also in my 4.1.1 install and verify if it solves...?</div></div></div></div></blockquote><div><br></div></span><div>Unfortunately it's not enough by itself since it also requires <a href="https://gerrit.ovirt.org/#/c/58029/" target="_blank">https://gerrit.ovirt.<wbr>org/#/c/58029/</a></div><span class="m_535738945889906870gmail-"><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="m_535738945889906870gmail-m_914803460810444526gmail-HOEnZb"><font color="#888888"><div><br></div><div>Gianluca</div></font></span></div></div></div>
</blockquote></span></div><br></div></div>
</blockquote></div><br></div></div></div><div class="gmail_extra">And what if I change all the 3 files involved in the 2 gerrit entries:</div><div class="gmail_extra">ovirt_hosted_engine_ha/lib/<wbr>util.py <br></div><div class="gmail_extra">lib/yajsonrpc/stomp.py<br></div><div class="gmail_extra">lib/yajsonrpc/stompreactor.py<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">?</div><div class="gmail_extra"><br></div></div>
</blockquote></div><br></div><div class="gmail_extra">Yes, it should work although we never officially back-ported and tested it for 4.1.z. </div></div>