Skip to content

Commit 98ec664

Browse files
committed
Change to numactl
1 parent 31f1bbd commit 98ec664

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

scripts/perf-lab/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ states:
4949

5050
config.num_iterations: 3
5151

52-
APP_CMD_PREFIX: taskset --cpu-list ${{config.resources.cpu.app}}
53-
LOAD_GEN_CMD_PREFIX: taskset --cpu-list ${{config.resources.cpu.load_generator}}
54-
MONITOR_CMD_PREFIX: taskset --cpu-list ${{config.resources.cpu.monitor}}
55-
RUN.WRK_BIN: ${{LOAD_GEN_CMD_PREFIX}} jbang -R -XX:+UseNUMA wrk@hyperfoil
52+
APP_CMD_PREFIX: numactl --membind=0 --physcpubind=${{config.resources.cpu.app}}
53+
LOAD_GEN_CMD_PREFIX: numactl --membind=0 --physcpubind=${{config.resources.cpu.load_generator}}
54+
MONITOR_CMD_PREFIX: numactl --membind=0 --physcpubind=${{config.resources.cpu.monitor}}
55+
RUN.WRK_BIN: ${{LOAD_GEN_CMD_PREFIX}} jbang wrk@hyperfoil
5656

5757
PAUSE_TIME: 5
5858
PROFILER_JVM_ARGS:
@@ -487,7 +487,7 @@ scripts:
487487
- queue-download: ${{REPO_DIR}}/logs/measure-time-to-first-request-${{RUNTIMECMD.name}}-${{ITERATION}}.log
488488
- script: start-test-services
489489
- script: sync-drop-fs-cache
490-
- sh: timeout 60s bash -c "taskset --cpu-list ${{config.resources.cpu.1st_request}} ${{HELPER_SCRIPTS_DIR}}/time-to-1st-request.sh '${{RUNTIMECMD.runCmd}}' '${{TARGET_URL}}' '${{REPO_DIR}}/logs/measure-time-to-first-request-${{RUNTIMECMD.name}}-${{ITERATION}}.log'"
490+
- sh: timeout 60s bash -c "numactl --membind=0 --physcpubind=${{config.resources.cpu.1st_request}} ${{HELPER_SCRIPTS_DIR}}/time-to-1st-request.sh '${{RUNTIMECMD.runCmd}}' '${{TARGET_URL}}' '${{REPO_DIR}}/logs/measure-time-to-first-request-${{RUNTIMECMD.name}}-${{ITERATION}}.log'"
491491
then:
492492
- regex: Terminated
493493
then:

0 commit comments

Comments
 (0)