Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/benchmarks/gc/docs/bench_file.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,15 @@ complus_gcheapcount: `int | None`
complus_gcheaphardlimit: `int | None`
Hard limit on heap size, in bytes. (decimal)

complus_gcheaphardlimitsoh: `int | None`
Hard limit on small object heap size, in bytes. (decimal)

complus_gcheaphardlimitloh: `int | None`
Hard limit on large object heap size, in bytes. (decimal)

complus_gcheaphardlimitpoh: `int | None`
Hard limit on pinned object heap size, in bytes. (decimal)

complus_gclargepages: `bool | None`
Set to true to enable large pages.

Expand Down Expand Up @@ -269,6 +278,15 @@ complus_gcheapcount: `int | None`
complus_gcheaphardlimit: `int | None`
Hard limit on heap size, in bytes. (decimal)

complus_gcheaphardlimitsoh: `int | None`
Hard limit on small object heap size, in bytes. (decimal)

complus_gcheaphardlimitloh: `int | None`
Hard limit on large object heap size, in bytes. (decimal)

complus_gcheaphardlimitpoh: `int | None`
Hard limit on pinned object heap size, in bytes. (decimal)

complus_gclargepages: `bool | None`
Set to true to enable large pages.

Expand Down
15 changes: 15 additions & 0 deletions src/benchmarks/gc/src/commonlib/bench_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,15 @@ def __post_init__(self) -> None:
""",
)
@doc_field("complus_gcheaphardlimit", "Hard limit on heap size, in bytes. (decimal)")
@doc_field(
"complus_gcheaphardlimitsoh", "Hard limit on small object heap size, in bytes. (decimal)"
)
@doc_field(
"complus_gcheaphardlimitloh", "Hard limit on large object heap size, in bytes. (decimal)"
)
@doc_field(
"complus_gcheaphardlimitpoh", "Hard limit on pinned object heap size, in bytes. (decimal)"
)
@doc_field("complus_gclargepages", "Set to true to enable large pages.")
@doc_field("complus_gcnoaffinitize", "Set to true to prevent affinitizing GC threads to cpu cores.")
@doc_field("complus_gccpugroup", "Set to true to enable CPU groups.")
Expand Down Expand Up @@ -182,6 +191,9 @@ class ConfigOptions:
complus_gcheapaffinitizeranges: Optional[str] = None
complus_gcheapcount: Optional[int] = None
complus_gcheaphardlimit: Optional[int] = None
complus_gcheaphardlimitsoh: Optional[int] = None
complus_gcheaphardlimitloh: Optional[int] = None
complus_gcheaphardlimitpoh: Optional[int] = None
complus_gclargepages: Optional[bool] = None
complus_gcnoaffinitize: Optional[bool] = None
complus_gccpugroup: Optional[bool] = None
Expand Down Expand Up @@ -342,6 +354,9 @@ def ob(name: str, v: Optional[bool]) -> Optional[Mapping[str, str]]:
),
od("COMPlus_GCHeapCount", cfg.complus_gcheapcount),
od("COMPlus_GCHeapHardLimit", cfg.complus_gcheaphardlimit),
od("COMPlus_GCHeapHardLimitSOH", cfg.complus_gcheaphardlimitsoh),
od("COMPlus_GCHeapHardLimitLOH", cfg.complus_gcheaphardlimitloh),
od("COMPlus_GCHeapHardLimitPOH", cfg.complus_gcheaphardlimitpoh),
ob("COMPlus_GCLargePages", cfg.complus_gclargepages),
ob("COMPlus_GCNoAffinitize", cfg.complus_gcnoaffinitize),
ob("COMPlus_GCCpuGroup", cfg.complus_gccpugroup),
Expand Down