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

Fix use of server GC for .NET 8 build #819

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

stephentoub
Copy link
Contributor

@stephentoub stephentoub commented Sep 17, 2024

Here's what top-level CPU consumption looks like in a run with the netfx build up until it's done reading the input:
image
It's using server GC, thanks to:

Here's what it looks like on core before this change:
image
It doesn't respect that app.config, hence using workstation GC. Note it's flat, pegging only a single core, rather than utilizing more, due to being bottlenecked on GC.

Now with the one-line fix:
image

@KirillOsenkov KirillOsenkov merged commit 9719f61 into KirillOsenkov:main Sep 17, 2024
1 check passed
@stephentoub stephentoub deleted the fixservergc branch September 17, 2024 17:46
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.

2 participants