summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClark Williams <williams@redhat.com>2011-05-14 09:48:28 -0500
committerDavid Sommerseth <davids@redhat.com>2011-10-07 18:10:05 +0200
commit3331cc5cba86ee17e6bf6751cedad502bc077cf6 (patch)
treef7dfcb2e7ca19349b4afc6b5060996409a56a80a
parent95deea3d5c96b8375621702250cc49bde8bebbfd (diff)
downloadrteval-3331cc5cba86ee17e6bf6751cedad502bc077cf6.tar.gz
rteval-3331cc5cba86ee17e6bf6751cedad502bc077cf6.tar.xz
rteval-3331cc5cba86ee17e6bf6751cedad502bc077cf6.zip
change low-memory threshold to be 0.75GB/core
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>
-rw-r--r--rteval/hackbench.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rteval/hackbench.py b/rteval/hackbench.py
index 4083187..d545039 100644
--- a/rteval/hackbench.py
+++ b/rteval/hackbench.py
@@ -56,7 +56,7 @@ class Hackbench(load.Load):
elif units == 'TB':
mem = mem * 1024
ratio = float(mem) / float(self.num_cpus)
- if ratio >= 1.0:
+ if ratio >= 0.75:
mult = int(self.params.setdefault('jobspercore', 2))
else:
print "hackbench: low memory system (%f GB/core)! Not running\n" % ratio