-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT: add ability to pad profile counters and adjust scalable count th… (
#91081) * `DOTNET_JitCounterPadding`: adds the ability to pad profile counters by some number of counter-sized slots, to mitigate the effects of false sharing. For example with 64 bit counters, setting `DOTNET_JitCounterPadding=8` means each counter is now on its own cache line (for xarch). * `DOTNET_TieredPGO_ScalableCountThreshold`: adds the ability to alter the scalable profile counter's threshold for switching to approximate counting. Defaults to 13 which means profile counts are exact up to 2^13 = 8192 and approximate above that. Lower values will reduce the volume of counter updates (also mitigating false sharing impact) but make the counts more approximate. Co-authored-by: Jakob Botsch Nielsen <[email protected]>
- Loading branch information
1 parent
538cd03
commit f5881e5
Showing
6 changed files
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters