Skip to content

Commit 05d29ee

Browse files
authored
update config (#4908)
1 parent 56771b6 commit 05d29ee

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure/Commands/GCPerfSim/GCPerfSimFunctionalCommand.cs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ private void CreateNormalWorkstationSuite(string gcPerfSimSuitePath, GCPerfSimFu
187187
gcPerfSimNormalWorkstationConfiguration.gcperfsim_configurations.Parameters["tc"] = "2";
188188
gcPerfSimNormalWorkstationConfiguration.gcperfsim_configurations.Parameters["tagb"] = "100";
189189

190+
// modify environment
191+
gcPerfSimNormalWorkstationConfiguration.Environment.environment_variables["DOTNET_gcServer"] = "0";
192+
190193
// modify output
191194
gcPerfSimNormalWorkstationConfiguration.Output.Path =
192195
Path.Combine(configuration.output_path, "Normal_Workstation");
@@ -319,9 +322,7 @@ private void CreateLargePages_ServerSuite(string gcPerfSimSuitePath, GCPerfSimFu
319322
gcPerfSimLargePages_ServerConfiguration.Environment.environment_variables["DOTNET_gcServer"] = "1";
320323
gcPerfSimLargePages_ServerConfiguration.Environment.environment_variables["DOTNET_GCHeapCount"] = _logicalProcessors.ToString("X");
321324
gcPerfSimLargePages_ServerConfiguration.Environment.environment_variables["DOTNET_GCLargePages"] = "1";
322-
gcPerfSimLargePages_ServerConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimitSOH"] = "0x800000000";
323-
gcPerfSimLargePages_ServerConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimitLOH"] = "0x400000000";
324-
gcPerfSimLargePages_ServerConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimitPOH"] = "0x100000000";
325+
gcPerfSimLargePages_ServerConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimit"] = "0x100000000";
325326

326327
// modify output
327328
gcPerfSimLargePages_ServerConfiguration.Output.Path =
@@ -342,12 +343,10 @@ private void CreateLargePages_WorkstationSuite(string gcPerfSimSuitePath, GCPerf
342343
gcPerfSimLargePages_WorkstationConfiguration.gcperfsim_configurations.Parameters["tagb"] = "100";
343344

344345
// modify environment
345-
gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_gcServer"] = "1";
346+
gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_gcServer"] = "0";
346347
gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_GCHeapCount"] = _logicalProcessors.ToString("X");
347348
gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_GCLargePages"] = "1";
348-
gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimitSOH"] = "0x800000000";
349-
gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimitLOH"] = "0x400000000";
350-
gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimitPOH"] = "0x100000000";
349+
gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimit"] = "0x100000000";
351350

352351
// modify output
353352
gcPerfSimLargePages_WorkstationConfiguration.Output.Path =

0 commit comments

Comments
 (0)