Skip to content

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

Merged
KirillOsenkov merged 1 commit intoKirillOsenkov:mainfrom
stephentoub:fixservergc
Sep 17, 2024
Merged

Fix use of server GC for .NET 8 build#819
KirillOsenkov merged 1 commit intoKirillOsenkov:mainfrom
stephentoub:fixservergc

Conversation

@stephentoub
Copy link
Copy Markdown
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
@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