19744: Adjust chart format so legend doesn't cover data
[arvados.git] / tools / crunchstat-summary / crunchstat_summary / summarizer.py
index e03e6bb46119d0308d00cbf16024f5661a0016da..4d5674ec83c1ccf819c8d2427732ad5b40bacb14 100644 (file)
@@ -422,7 +422,7 @@ class Summarizer(object):
         if asked_cores is None:
             asked_cores = 1
         # TODO: This should be more nuanced in cases where max >> avg
-        if used_cores < asked_cores:
+        if used_cores < (asked_cores*.5):
             yield recommendformat(
                 '{} max CPU usage was {}% -- '
                 'try reducing runtime_constraints to "{}":{}'