-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
JIT: move and revise fgExpandRunRarelyBlocks #50765
Conversation
Move to fgopt, and rework to make its operation a bit more obvious.
cc @dotnet/jit-contrib |
No SPMI diffs. |
Can we teach SPMI to detect "invalid weights" differences? something like that |
Not easily, at least with the current mode of operation. SPMI diffs key off of things observable via the jit interface. We have discussed adding a callback to the runtime that would only happen under SPMI, to allow the jit to report "facts" about each method. The runtime would ignore this callback but SPMI would not. Having something like that would allow SPMI to compare the facts for each method between two jits, and then it could count / summarize and describe the nature of those diffs. |
Thanks, another question:
The current algorithm will just make BB0 cold, am I right? I just wonder if it could notify that it's going to ignore IBC data for a block and make it cold and most likely something went wrong - or we'll just rely on |
If profile data is consistent then it shouldn't -- but if it is inconsistent, it might. So these should be flagged by the consistency checker. It might make sense to add a jitdump note if we ever change a profiled non-zero weight to zero. |
Move to fgopt, and rework to make its operation a bit more obvious.