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

Performance: Thread Management #4277

Open
bw-solana opened this issue Jan 3, 2025 · 0 comments
Open

Performance: Thread Management #4277

bw-solana opened this issue Jan 3, 2025 · 0 comments
Assignees

Comments

@bw-solana
Copy link

bw-solana commented Jan 3, 2025

There is a ton of work to do to wrangle all of the threads in Agave. This potentially includes things like:

  1. Reducing overall number of threads (threads exceed cores by an order of magnitude) by combining some services, shrinking thread pools, not scaling thread pools to num CPUs in many cases.
  2. There are several places in the code where we have rayon thread pools to parallelize work, but the average amount of work to complete is very small. The overhead of farming out to rayon pool is significant. We would be better off just using the current thread when the amount of work is small.

Steve has put together a thread related project here: https://github.com/orgs/anza-xyz/projects/3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

2 participants