Skip to content

Commit

Permalink
Divide by concurrent_procs instead of multiply
Browse files Browse the repository at this point in the history
Divide by concurrent_procs instead of multiply.

Closes #76
  • Loading branch information
mmgaggle authored and Mark Nelson committed Feb 19, 2016
1 parent cfc0fc9 commit a7b5323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/rbdfio.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def initialize(self):

# populate the fio files
logger.info('Attempting to populating fio files...')
size = self.vol_size * 0.9 * self.concurrent_procs
size = self.vol_size * 0.9 / self.concurrent_procs
pre_cmd = 'sudo %s --ioengine=%s --rw=write --numjobs=%s --bs=4M --size %dM %s > /dev/null' % (self.cmd_path, self.ioengine, self.numjobs, size, self.names)
common.pdsh(settings.getnodes('clients'), pre_cmd).communicate()

Expand Down

0 comments on commit a7b5323

Please sign in to comment.