Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bounded parallelism and CPU Cores usage chart #117

Merged
merged 7 commits into from
Dec 20, 2024
Merged

Conversation

Saizan
Copy link
Contributor

@Saizan Saizan commented Dec 19, 2024

  • Added rather crude chart to show number of cores used per node.
  • TODO: moving average might be more illustrative.
  • Added -N flag to control parallelism, accepts 'unbounded' or number of cores.
  • cabal run ols -- viz short-leios-p2p-1 -N unbounded shows a node using 13 cores around 30s.
  • Otherwise things seem to get busy around votes, though maybe less so as time goes on?

@wenkokke
Copy link
Contributor

wenkokke commented Dec 19, 2024

Added -N flag to control parallelism, -1 unbounded, otherwise that many cores.

Why not use 0 or a "unbounded" for unbounded usage? (Or --max-cpu-cores=N versus --no-max-cpu-cores?)

@Saizan Saizan merged commit 6da0918 into main Dec 20, 2024
8 checks passed
@Saizan Saizan deleted the andrea/workers-pool branch December 20, 2024 08:20
will-break-it pushed a commit that referenced this pull request Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants