[ovirt-users] ovirt-ha-agent cpu usage

Simone Tiraboschi stirabos at redhat.com
Wed Apr 26 14:54:14 UTC 2017


On Wed, Apr 26, 2017 at 4:52 PM, Gianluca Cecchi <gianluca.cecchi at gmail.com>
wrote:

> On Wed, Apr 26, 2017 at 4:28 PM, Simone Tiraboschi <stirabos at redhat.com>
> wrote:
>
>>
>>
>>
>> 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-packages/vdsm/jsonrpcvdscli.py
>> and the 95.98% is in Schema.__init__ in /usr/lib/python2.7/site-pac
>> kages/vdsm/api/vdsmapi.py
>>
>> So it's still the parsing of the api yaml schema.
>> On master we already merged a patch to reuse an existing connection if
>> available and this should mitigate/resolve the issue:
>> https://gerrit.ovirt.org/73757/
>>
>> It's still not that clear why we are facing this kind of performance
>> regression.
>>
>>
> Does this mean that I could try to patch the   ovirt_hosted_engine_ha/lib/util.py
> file also in my 4.1.1 install and verify if it solves...?
>

Unfortunately it's not enough by itself since it also requires
https://gerrit.ovirt.org/#/c/58029/


> Or do I have to wait an official patched rpm?
>
> Gianluca
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170426/4a5ed9fd/attachment.html>


More information about the Users mailing list