summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | reworked stats calculation in cyclictest::reduce()Clark Williams2009-10-231-8/+2
| | | | | | | | | | | | avoid looping so much when calculating MAD and variance
| * | added get_services() and get_kthread() methods to rteval/rteval.pyClark Williams2009-10-231-0/+26
| | | | | | | | | | | | Add methods to retrieve status of services and priorities of kthreads
| * | Added hardware product name and manufacturer to the screen reportDavid Sommerseth2009-10-231-0/+1
| | |
| * | Fixed wrong data type for self.config.duration parsingDavid Sommerseth2009-10-231-1/+1
| | |
| * | rteval did not consider -f|--inifile argumentDavid Sommerseth2009-10-231-3/+3
| | |
| * | version bump to 1.5Clark Williams2009-10-232-2/+8
| | | | | | | | | | | | | | | updated option processing, changed stats to use less memory, changed debug output to prefix with module name
| * | modified Rundata::reduce in rteval/cyclictest.py to use less memoryClark Williams2009-10-231-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Rundata::reduce was using a range() statement, which generated a potentially HUGE list on long runs, many times exhausting memory. Avoid the range statment and just manually iterate Also update the cyclictest::debug() method to prefix all output with cyclictest:
| * | modified rteval::debug() to prefix strings with rteval:Clark Williams2009-10-231-1/+1
| | | | | | | | | | | | | | | updated the rteval::debug method to prefix output with reval: to differentiate output from other objects.
| * | modified load::debug to print object nameClark Williams2009-10-233-16/+16
| | | | | | | | | | | | | | | | | | updated the load::debug method to print the object name as well as the input string, then updated call sites for this method in rteval/hackbench.py and rteval/kcompile.py
| * | rearranged option processing logic in rteval/rteval.pyClark Williams2009-10-231-9/+18
| | | | | | | | | | | | | | | | | | rearranged order of command line and config file processing so that command line is processed, then config file and finally command line parameters override the config file values.
| * | fixed typo damage in %changelog sectionClark Williams2009-10-231-1/+1
| | |
| * | updated version to 1.4Clark Williams2009-10-231-1/+8
| | | | | | | | | | | | updated %changelog section to reflect changes in cyclictest.py
| * | Changed from sample array to histogram (-h 1000)Clark Williams2009-10-231-22/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | Calculate statistics directly from histogram (removed the temporary array which was eating *tons* of memory in Cyclictest::reduce()) Changed sampling interval to 100us (-i100 option to cyclictest) Added -a option to force affinity for measurement threads
| * | updated version to 1.4Clark Williams2009-10-232-3/+4
| | |
| * | rteval/rteval_text.xsl changes:Clark Williams2009-10-231-1/+3
| | | | | | | | | | | | | | | added units to mode parameter added mean absolute deviation
| * | adde code to rteval/rtevalConfig.py to allow first call toClark Williams2009-10-231-1/+6
| | | | | | | | | | | | __find_config to fail (and allow command line to specify new value)
| * | rteval.py changes:Clark Williams2009-10-231-1/+6
| | | | | | | | | | | | | | | | | | added code to change xslt_report path when -i specified added synchronization code with cyclictest to avoid trying to generate XML before cyclictest has finished stats calcuations
| * | Massive changes:Clark Williams2009-10-231-98/+65
| | | | | | | | | | | | | | | | | | | | | | | | - keep data as histogram instead of sample array - change stats calculation to deal with histogram - add Mean Absolute Deviation calculation - print variance - add synchronization with rteval to prevent race
| * | changed test command line in Makefile to specify all local parametersClark Williams2009-10-231-1/+1
| | |
| * | Fixed a memory leak introduced in commit 70c850c13dabed16a69bDavid Sommerseth2009-10-231-0/+1
| | |
| * | Get rid of the sleep() calls and use blocking POSIX MQ callsDavid Sommerseth2009-10-232-12/+41
| | | | | | | | | | | | | | | This way, the rteval_parserd will also shutdown almost instantly unless one of the threads are in the progress of parsing a report.
| * | Fixed some field typesDavid Sommerseth2009-10-231-3/+3
| | | | | | | | | | | | | | | | | | The cyclic_statistics.num_samples and cyclic_histogram.value can in some situations become incredibly high. This fix should give a little bit more room for higher numbers. PostgreSQL bigint uses 8 bytes for the storage.
| * | Improved robustness of database connections and thread controlDavid Sommerseth2009-10-233-19/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both the process_submission_queue() and parserthread() functions now make use of db_ping() to make sure they have an alive database connection. And if not, trigger the needed notifications. If the process_submission_queue() looses the database connection completely, it will shutdown rteval_parserd immediately. If the parserthread()s looes the database connection, it will reduce the activethreads counter. And if this counter reaches 0, it will signal the main thread which initiates a complete shutdown of rteval_parserd. Btw. db_ping() will indeed try to restore the database connection before presuming the database is unavailable.
| * | Added db_ping() function and made db_wait_notification() more solidDavid Sommerseth2009-10-232-0/+49
| | |
| * | Extract kthreads and services info from XML reportsDavid Sommerseth2009-10-231-1/+1
| | |
| * | Added READMEDavid Sommerseth2009-10-221-0/+134
| | |
| * | Added simple Makefile, before it's automated completelyDavid Sommerseth2009-10-221-0/+13
| | |
| * | Fixed doxygen errorsDavid Sommerseth2009-10-229-13/+55
| | |
| * | Added daemonising of the processDavid Sommerseth2009-10-221-12/+80
| | | | | | | | | | | | | | | And fixed an error when the program exits before POSIX MQ queue is opened and initialised.
| * | If logging to file, fflush() on each writelog() callDavid Sommerseth2009-10-221-0/+4
| | |
| * | Make use of the 'threads' config/argument settingDavid Sommerseth2009-10-221-1/+7
| | |
| * | Added --help|-h with usage info, added missing --threads|-t argumentDavid Sommerseth2009-10-221-7/+67
| | |
| * | Implemented argument parsingDavid Sommerseth2009-10-223-9/+25
| | |
| * | Changed log level argument from int to char *David Sommerseth2009-10-222-3/+43
| | | | | | | | | | | | | | | Makes it easier to implement log parameters from argument parsing or config file
| * | Added argument parser source filesDavid Sommerseth2009-10-222-0/+112
| | |
| * | Added missing #includeDavid Sommerseth2009-10-221-0/+1
| | |
| * | Logging to syslog by default. Fixed a typoDavid Sommerseth2009-10-221-2/+2
| | |
| * | Fixed memory leak in db_connect()David Sommerseth2009-10-221-0/+1
| | | | | | | | | | | | | | | The memory region needed for the dbconn structure was not released in db_disconnect(). This leak was introduced in commit 9526e7d8844a47fa
| * | Improved overall logging informationDavid Sommerseth2009-10-2210-122/+173
| | |
| * | Added missing log.[ch] filesDavid Sommerseth2009-10-222-0/+185
| | |
| * | Fixed missing initialisation - causing SEGV during exit if not calloc'edDavid Sommerseth2009-10-221-1/+1
| | |
| * | First cut at implementing a generic loggerDavid Sommerseth2009-10-2115-234/+309
| | |
| * | Moved status codes into its own header fileDavid Sommerseth2009-10-214-12/+41
| | |
| * | Corrected missing or misleading doxygen commentsDavid Sommerseth2009-10-217-28/+69
| | |
| * | Fixed a couple of memory leaks in db_wait_notification()David Sommerseth2009-10-211-0/+3
| | |
| * | Implemented database LISTEN via db_wait_notification()David Sommerseth2009-10-213-5/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces async waiting for report parsing. Commit 2584a3c36c97c757dc80108b898eede52b91dc44 introduced sending a NOTIFY whenever an INSERT is done into the submissionqueue table. With the db_wait_notification() the process_submission_queue() function will sleep until a a notification is received. The LISTEN, UNLISTEN and NOTIFY SQL commands are PostgreSQL dependent. Other database implementations may use what that database supports, or just simply do a sleep() to change the behaviour to a polling model.
| * | Extended rtevalruns table to contain a submid fieldDavid Sommerseth2009-10-217-4/+19
| | | | | | | | | | | | | | | This new field references submissionqueue.submid, to keep a link between parsed rtevalruns and the original submission.
| * | Simplified and made the get_destination_path() function more robustDavid Sommerseth2009-10-213-48/+39
| | | | | | | | | | | | Also added missing error check of the result of the function call
| * | Added trigger function on INSERT on submissionqueueDavid Sommerseth2009-10-211-0/+24
| | | | | | | | | | | | | | | This will NOTIFY all clients listening to 'rteval_submq', to trigger processing of this table after INSERTs have completed.
| * | Added another missing fileDavid Sommerseth2009-10-211-0/+36
| | |