diff options
author | Clark Williams <williams@redhat.com> | 2011-05-14 09:48:28 -0500 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2011-05-14 09:48:28 -0500 |
commit | 1192d756f5beae30949c6e229bc3751323008d9b (patch) | |
tree | 9d4057a086620be8c4d607836a54d1457a7b9186 | |
parent | 1a5c856eeb74985f8031e422479555dccae5bb03 (diff) | |
download | rteval-1192d756f5beae30949c6e229bc3751323008d9b.tar.gz rteval-1192d756f5beae30949c6e229bc3751323008d9b.tar.xz rteval-1192d756f5beae30949c6e229bc3751323008d9b.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.py | 2 |
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 |