On Wed, Apr 26, 2017 at 12:52 PM, Nir Soffer <nsoffer@redhat.com> wrote:On Wed, Apr 26, 2017 at 11:36 AM Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:On Tue, Apr 25, 2017 at 11:28 PM, Nir Soffer <nsoffer@redhat.com> wrote:Hi Gianluca,You can run this on the host:$ python -c "import yaml; print 'CLoader:', hasattr(yaml, 'CLoader')"CLoader: TrueIf you get "CLoader: False", you have some packaging issue, CLoaderis available on all supported platforms.NirThanks,GianlucaIt seems ok.[root@ovirt01 ovirt-hosted-engine-ha]# python -c "import yaml; print 'CLoader:', hasattr(yaml, 'CLoader')"CLoader: True[root@ovirt01 ovirt-hosted-engine-ha]#Anyway see here a sample of the spikes that it cntinues to have.. from 15% to 55% many timesThere are two issues in this video:- Memory leak, ovirt-ha-agent is using 1g of memory. It is very unlikely that it needs so much memory.- Unusual cpu usage - but not the kind of usage related to yaml parsing.I would open two bugs for this. We have seen the first issue few month ago, andwe did nothing about it so the memory leak was not fixed.To understand the unusual cpu usage, we need to integrate yappi into ovirt-ha-agent,and do some profiling to understand where cpu time is spent.Simone, can you do something based on these patches?I hope to get these patches merged soon.Absolutely at this point.
NirThe host is an Intel NUC6i5 with 32Gb of ram. There are the engine, an F25 guest and a C7 desktop VMs running, without doing almost anything.Gianluca