summaryrefslogtreecommitdiff
diff options
-rwxr-xr-xbin/storage_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/storage_test.py b/bin/storage_test.py
index 3dbc87f8..e6eecfd6 100755
--- a/bin/storage_test.py
+++ b/bin/storage_test.py
@@ -78,7 +78,7 @@ def run_bonnie(test_dir, user='root'):
free = free_space(test_dir)
print('{}MB of free space avaialble'.format(free))
if (force_mem_mb * 2) > free:
- force_mem_mb = free / 2
+ force_mem_mb = free / 4
print('Forcing memory setting to {}MB'.format(force_mem_mb))
cmd = 'bonnie++ -d {} -u {} -r {}'.format(test_dir, user, force_mem_mb)
print('+', cmd, flush=True)