summaryrefslogtreecommitdiff
path: root/bin
diff options
Diffstat (limited to 'bin')
-rwxr-xr-xbin/memory_stress_ng2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/memory_stress_ng b/bin/memory_stress_ng
index 181404a..450a319 100755
--- a/bin/memory_stress_ng
+++ b/bin/memory_stress_ng
@@ -72,7 +72,7 @@ run_stressor() {
local runtime="$2"
# Add 50% to runtime; will forcefully terminate if stress-ng
# fails to return in that time.
- end_time=$((runtime*15/10))
+ end_time=$((runtime*2))
echo "Running stress-ng $1 stressor for $2 seconds...."
logger -t "memory_stress_ng" "Running stress-ng $1 stressor for $2 seconds..."
# Use "timeout" command to launch stress-ng, to catch it should it go into la-la land