----- Original Message -----
From: "Nir Soffer" <nsoffer(a)redhat.com>
To: "Francesco Romani" <fromani(a)redhat.com>
Cc: devel(a)ovirt.org, "Martin Sivak" <msivak(a)redhat.com>
Sent: Sunday, June 29, 2014 10:34:08 AM
Subject: Re: [ovirt-devel] XML benchmarks
> CPU measurement: just opened a terminal and run 'htop'
on it.
> CPU profile: clustered around the sampling interval. Usage negligible most
> of
> time, peak on sampling as shown below
>
> 300 VMs
> minidom: ~38% CPU
> cElementTree: ~5% CPU
What is 38% - (38% of one core? how may cores are on the machine?)
4 cores: 2 physical, 2 logical. I'm prepping a more precise test
using a better and less ambiguous indicator.
Seeing this load created by parsing libvirt xml every 15 seconds, I
think
we should consider decreasing the sample rate suggested in
http://gerrit.ovirt.org/28712 Or collecting the data in another way.
To collect the data in another way, maybe just after the event which will
trigger the change would be the best way. As last resort, to move te code
to use cElementTree.
Bests,
--
Francesco Romani
RedHat Engineering Virtualization R & D
Phone: 8261328
IRC: fromani