Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mike Perry
sponsor-61-sims
Commits
84740aa9
Verified
Commit
84740aa9
authored
Jul 20, 2021
by
Jim Newsome
Browse files
Cap number of worker threads
parent
d2d9215a
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
84740aa9
...
...
@@ -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.
-
PARALLELISM=20
-
tornettools simulate -s $CI_PROJECT_DIR/jobs/opt/shadow/bin/shadow -a "--use-cpu-pinning=true --interpose-method=preload -p $PARALLELISM --template-directory=shadow.data.template" $CI_PROJECT_DIR/jobs/tornet
# We run into system limits on # of threads if we do the default of creating one per managed process.
-
WORKER_THREADS=200
-
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 --template-directory=shadow.data.template" $CI_PROJECT_DIR/jobs/tornet
# Parse simulation results.
# The raw results are too large to save as an artifact.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment