win: compute parallelism from process cpu affinity#4521
Merged
bnoordhuis merged 2 commits intolibuv:v1.xfrom Aug 26, 2024
Merged
win: compute parallelism from process cpu affinity#4521bnoordhuis merged 2 commits intolibuv:v1.xfrom
bnoordhuis merged 2 commits intolibuv:v1.xfrom
Conversation
Use GetProcessAffinityMask() to estimate the available parallelism. Before this commit, it simply used the number of available CPUs. Fixes: libuv#4520
giordano
reviewed
Aug 25, 2024
|
Double checking: would this be consistent with Lines 752 to 754 in b5eb41d DWORD_PTR), right?
|
Member
Author
Yes. Improving support for systems with more than 64 CPUs is an outstanding todo. |
saghul
approved these changes
Aug 26, 2024
|
Perfect, consistency is very useful, too! Thanks a lot for the quick resolution! |
giordano
pushed a commit
to JuliaLang/libuv
that referenced
this pull request
Aug 26, 2024
Use GetProcessAffinityMask() to estimate the available parallelism. Before this commit, it simply used the number of available CPUs. Fixes: libuv#4520
giordano
pushed a commit
to JuliaLang/libuv
that referenced
this pull request
Aug 26, 2024
Use GetProcessAffinityMask() to estimate the available parallelism. Before this commit, it simply used the number of available CPUs. Fixes: libuv#4520 (cherry picked from commit 58dfb6c)
giordano
pushed a commit
to JuliaLang/libuv
that referenced
this pull request
Aug 31, 2024
Use GetProcessAffinityMask() to estimate the available parallelism. Before this commit, it simply used the number of available CPUs. Fixes: libuv#4520 (cherry picked from commit 58dfb6c)
giordano
added a commit
to giordano/Yggdrasil
that referenced
this pull request
Aug 31, 2024
This includes * JuliaLang/libuv#38, backport of libuv/libuv#4521 * JuliaLang/libuv#39, backport of libuv/libuv#4278
giordano
added a commit
to giordano/Yggdrasil
that referenced
this pull request
Aug 31, 2024
This includes * JuliaLang/libuv#38, backport of libuv/libuv#4521 * JuliaLang/libuv#39, backport of libuv/libuv#4278
giordano
added a commit
to JuliaPackaging/Yggdrasil
that referenced
this pull request
Aug 31, 2024
This includes * JuliaLang/libuv#38, backport of libuv/libuv#4521 * JuliaLang/libuv#39, backport of libuv/libuv#4278
giordano
added a commit
to JuliaLang/julia
that referenced
this pull request
Aug 31, 2024
Corresponding PR to Yggdrasil: JuliaPackaging/Yggdrasil#9337. This build includes backports of libuv/libuv#4278 (useful for for #46226) and libuv/libuv#4521 (useful for #55592)
KristofferC
pushed a commit
to JuliaLang/julia
that referenced
this pull request
Sep 12, 2024
Corresponding PR to Yggdrasil: JuliaPackaging/Yggdrasil#9337. This build includes backports of libuv/libuv#4278 (useful for for #46226) and libuv/libuv#4521 (useful for #55592)
kshyatt
pushed a commit
to JuliaLang/julia
that referenced
this pull request
Sep 12, 2024
Corresponding PR to Yggdrasil: JuliaPackaging/Yggdrasil#9337. This build includes backports of libuv/libuv#4278 (useful for for #46226) and libuv/libuv#4521 (useful for #55592)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use GetProcessAffinityMask() to estimate the available parallelism. Before this commit, it simply used the number of available CPUs.
Fixes: #4520