[ovirt-devel] XML benchmarks
Nir Soffer
nsoffer at redhat.com
Mon Jun 30 09:18:55 UTC 2014
----- Original Message -----
> From: "Francesco Romani" <fromani at redhat.com>
> To: devel at ovirt.org
> Cc: "Nir Soffer" <nsoffer at redhat.com>, "Martin Sivak" <msivak at redhat.com>
> Sent: Monday, June 30, 2014 12:14:34 PM
> Subject: Re: [ovirt-devel] XML benchmarks
>
> ----- Original Message -----
> > From: "Francesco Romani" <fromani at redhat.com>
> > To: "Nir Soffer" <nsoffer at redhat.com>
> > Cc: devel at ovirt.org
> > Sent: Monday, June 30, 2014 8:47:15 AM
> > Subject: Re: [ovirt-devel] XML benchmarks
> >
> > ----- Original Message -----
> > > From: "Nir Soffer" <nsoffer at redhat.com>
> > > To: "Francesco Romani" <fromani at redhat.com>
> > > Cc: devel at ovirt.org, "Martin Sivak" <msivak at 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.
>
> Here. Attached un updated script (xmlbench2.py) which uses 'psutil'
> (https://pypi.python.org/pypi/psutil) to gather the samples.
>
> CPU sampled each 500ms (half a second). 100% is one core.
> My laptop reports 4 core (dualcore with hyperthreading).
>
> See attached some graphs for easier comsumption and their gnuplot recipe.
>
> cpu_300t_3m.png: load using the test script with 300 threads, each thread
> runs ~3 minutes
> cpu_500t_3m.png: load using the test script with 500 threads, each thread
> runs ~3 minutes
>
> sampling is not really accurate but it is more than enough to get an idea.
Nice!
More information about the Devel
mailing list