Skip to content

Comments

chore: double Node.js libuv thread count#20709

Merged
PhilWindle merged 3 commits intomerge-train/spartanfrom
ad/chore/double-libuv-threads
Feb 23, 2026
Merged

chore: double Node.js libuv thread count#20709
PhilWindle merged 3 commits intomerge-train/spartanfrom
ad/chore/double-libuv-threads

Conversation

@ludamad
Copy link
Collaborator

@ludamad ludamad commented Feb 20, 2026

Increases the libuv thread pool size to improve I/O performance in the yarn-project. We have the AVM simulator and liblmdb stuff that can hold multiple threads, so the original count of 4 is seeming low.

@ludamad ludamad added ci-draft Run CI on draft PRs. ci-full Run all master checks. labels Feb 20, 2026
Set UV_THREADPOOL_SIZE=8 (double the default of 4) in both the test
runner and the release image to improve I/O throughput on CPU-bound
workloads.
@ludamad ludamad marked this pull request as ready for review February 23, 2026 14:02
@ludamad ludamad requested a review from charlielye as a code owner February 23, 2026 14:02
@PhilWindle PhilWindle merged commit 1a1f969 into merge-train/spartan Feb 23, 2026
18 of 22 checks passed
@PhilWindle PhilWindle deleted the ad/chore/double-libuv-threads branch February 23, 2026 14:51
AztecBot pushed a commit that referenced this pull request Feb 23, 2026
Increases the libuv thread pool size to improve I/O performance in the yarn-project. We have the AVM simulator and liblmdb stuff that can hold multiple threads, so the original count of 4 is seeming low.
@AztecBot
Copy link
Collaborator

✅ Successfully backported to backport-to-v4-staging #20752.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v4 ci-draft Run CI on draft PRs. ci-full Run all master checks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants