Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Nov 20, 2019

Currently, a few GC settings are only available as environment variables.
This adds support for a few more as runtimeconfig settings.
They are:

  • "System.GC.CpuGroup": Same as COMPlus_GCCpuGroup
  • "System.GC.HighMemoryPercent": Same as COMPlus_GCHighMemPercent
  • "System.GC.LargePages": Same as COMPlus_GCLargePages
  • "System.GC.HeapAffinitizeRnages": Same as COMPlus_GCHeapAffinitizeRanges

This is similar to dotnet/coreclr#25574,
which did this for "System.GC.HeapHardLimit" and "System.GC.HeapHardLimitPercent".

This PR also adds a new API described in dotnet/corefx#42499 .

…config

Currently, a few GC settings are only available as environment variables.
This adds support for a few more as runtimeconfig settings.
They are:

* "System.GC.CpuGroup": Same as `COMPlus_GCCpuGroup`
* "System.GC.HighMemoryPercent": Same as `COMPlus_GCHighMemPercent`
* "System.GC.LargePages": Same as `COMPlus_GCLargePages`
* "System.GC.HeapAffinitizeRnages": Same as `COMPlus_GCHeapAffinitizeRanges`

This is similar to dotnet/coreclr#25574,
which did this for "System.GC.HeapHardLimit" and "System.GC.HeapHardLimitPercent".

This PR also adds a new API described in dotnet/corefx#42499 .
@stephentoub
Copy link
Member

stephentoub commented Nov 21, 2019

Have the associated APIs been approved yet?

@ghost
Copy link
Author

ghost commented Nov 21, 2019

Not yet. Presume this should be tagged api-suggestion then?

@stephentoub
Copy link
Member

Presume this should be tagged api-suggestion then?

We generally avoid putting up PRs at all for APIs that haven't been approved. If the goal is just to get feedback as part of the issue discussion, or to sure the progress you've made, that can be done by just linking to the relevant commit in your fork from the relevant issues.

Thanks

@ghost ghost closed this Nov 21, 2019
@stephentoub
Copy link
Member

cc: @terrajobst

@ghost ghost locked as resolved and limited conversation to collaborators Dec 11, 2020
radical pushed a commit to radical/runtime that referenced this pull request Jul 7, 2022
I guess this is thanks to the sudo launchctl we are doing. However, I won't waste energy on finding the cause and will just fix this symptom since we will move to Arcade soon.

Fixes: dotnet#162
Fixes: dotnet#117
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants