Skip to content

Commit

Permalink
YCSB: Default options
Browse files Browse the repository at this point in the history
  • Loading branch information
perdelt committed Nov 29, 2023
1 parent 3aef129 commit ce3d1b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ycsb.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
parser.add_argument('-nc', '--num-config', help='number of runs per configuration', default=1)
parser.add_argument('-ne', '--num-query-executors', help='comma separated list of number of parallel clients', default="1")
parser.add_argument('-nl', '--num-loading', help='number of parallel loaders per configuration', default=1)
parser.add_argument('-nlp', '--num-loading-pods', help='total number of loaders per configuration', default=[1,8])
parser.add_argument('-nlp', '--num-loading-pods', help='total number of loaders per configuration', default="1,8")
parser.add_argument('-sf', '--scaling-factor', help='scaling factor (SF) = number of rows in millions', default=1)
parser.add_argument('-sfo', '--scaling-factor-operations', help='scaling factor (SF) = number of operations in millions (=SF if not set)', default=None)
parser.add_argument('-su', '--scaling-users', help='scaling factor = number of total threads', default=64)
Expand Down Expand Up @@ -77,7 +77,7 @@
mode = str(args.mode)
SF = str(args.scaling_factor)
SFO = str(args.scaling_factor_operations)
if SFO is None:
if SFO == 'None':
SFO = SF
SU = int(args.scaling_users)
target_base = int(args.target_base)
Expand Down

0 comments on commit ce3d1b8

Please sign in to comment.