Skip to content

Switch to full ngen for Roslyn binaries#54995

Merged
genlu merged 3 commits intodotnet:main-vs-depsfrom
genlu:fullNgen
Jul 30, 2021
Merged

Switch to full ngen for Roslyn binaries#54995
genlu merged 3 commits intodotnet:main-vs-depsfrom
genlu:fullNgen

Conversation

@genlu
Copy link
Copy Markdown
Member

@genlu genlu commented Jul 20, 2021

…Ngen"

This reverts commit 5536669, reversing
changes made to b6a9f8c.
@genlu genlu requested review from a team as code owners July 20, 2021 21:26
@genlu genlu requested a review from a team July 20, 2021 21:26
@ghost ghost added the Area-Infrastructure label Jul 20, 2021
@genlu
Copy link
Copy Markdown
Member Author

genlu commented Jul 30, 2021

The insertion shows reduced jitting across the board and some regression caused by increased image size, which is expected.

@genlu
Copy link
Copy Markdown
Member Author

genlu commented Jul 30, 2021

FYI @allisonchou @davkean

@allisonchou
Copy link
Copy Markdown
Contributor

@genlu As someone who's not very familiar with ngen, what implications (if any) will this have on the insertion flow?

@genlu
Copy link
Copy Markdown
Member Author

genlu commented Jul 30, 2021

@allisonchou based on the RPS results in the val insertion, this would reduce jitting but also might cause regression in refset due to increased image size. The regression should be auto-approved for exception though, since it's expected for full ngen.

FYI, we saw similar refset regression last time we tried to switch to full ngen
https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_git/VS/pullrequest/329020

@davkean
Copy link
Copy Markdown
Member

davkean commented Jul 30, 2021

This regressed this counter which should be looked at:

BuildInfoVS64.Test - RegressedBeyondThreshold / 0001.BuildInfo / Build_Ngen_InvalidAssemblyCount / Regressed: 4.00 Count (21.05%)

@genlu
Copy link
Copy Markdown
Member Author

genlu commented Jul 30, 2021

@davkean That's unrelated. There's a breaking change in LanguageServer.Client (PR), which requires some additional change in VS repo, which my validation PR doesn't have.

@genlu genlu merged commit 14a228a into dotnet:main-vs-deps Jul 30, 2021
@ghost ghost added this to the Next milestone Jul 30, 2021
@genlu genlu deleted the fullNgen branch July 30, 2021 21:57
@dibarbet dibarbet modified the milestones: Next, 17.0.P4 Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants