| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
To avoid depending on libxslt-python, use the more standard Python lxml
module for XSLT processing.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
| |
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
| |
Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
|
| |
|
|
| |
Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
|
| |
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
| |
Accidentally left SIGINT and SIGTERM signal handlers commented
out when committing. Undo this thinko...
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
| |
Use a helper so we get a report when hackbench restarts
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
| |
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>
|
| |\
| |
| |
| |
| | |
Conflicts:
rteval/hackbench.py
|
| | |
| |
| |
| |
| |
| |
| | |
Add mechanism to run only loads (not measuring thread) for debug
and tracing purposes.
Signed-off-by: Clark Williams <williams@redhat.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| | |
This allows you to specify fractional loads (e.g. 1.5 jobs per core)
Signed-off-by: Clark Williams <williams@redhat.com>
|
| | |
| |
| |
| | |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| | |
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>
|
| |/
|
|
|
|
|
|
| |
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>
|
| |
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
Return None if there were no jobs, otherwise return the command
line used to start hackbench
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
If hackbench determines the ratio of available memory to active
cpucores is less than 1GB/core, it will not be run.
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
| |
default the sourcedir and buildir values of the load base class
to the internal "../loadsource" and "../build" directories.
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
|
| |
Remove system parameter access methods that were moved to the
util.py module and replace callsites with calls into the util
versions.
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
| |
refactor some methods from rteval into a commmon utility module
for use by loads and cyclictest.
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
In SMT systems like Power PC, while we turn off or control multithreading,
the processor id in cpu info need not be in sequence, for the available
cores. This patch adds a minor check that if the core id we range, is
really found in cpu info.
Signed-off-by: Gowrishankar <gowrishankar.m@in.ibm.com>
Tested-by: Gowrishankar <gowrishankar.m@in.ibm.com>
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
|
|
| |
The directory called 'rteval-YYYYMMDD-#' and the 'logs' sub-directory
was created in the RtEval constructor. Moved this directory creation to
before the RtEval::measure() function was called to avoid creating empty
directories when using --summarize or --raw-histogram.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
| |
|
|
|
|
|
|
|
|
| |
Some computers start with physical_package_id=1, which would return
two CPU sockets with the former CPU socket counting method.
This is fixed by using a more failsafe method, by counting unique
physical_package_id references.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Removed support for setting 'thread' workunit
This implementation needs to be re-implemented better, as it
will easily use more than 1024 file descriptors.
- Changed dynmic hackbench loops to a static value
To make the load more comparable no matter how many CPU cores
available. Using 100 as the default value.
- Reduced data size from 128 to 100
This is to match the old hackbench value.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
| |
|
|
| |
Signed-off-by: David Sommerseth <davids@redhat.com>
|
| |
|
|
|
|
|
|
| |
This is is a feature regression going back to commit e5d01f24e6fb6883
where CPU topology was introduced. The displaying itself was never
updated.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
| |
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
| |
detect when out-of-memory sleep time exceeds 60 seconds
and cap it at that value.
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
|
| |
Catch out-of-memory errors and sleep for an increasing number
of seconds (capped at 60 seconds) to let the system recover
before kicking off another hackbench.
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
|
|
| |
Added logic to loads.py, hackbench.py and kcompile.py that adjusts
the number of jobs run based on the gigabytes per core ratio. If
the ratio is less than 1, then only do one job per core, else do
two jobs per core.
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
| |
Add the memory size, number of numa nodes and the run duration
to the parameter array passed to loads and cyclictest.
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
| |
Go back to using threads rather than processes to save some
memory.
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|