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

Take default GC choices always #51564

Closed
wants to merge 11 commits into from
Closed

Take default GC choices always #51564

wants to merge 11 commits into from

Conversation

gbaraldi
Copy link
Member

@gbaraldi gbaraldi commented Oct 3, 2023

Revert only the automatic tuning of the GC because there are some issues with it. @d-netto is looking into them but it's probably not going to be done for 1.10

@gbaraldi
Copy link
Member Author

gbaraldi commented Oct 3, 2023

@d-netto can you check if this doesn't make the performance too much worse?

@brenhinkeller brenhinkeller added the GC Garbage collector label Oct 3, 2023
src/gc.c Outdated Show resolved Hide resolved
@d-netto
Copy link
Member

d-netto commented Oct 4, 2023

We backported this PR and ran our internal CI with it.

There seems to be OOM kills in a couple of tests.

@d-netto
Copy link
Member

d-netto commented Oct 5, 2023

FWIW I can reproduce the issue reported on #51601 with this PR.

Peak RSS on 1.9 is around 400MB-500MB, and with this PR it goes beyond 60GB and fails on the serialization step of GCBenchmarks.

+ adjust the target heap if too much gets freed out of GC
+ add the counted realloc size to the old gen
@vtjnash
Copy link
Member

vtjnash commented Apr 16, 2024

I don't know if you wanted to pull out the jl_batch_accum_heap_size code reorg but sounds like this wasn't sufficient and so didn't turn out to be useful

@vtjnash vtjnash deleted the gb/gc-rever branch April 16, 2024 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GC Garbage collector
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants