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

Backport #45727 and a patch to make it work #45938

Merged
merged 2 commits into from
Jul 5, 2022
Merged

Backport #45727 and a patch to make it work #45938

merged 2 commits into from
Jul 5, 2022

Conversation

kpamnany
Copy link
Contributor

@kpamnany kpamnany commented Jul 5, 2022

No description provided.

kpamnany added 2 commits July 5, 2022 09:31
Currently constrained to `totalmem / ncores / 2` for `_P64` which
results in a very short collect interval when you're running with
a smaller number of threads on a machine with many cores.

Changes this to `totalmem / nthreads / 2` which, for two of our
tests, resulted in 40% and 60% runtime reduction (!!) as well as
GC time reduction from 46% to 10% and 64% to 11%.
To allow use of `jl_n_threads` in GC initialization.
@kpamnany kpamnany requested a review from KristofferC July 5, 2022 13:42
@KristofferC KristofferC added the merge me PR is reviewed. Merge when all tests are passing label Jul 5, 2022
@KristofferC KristofferC merged commit 7a23871 into JuliaLang:backports-release-1.8 Jul 5, 2022
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Jul 6, 2022
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