Uh oh!
There was an error while loading. Please reload this page.
Added the ability to specify a Spin Count Unit via a GC Configuration to release/7.0 - #84495
Conversation
ghost
commented
Apr 7, 2023
Tagging subscribers to this area: @dotnet/gc Issue DetailsAdded the ability to specify a Spin Count Unit via a GC Configuration for the release/7.0 branch and make use of this value in the SetYieldProcessorScalingFactor function if the value is valid. If this configuration is not specified, we default to 0 and fall back to the original logic. This PR is port of #84339 as automatic merging failed.
|
teo-tsirpanis
commented
Apr 7, 2023
@mrsharm you have to target the |
JulieLeeMSFT
commented
Apr 7, 2023
@mrsharm, I am removing the servicing consider label until it is reviewed and all the tests are passed. |
Uh oh!
There was an error while loading. Please reload this page.
@mrsharm today is code complete. If you want this fix included in the May Servicing release, please get it ready by 4pm PT today:
No OOB changes needed since this is a native code change. |
JulieLeeMSFT
commented
Apr 10, 2023
cc @jeffschwMSFT for servicing consider. |
Maoni0
commented
Apr 10, 2023
JulieLeeMSFT
commented
Apr 10, 2023
mangod9
commented
Apr 11, 2023
Correct, we are still waiting for customer validation on this and will merge when we have confirmation. |
jeffschwMSFT
left a comment
There was a problem hiding this comment.
approved. we will bring for consideration in 7.0.x
Added the ability to specify a Spin Count Unit via a GC Configuration for the release/7.0-staging branch and make use of this value in the SetYieldProcessorScalingFactor function if the value is valid. If this configuration is not specified, we default to 0 and fall back to the original logic.
This PR is port of #84339 as automatic merging failed.
Customer impact
There were performance regressions experienced by customers related to this fix that resulted in an increase in the Spin Count Unit. This PR allows the ability to hardcode that value.
Testing
Tested manually and verified by a customer that the fix reverted the regression.
Risk
Low. The setting is not enabled by default and has to be explicitly set by the user for the conditional logic to work.