Skip to content

Conversation

@Maoni0
Copy link
Member

@Maoni0 Maoni0 commented Aug 20, 2022

we should not be attributing the survived from SIP to generation_allocation_size if it's in the same generation. the effect of this is very obvious when we are doing a lot of gen2 blocking GCs.

fixes #74286

@ghost ghost added the area-GC-coreclr label Aug 20, 2022
@ghost ghost assigned Maoni0 Aug 20, 2022
@ghost
Copy link

ghost commented Aug 20, 2022

Tagging subscribers to this area: @dotnet/gc
See info in area-owners.md if you want to be subscribed.

Issue Details

we should not be attributing the survived from SIP to generation_allocation_size if it's in the same generation. the effect of this is very obvious when we are doing a lot of gen2 blocking GCs.

fixes #74286

Author: Maoni0
Assignees: -
Labels:

area-GC-coreclr

Milestone: -

@jeffschwMSFT
Copy link
Member

Is this something that we want to consider for RC1? If so, we need to merge in main and start the backport to RC1 before EOD PT.

@mangod9
Copy link
Member

mangod9 commented Aug 22, 2022

SIP for regions is disabled in rc1, but we should take for 7 for rc2. @Maoni0 ?

@Maoni0
Copy link
Member Author

Maoni0 commented Aug 22, 2022

yeah, rc2 is fine. is there any special process for rc2?

@Maoni0 Maoni0 merged commit b06ab8c into dotnet:main Aug 22, 2022
@dsyme
Copy link

dsyme commented Aug 24, 2022

@Maoni0 I'm genuinely curious that no testing is added when fixing this sort of thing. Is it always that way? Thanks :)

@Maoni0
Copy link
Member Author

Maoni0 commented Aug 25, 2022

there will be testing added for this specific thing, ie, SIP in WKS GC with no concurrent (WKS GC with no concurrent is definitely the config that gets the least amount of perf testing). this is a trivial fix and we are in the middle of changing our perf infra so we haven't added the testing specifically for it yet.

@ghost ghost locked as resolved and limited conversation to collaborators Sep 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Huge performance drop for fsc.exe/dll

4 participants