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

Tiered Jitting: Implement Opt-out configuration #8473

Closed
noahfalk opened this issue Jul 3, 2017 · 3 comments
Closed

Tiered Jitting: Implement Opt-out configuration #8473

noahfalk opened this issue Jul 3, 2017 · 3 comments

Comments

@noahfalk
Copy link
Member

noahfalk commented Jul 3, 2017

We hope that tiered jitting is a useful performance improvement for nearly all projects and it will keep improving over time, but there is likely to be a small set of projects that want to disable it for various reasons. We need to determine and implement appropriate configuration switches to accomplish this. There is some initial discussion of the topic in #5620. Also likely to be useful is prior art such as configuration for ryujit when it was first introduced or GC configuration.

This item does not include other more sophisticated types of configuration such as configuring the JIT to replace the default tiering policy with a custom policy. Discussion for that is probably best left in #5620 for general brainstorming or opening a new work item to track a specific goal in that space. #5620 had several suggestions for useful extensions of the work.

davmason referenced this issue in dotnet/coreclr Oct 23, 2017
…rs (#14643)

add option to disable tiered compilation for profilers
@kouvel
Copy link
Member

kouvel commented Sep 24, 2018

Closing based on dotnet/coreclr#17807, please reopen if there are other things that should be covered by this issue

@kouvel kouvel closed this as completed Sep 24, 2018
@kouvel
Copy link
Member

kouvel commented Sep 24, 2018

Adding a method-level opt-out is covered by https://github.com/dotnet/corefx/issues/32235

@noahfalk
Copy link
Member Author

noahfalk commented Oct 2, 2018

It might be worth mentioning that the AggresiveOptimization happens to align right now with a method level opt-out for tiering, but developers shouldn't assume it will always mean that in the future. For example if we added a new faster Tier2 and the only way to reach it was to first profile Tier1 then we'd probably want AggressiveOptimization methods to move Tier1 -> Tier2 when possible.

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the Future milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants