| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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>
|
|/
|
|
|
|
|
| |
This require caused a circular dependency (since rteval
requires rteval-loads). Remove it.
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>
|
|
|
|
|
|
|
| |
Changed message size from 1024 to 128 (to reduce memory usage) and
changed work unit from threads to processes.
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
|
|
| |
In the previous rework of passing in parameters via a dictionary,
I presumed that numcores was passed in as part of the parameter
dictionary. That was incorrect.
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
|
|
| |
Added parameters to rteval.conf and changed logic in hackbench.py
to deal with the behavior and new capabilities of the new
hackbench executable we're using.
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 an option (-L/--logging) to rteval that will turn on
logging of load output to a file in the report directory.
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
|
|
| |
Put all relevant data for the run in the params section passed to the
loads and to cyclictest. This simplifies argument lists and
centralizes where information may be found.
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
| |
Signed-off-by: David Sommerseth <davids@redhat.com>
|
| |
|
|
|
|
|
|
| |
Needed to add DESTDIR=/ to 'make install' command
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
|\ |
|
| |
| |
| |
| |
| | |
If rteval is used against an older python-dmidecode, it will raise
an Exception() due to dmidecode.get_warnings() not being available.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added a generic unit-test framework and rewritten the self-test parts in
some rteval modules where this was appropriate.
The unit-test contains a list of modules to load and test. It will run a
function named unit_test() in the imported modules. It is expected that
the unit_test() function will return 0 on success, otherwise it is logged
as an error.
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Clark Williams <williams@redhat.com>
|