-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Regressions from "make SIP not on by default" #73784
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @dotnet/gc Issue DetailsRun Information
Regressions in System.IO.Tests.StreamReaderReadToEndTests
Reprogit clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net6.0 --filter 'System.IO.Tests.StreamReaderReadToEndTests*' PayloadsHistogramSystem.IO.Tests.StreamReaderReadToEndTests.ReadToEndAsync(LineLengthRange: [ 0, 1024])
Description of detection logic
DocsProfiling workflow for dotnet/runtime repository
|
from the chart this appears to be bimodel behavior from the test? Would be surprised in disabling SIP has caused this regression? |
We see the improvements from #71029 and the spike comes from one of 638a4c1...667c170 so definitely it is sensitive to GC. |
Hmm interesting. Ok we can look if reverting the SIP change makes things better. |
you don't need to revert the change, you can set the GCEnableSpecialRegions env var to turn it on as I mentioned in the PR - set COMPlus_GCEnableSpecialRegions=1 |
I was able to repro this issue locally and proved that after we set COMPLUS_GCEnableSpecialRegions=1, the regression dissapears: Without COMPlus_GCEnableSpecialRegions=1:
With COMPlus_GCEnableSpecialRegions=1:
@kunalspathak: Should we close this issue as this issue is by design? |
so when regions was enabled did we see the same degree of improvement with these tests? if so it would be fine to close. |
Yes, comparing net6.0 (w/o regions enabled by default) and the results above, I observe a definite improvement:
Repro: Closing this issue. |
Run Information
Regressions in System.IO.Tests.StreamReaderReadToEndTests
Test Report
Repro
Payloads
Baseline
Compare
Histogram
System.IO.Tests.StreamReaderReadToEndTests.ReadToEndAsync(LineLengthRange: [ 0, 1024])
Description of detection logic
Docs
Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository
The text was updated successfully, but these errors were encountered: