Skip to content

Introduce System.Runtime.TieredPGO knob#71438

Merged
EgorBo merged 1 commit into
dotnet:mainfrom
EgorBo:add-tieredpgo-switch
Jul 1, 2022
Merged

Introduce System.Runtime.TieredPGO knob#71438
EgorBo merged 1 commit into
dotnet:mainfrom
EgorBo:add-tieredpgo-switch

Conversation

@EgorBo

@EgorBo EgorBo commented Jun 29, 2022

Copy link
Copy Markdown
Member

Related SDK PR: dotnet/sdk#26350

The idea is to introduce a configuration switch similar to TieredCompilation to expose a config switch for TieredPGO. It's done because many of our first/third parties are interested in trying Dynamic PGO and currently it's only possible with DOTNET_TieredPGO=1 env. variable defined in the execution process.

With this PR and the related SDK change customers will be able to turn it on (it's off by default) via MSBUILD or JSON config just like TieredCompilation, e.g.:

<TieredPGO>true</TieredPGO>

@EgorBo

EgorBo commented Jun 30, 2022

Copy link
Copy Markdown
Member Author

Not sure who to ask for review, @AndyAyersMS ?

@AndyAyersMS AndyAyersMS left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but maybe somebody on the runtime side should sign off?

cc @mangod9

@EgorBo
EgorBo merged commit f5a78eb into dotnet:main Jul 1, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 1, 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.

3 participants