Skip to content
This repository was archived by the owner on May 14, 2026. It is now read-only.

perf: Increase the size of rayon threadpool for syscalls#189

Draft
kdy1 wants to merge 8 commits into
pnpm:mainfrom
kdy1:perf-2-rayon-threadpool-size
Draft

perf: Increase the size of rayon threadpool for syscalls#189
kdy1 wants to merge 8 commits into
pnpm:mainfrom
kdy1:perf-2-rayon-threadpool-size

Conversation

@kdy1
Copy link
Copy Markdown

@kdy1 kdy1 commented Nov 11, 2023

I found that rayon is used only for syscalls. rayon is built for CPU-heavy tasks, but, it can still be used for syscalls. But we need one more patch to make it faster. 1x CPU count is too small because of blocking. There will be some idle threads.
I also wrote a comment about future improvements.

Blocked by

@kdy1 kdy1 changed the title perf: Increase the size of rayon threadpool as we only use it for blocking syscalls perf: Increase the size of rayon threadpool for syscalls Nov 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant