-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Large perf regressions in coreclr.dll native code #93837
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsRepro
Observe coreclr.dll size is 4,579,328
Observe coreclr.dll size is 6,098,432 (33% regression) The x86 large size difference is just one manifestation of the regression. There are regressions on other architectures and there are regressions in throughput too. (I have run into them when trying to validate #93766 for servicing backport.)
|
@jtschuster This was introduced by #92844. I am considering reverting the change. The longer we run with it, the more problems it is going to cause in our performance tracking. |
FWIW, I noticed that CET was enabled in the native EXEs before #93838 (windbg was exiting with an error when trying to record TTD trace). Maybe it could explain the regression? |
CET should not be a thing on 32-bit x86. I have briefly looked into it before reverting and the top contributor to the binary size regression seemed to be broken LTCG. The linker command line had number of changes that did not look intentional. |
Repro
build.cmd -s clr.native -c release -rc release -a x86
at https://github.com/dotnet/runtime/tree/48dd30ed6e21699fa03422872b0539b165bd4741Observe coreclr.dll size is 4,579,328
build.cmd -s clr.native -c release -rc release -a x86
at https://github.com/dotnet/runtime/tree/3086d8a1c30b28290b44e73cd96b23194906c2cf (commit immediately after)Observe coreclr.dll size is 6,098,432 (33% regression)
The x86 large size difference is just one manifestation of the regression. There are regressions on other architectures and there are regressions in throughput too. (I have run into them when trying to validate #93766 for servicing backport.)
The text was updated successfully, but these errors were encountered: