Skip to content

Commit 6297c02

Browse files
Added cpuset start position for client runner (#71)
1 parent 0277988 commit 6297c02

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

redis_benchmarks_specification/__runner__/args.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def create_client_runner_args(project_name):
3838
)
3939
parser.add_argument("--db_server_host", type=str, default="localhost")
4040
parser.add_argument("--db_server_port", type=int, default=6379)
41+
parser.add_argument("--cpuset_start_pos", type=int, default=0)
4142
parser.add_argument(
4243
"--datasink_redistimeseries_host", type=str, default=DATASINK_RTS_HOST
4344
)

redis_benchmarks_specification/__runner__/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def process_self_contained_coordinator_stream(
175175
for topology_spec_name in benchmark_config["redis-topologies"]:
176176
test_result = False
177177
try:
178-
current_cpu_pos = 0
178+
current_cpu_pos = args.cpuset_start_pos
179179
temporary_dir_client = tempfile.mkdtemp(dir=home)
180180

181181
tf_github_org = args.github_org

0 commit comments

Comments
 (0)