Created
December 21, 2015 20:50
-
-
Save mmgaggle/a62fd0f86151d0935d04 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/benchmark/rbdfio.py b/benchmark/rbdfio.py | |
index 6b6f1e2..c2e5d8a 100644 | |
--- a/benchmark/rbdfio.py | |
+++ b/benchmark/rbdfio.py | |
@@ -76,7 +76,7 @@ class RbdFio(Benchmark): | |
# populate the fio files | |
logger.info('Attempting to populating fio files...') | |
- pre_cmd = 'sudo %s --ioengine=%s --rw=write --numjobs=%s --bs=4M --size %dM %s > /dev/null' % (self.cmd_path, self.ioengine, self.numjobs, self.vol_size*0.9, self.names) | |
+ pre_cmd = 'sudo %s --ioengine=%s --rw=write --numjobs=%s --bs=4M --size %dM %s > /dev/null' % (self.cmd_path, self.ioengine, self.numjobs, self.vol_size*0.9/self.concurrent_procs, self.names) | |
common.pdsh(settings.getnodes('clients'), pre_cmd).communicate() | |
return True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment