summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Migrated from libxslt to lxmlHEADmasterDavid Sommerseth2013-03-125-29/+80
| | | | | | | To avoid depending on libxslt-python, use the more standard Python lxml module for XSLT processing. Signed-off-by: David Sommerseth <davids@redhat.com>
* update to v1.37Clark Williams2012-12-133-3/+8
| | | | Signed-off-by: Clark Williams <williams@redhat.com>
* add module-specific command line optionsClark Williams2012-12-134-20/+96
| | | | | | | | | | | | | | | | | | Add command line options: --cyclictest-priority --cyclictest-distance --cyclictest-interval --cyclictest-buckets --hackbench-jobspercore --kcompile-jobspercore These options allow setting module specific behavior for a run. Updated the rteval.8 man page to reflect this and the rteval.conf file as well. Signed-off-by: Clark Williams <williams@redhat.com>
* Changes the getcmdpath method to use only python calls to find the pathsRaphaël Beamonte2012-11-291-3/+9
| | | | | | | | | | | | | In my previous patches, I introduced a getcmdpath method which intended to replace the direct calls to binary from clear paths, using the which binary to locate the place of the searched one. This behavior was in fact not the finest as the method itself used the full path to the which binary. In this patch, I corrected the getcmdpath command to use only python calls (os.path.isfile and os.access) to identify in the PATH environment variable the place where the binary is. Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com> Signed-off-by: Clark Williams <williams@redhat.com>
* update to v1.36Clark Williams2012-10-233-3/+11
| | | | Signed-off-by: Clark Williams <williams@redhat.com>
* Rewrite of the get_services method to make it cross-distributionRaphaël Beamonte2012-10-231-15/+58
| | | | | | | | Changes the get_services method to call the new created __get_services_sysvinit and __get_services_systemd methods to be able to manage the two different init daemons. Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
* Adds getcmdpath method to use which to locate the used commandsRaphaël Beamonte2012-10-231-1/+12
| | | | Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
* Rewrite of the get_kthreads method to make it cross-distributionRaphaël Beamonte2012-10-231-4/+3
| | | | Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
* make sure that priority parameter is converted to intClark Williams2012-08-131-3/+3
| | | | Signed-off-by: Clark Williams <williams@redhat.com>
* handle system not having dmidecode python moduleClark Williams2012-08-131-2/+16
| | | | Signed-off-by: Clark Williams <williams@redhat.com>
* version bump to 1.35Clark Williams2012-04-023-3/+6
| | | | Signed-off-by: Clark Williams <williams@redhat.com>
* reenabled SIGINT and SIGTERM handlersClark Williams2012-04-021-6/+6
| | | | | | | Accidentally left SIGINT and SIGTERM signal handlers commented out when committing. Undo this thinko... Signed-off-by: Clark Williams <williams@redhat.com>
* version bump to 1.34Clark Williams2012-01-123-3/+8
| | | | Signed-off-by: Clark Williams <williams@redhat.com>
* Merge remote-tracking branch 'davids/master' into workClark Williams2012-01-1219-31/+827
|\ | | | | | | | | | | | | | | Conflicts: rteval/hackbench.py rteval/rteval.py Signed-off-by: Clark Williams <williams@redhat.com>
| * rteval-parsed/rteval-xmlrpc v1.5David Sommerseth2011-10-074-9/+20
| | | | | | | | Signed-off-by: David Sommerseth <davids@redhat.com>
| * Moved PostgreSQL related array function into pgsql.cDavid Sommerseth2011-10-073-55/+77
| | | | | | | | | | | | | | | | 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>
| * Introduce init_xmlparser() processDavid Sommerseth2011-10-072-0/+50
| | | | | | | | | | | | | | 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>
| * Added support for PostgreSQL arrays + store cpu_topology CPU spread as an arrayDavid Sommerseth2011-10-076-8/+328
| | | | | | | | | | | | | | | | 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>
| * added --onlyload optionClark Williams2011-10-072-25/+59
| | | | | | | | | | | | | | Add mechanism to run only loads (not measuring thread) for debug and tracing purposes. Signed-off-by: Clark Williams <williams@redhat.com>
| * changed default built target, refactored a bit in kcompile.pyClark Williams2011-10-071-13/+18
| | | | | | | | | | | | | | | | | | | | Modified kernel build commands to use 'mrproper' as setup target and changed build command to just use default (rather than specifying the bzImage and modules targets). Added some debug prints. Signed-off-by: Clark Williams <williams@redhat.com>
| * version bump to 1.33Clark Williams2011-10-072-2/+5
| | | | | | | | Signed-off-by: Clark Williams <williams@redhat.com>
| * change low-memory threshold to be 0.75GB/coreClark Williams2011-10-071-1/+1
| | | | | | | | | | | | | | | | The previous cutoff for running hackbench was 1GB/core but many systems actually report that as 0.8GB/core. Change the cutoff ratio to be 0.75GB/core to catch this. Signed-off-by: Clark Williams <williams@redhat.com>
| * add a potential load of KVMClark Williams2011-10-071-1/+4
| |
| * Fixed wrong copying of apache config files to the tarball for the XML-RPC ↵David Sommerseth2011-02-071-1/+1
| | | | | | | | | | | | | | | | service The tarball simply lacked the proper templates for the apache config file generation Signed-off-by: David Sommerseth <davids@redhat.com>
| * Updated build files to package rteval-xmlrpc-1.4David Sommerseth2011-02-042-4/+8
| | | | | | | | Signed-off-by: David Sommerseth <davids@redhat.com>
| * Update version information to rteval-xmlrpc-1.4David Sommerseth2011-02-042-2/+3
| | | | | | | | | | | | This also fixes a forgotten update to the new database schema (1.3) Signed-off-by: David Sommerseth <davids@redhat.com>
| * Added needed autoconf changes to enable the new mod_wsgi featureDavid Sommerseth2011-02-043-7/+24
| | | | | | | | | | | | | | | | 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>
| * If the dirpath is an absolute path, go to the root dir before continuing.David Sommerseth2011-02-041-0/+2
| | | | | | | | | | This bug was triggered when using the mod_wsgi platform, where you are not placed in the root directory by default.
| * Added mod_wsgi handlerDavid Sommerseth2011-02-042-0/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Don't return None values in the database_status() methodDavid Sommerseth2011-02-031-2/+4
| | | | | | | | | | | | | | That just makes the XML-RPC serialiser grumpy. Return "something" instead of None. Signed-off-by: David Sommerseth <davids@redhat.com>
| * Don't try to always expand SQL SELECT query when throwing an exceptionDavid Sommerseth2011-02-031-1/+1
| | | | | | | | | | | | | | 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>
| * Moved annotation data into a separate table field in rtevalruns_detailsDavid Sommerseth2011-01-103-2/+215
| | | | | | | | Signed-off-by: David Sommerseth <davids@redhat.com>
* | start hackbench with helper functionClark Williams2012-01-091-3/+8
| | | | | | | | | | | | Use a helper so we get a report when hackbench restarts Signed-off-by: Clark Williams <williams@redhat.com>
* | propogate config file values to cyclictest threadClark Williams2012-01-091-0/+1
| | | | | | | | | | | | | | We missed merging the parameters into the cyclictest config section so that numanodes was not being passed down. Signed-off-by: Clark Williams <williams@redhat.com>
* | updated kcompile source to 2.6.39Clark Williams2012-01-092-6/+10
| | | | | | | | Signed-off-by: Clark Williams <williams@redhat.com>
* | Merge branch 'master' into workClark Williams2011-09-144-39/+78
|\ \ | | | | | | | | | | | | Conflicts: rteval/hackbench.py
| * | added --onlyload optionClark Williams2011-09-142-25/+59
| | | | | | | | | | | | | | | | | | | | | Add mechanism to run only loads (not measuring thread) for debug and tracing purposes. Signed-off-by: Clark Williams <williams@redhat.com>
| * | changed default built target, refactored a bit in kcompile.pyClark Williams2011-09-141-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified kernel build commands to use 'mrproper' as setup target and changed build command to just use default (rather than specifying the bzImage and modules targets). Added some debug prints. Signed-off-by: Clark Williams <williams@redhat.com>
| * | allow for float as load specifierClark Williams2011-09-141-1/+1
| | | | | | | | | | | | | | | | | | This allows you to specify fractional loads (e.g. 1.5 jobs per core) Signed-off-by: Clark Williams <williams@redhat.com>
* | | version bump to 1.33Clark Williams2011-05-142-2/+5
| | | | | | | | | | | | Signed-off-by: Clark Williams <williams@redhat.com>
* | | change low-memory threshold to be 0.75GB/coreClark Williams2011-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The previous cutoff for running hackbench was 1GB/core but many systems actually report that as 0.8GB/core. Change the cutoff ratio to be 0.75GB/core to catch this. Signed-off-by: Clark Williams <williams@redhat.com>
* | | add a potential load of KVMClark Williams2011-05-141-1/+4
| |/ |/|
* | Implemented simple XML-RPC call to check the database statusDavid Sommerseth2010-08-273-0/+31
| | | | | | | | | | | | 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>
* | Extract IPv6 network configurationDavid Sommerseth2010-08-231-19/+48
|/ | | | | | | | This implementation will need python-ethtool v0.4 or newer to be able to extract the IPv6 information. This update makes sure older python-ethtool version will continue to work, while not extracting the IPv6 information. Signed-off-by: David Sommerseth <davids@redhat.com>
* added util.py module to PYSRC variable in MakefileClark Williams2010-08-231-0/+1
| | | | Signed-off-by: Clark Williams <williams@redhat.com>
* version bump to v1.32Clark Williams2010-08-233-3/+15
| | | | Signed-off-by: Clark Williams <williams@redhat.com>
* added setup.py to version update step in release checklistClark Williams2010-08-231-2/+2
| | | | Signed-off-by: Clark Williams <williams@redhat.com>
* clean up rteval/rteval_text.xsl to handle old reportsClark Williams2010-08-231-1/+1
| | | | | | | Don't depend on the 'run' attribute for a load section since it was just added and old reports do not contain it. Signed-off-by: Clark Williams <williams@redhat.com>
* clean up text portion of 'command_line' tag in XMLClark Williams2010-08-231-1/+2
| | | | | | | Return None if there were no jobs, otherwise return the command line used to start hackbench Signed-off-by: Clark Williams <williams@redhat.com>
* clean up XML generationClark Williams2010-08-233-6/+8
| | | | | | | Add the 'run' attribute for load summary so that appropriate text can be generated if a load doesn't run Signed-off-by: Clark Williams <williams@redhat.com>