Verified Commit 5e0ed26d authored by Jim Newsome's avatar Jim Newsome
Browse files

Set parallelism to 20

Put all workers on a single numa node.
parent a5da0ccf
......@@ -233,9 +233,14 @@ run-sim:
- ulimit -c unlimited
- $CI_PROJECT_DIR/ $CI_PROJECT_DIR/jobs/tornet &
- disown
# Temporarily restrict to 6 CPUs, for apples to apples comparison with local runner.
# - PARALLELISM=$((`nproc` / 2))
# The shadow runner has 2 numa nodes, each with 20 physical cores. Shadow is currently not numa-aware
# when migrating tasks across workers; e.g. it doesn't try to avoid stealing from another numa node, and
# it doesn't reassign physical pages to the new node.
# Limit to 20 threads - Shadow should assign them all to the same Numa node, leaving othe other node idle,
# but ensuring we don't have cross-node memory access.
- tornettools simulate -s $CI_PROJECT_DIR/jobs/opt/shadow/bin/shadow -a "--use-cpu-pinning=true --interpose-method=preload -p $PARALLELISM" $CI_PROJECT_DIR/jobs/tornet
timeout: 24h
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment