aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2013-01-15 21:51:14 +0100
committerDavid Sommerseth <davids@redhat.com>2013-01-15 21:51:14 +0100
commite182a06906da968d9677f740f5156588e0da7c5d (patch)
tree12917900c0a0f246eccc63c69739a6ddac64148a
parent6c0f7ab28d73fa7703b8374355a1563b5c97eba2 (diff)
downloadrteval-e182a06906da968d9677f740f5156588e0da7c5d.tar.gz
Fixed a few log messages in load modules
Signed-off-by: David Sommerseth <davids@redhat.com>
-rw-r--r--rteval/modules/loads/hackbench.py4
-rw-r--r--rteval/modules/loads/kcompile.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/rteval/modules/loads/hackbench.py b/rteval/modules/loads/hackbench.py
index 53c4739..6460bb3 100644
--- a/rteval/modules/loads/hackbench.py
+++ b/rteval/modules/loads/hackbench.py
@@ -49,7 +49,7 @@ class Hackbench(CommandLineLoad):
if ratio >= 0.75:
mult = float(self._cfg.setdefault('jobspercore', 2))
else:
- self._log(Log.INFO, "hackbench: low memory system (%f GB/core)! Not running\n" % ratio)
+ self._log(Log.INFO, "Low memory system (%f GB/core)! Not running" % ratio)
mult = 0
self._donotrun = True
@@ -94,7 +94,7 @@ class Hackbench(CommandLineLoad):
raise e
# Catch out-of-memory errors and wait a bit to (hopefully)
# ease memory pressure
- self._log(Log.DEBUG, "hackbench: %s, sleeping for %f seconds" % (e.strerror, self.__err_sleep))
+ self._log(Log.DEBUG, "ERROR: %s, sleeping for %f seconds" % (e.strerror, self.__err_sleep))
time.sleep(self.__err_sleep)
if self.__err_sleep < 60.0:
self.__err_sleep *= 2.0
diff --git a/rteval/modules/loads/kcompile.py b/rteval/modules/loads/kcompile.py
index 2aa3eb5..663917f 100644
--- a/rteval/modules/loads/kcompile.py
+++ b/rteval/modules/loads/kcompile.py
@@ -122,7 +122,7 @@ class Kcompile(CommandLineLoad):
if ratio > 1.0:
njobs = self.num_cpus * mult
else:
- self._log(Log.DEBUG, "low memory system (%f GB/core)! Dropping jobs to one per core\n" % ratio)
+ self._log(Log.DEBUG, "Low memory system (%f GB/core)! Dropping jobs to one per core" % ratio)
njobs = self.num_cpus
return njobs