Verified Commit 84740aa9 authored by Jim Newsome's avatar Jim Newsome
Browse files

Cap number of worker threads

parent d2d9215a
......@@ -234,7 +234,9 @@ run-sim:
# 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
# We run into system limits on # of threads if we do the default of creating one per managed process.
- tornettools simulate -s $CI_PROJECT_DIR/jobs/opt/shadow/bin/shadow -a "--use-cpu-pinning=true --interpose-method=preload -p $PARALLELISM --worker-threads=$WORKER_THREADS" $CI_PROJECT_DIR/jobs/tornet
# Parse simulation results.
# The raw results are too large to save as an artifact.
Supports Markdown
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