| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The data used to do the mathematical reporting is based on histogram data,
where the calculated variance will be rather pointless to gather.
Imagine you have 3 samples in the historgram in the 2000µs slot, even if
you have quite a lot of data with the average measurements around 50µs,
the calculated "variance" for that time slot will be (1950^2)*3. Even
though the final variance calculation will divide on number of samples
gathered, it will take an enormous amount of samples within a the lower
time slots to make this value interesting.
So rather, don't report or save the calculated variance. However, the
standard deviation is based on the variance, that value is far more sane
due to the needed square root function on the final variance value. So
it gives a far more sane and interesting value. The applied math in the
cyclictest module should be fine itself, it's just the variance value
that isn't much interesting on this kind of data source.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
|
| |
Currently ignoring load modules in general, as the <loads/> tags
isn't easily extended. Not convinced it makes any sense to
track these time stamps on load modules anyway.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
| |
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
|
|
| |
- Updated the GPLv2 license text to match the latest GPLv2 from FSF
- Updated all FSF addresses in all copyright notices in source files
- Updated copyright years for all contributors to include 2013
- Removed all #!/usr/bin/python lines in files which does not need it
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
| |
Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
- Don't parse the cyclic_rawdata table any more. The last rteval release to
use that table was v1.4.
- Parse the hwlatedetect data by default. This is a new feature of
rteval v2.0, so lets add this parsing by default.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
|
| |
This reorganises most of the XSLT template, separating out pre v2.0 and post v2.0
reports, preserving support for all report versions. Also tried to preserve as
much as possible of common code.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
| |
- The rtevxmlrpc database user needs SELECT privileges on rtevalruns, otherwise
the DatabaseStatus() XML-RPC call fails.
- The hwlatdetect_summary table was defined with a wrong column name
|
|
|
|
|
|
|
|
| |
If an error occured when calling db_register_system() and db_get_new_rterid(),
the mutex lock set before these calls were never reset. This would block
all other parser threads as well.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
| |
The SQL append errornous '%s' to the hostname.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
| |
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
| |
distcheck'
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
|
| |
When doing the updates in commit e8fca98477f6625207aebc66271b24d6f8f80f5a
and commit dd48e1616d52a5030cb8c94e71d459efc1c18581, I forgot about
updating the version numbers in configure.ac
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
| |
This adds two new tables to the database schema, and adds the needed
bits to extract hwlatdetect results from the rteval summary.xml reports.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The parsing of measurement data was hard coded to be very cyclictest
centric. With this patch, the code paths used by cyclictest parsing
is made more generic and which measurement data to parse is now
declared in the configuration file.
The default measurement data tables are set to be cyclic_statistics,
cyclic_histogram and cyclic_rawdata. These tables can be overridden
by setting the measurement_tables config variable in the
xmlrpc_parser section.
With this change, it is now possible to extend the rteval summary.xml
measurement parsing without modifying the C code at all. Only the
database schema and the xmlparser.xsl files needs to be updated, and
then add this new table to configuration file.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
| |
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
| |
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
| |
This will be used to easier process an array of tables, where this
array comes from a comma separated list in the configuration file.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
| |
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
|
| |
This is to put all PostgreSQL related functions in one place. Using the
init_xmlparser() the function needed to format arrays are provided to the
xmlparser code paths.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
| |
This is the first step towards moving PostgreSQL specific parts out of xmlparser.c
to make the xmlparser database backend agnostic.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
|
| |
Implemented a new value type for the internal <sqldata/> XML format, which will
store data in an PostgreSQL array. This is used now to store the CPU core spread
of the socket in a sepearate field in rtevalruns_details.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
|
| |
service
The tarball simply lacked the proper templates for the apache config file generation
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
| |
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
| |
This also fixes a forgotten update to the new database schema (1.3)
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
|
| |
By default, mod_wsgi will be used. If --enable-mod-python is given
to the ./configure script, the older (and deprecated) mod_python
variant of the rteval XML-RPC server will be installed.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
| |
This bug was triggered when using the mod_wsgi platform, where you are
not placed in the root directory by default.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is an alternative Python handler for the XML-RPC server, making
use of the WSGI platform instead.
If the rteval_xmlrpc.wsgi script is started manually, using python
it will act as a standalone server, listening to localhost:65432
as default.
This script can also be loaded by, f.ex., the mod_wsgi module to
Apache. A template for Apache config is also added.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
| |
That just makes the XML-RPC serialiser grumpy. Return "something"
instead of None.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
|
| |
If the requested SQL don't have any WHERE values, don't try to expand
the SQL query to include them. That just hides the real SQL error.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
| |
Signed-off-by: David Sommerseth <davids@redhat.com>
|
|
|
|
|
|
| |
This can be used to check if the XML-RPC service have access to the database
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Enhanced rteval with trying to access the Hello() method. If the
server responds (even if Hello() is not available), rteval will
continue to run. If the server is not accessible, rteval will abort.
In a future version, rteval should expect a proper response to the
XML-RPC Hello() call.
|
| |
|
|
|
|
|
|
| |
This change will support both the new <cpu_topology/> tag and the old
<cpu_cores/> tag. Added extraction of data for the
rtevalruns_details.num_cpu_sockets field as well.
|
|
|
|
|
|
|
| |
Have not yet implemented extraction new cpu_topology tags, but
the summary of this information will go into the num_cpu_cores and
num_cpu_sockets fields in the database. Right now it only takes
the /rteval/hardware/cpu_cores and puts it into num_cpu_cores
|
| |
|
|
|
|
|
| |
Logs now show which thread and more clearly which submid record which
is being parsed. Also added a log message when the parsing is completed.
|
| |
|
| |
|
| |
|
|
|
|
| |
systems
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- rteval-xmlrpc.spec renamed to rteval-parser.spec
This was needed to make the noarch package
- Split XML-RPC noarch related files and the binary part with rteval-parserd
- Reorganised the .spec file - rteval-xmlrpc RPM is now a noarch sub-package
- Consider the renamed rteval_parserd -> rteval-parserd
- Install /etc/init.d/rteval-parserd and /etc/sysconfig/rteval-parserd
|