From b125be6953a02e93c0925160f9877cb112083409 Mon Sep 17 00:00:00 2001 From: "Taotao Zhang (Centific Technologies Inc)" Date: Thu, 14 Aug 2025 10:57:48 +0800 Subject: [PATCH] update config --- .../GCPerfSim/GCPerfSimFunctionalCommand.cs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure/Commands/GCPerfSim/GCPerfSimFunctionalCommand.cs b/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure/Commands/GCPerfSim/GCPerfSimFunctionalCommand.cs index c5b0e49d69b..6813ffcad17 100644 --- a/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure/Commands/GCPerfSim/GCPerfSimFunctionalCommand.cs +++ b/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure/Commands/GCPerfSim/GCPerfSimFunctionalCommand.cs @@ -187,6 +187,9 @@ private void CreateNormalWorkstationSuite(string gcPerfSimSuitePath, GCPerfSimFu gcPerfSimNormalWorkstationConfiguration.gcperfsim_configurations.Parameters["tc"] = "2"; gcPerfSimNormalWorkstationConfiguration.gcperfsim_configurations.Parameters["tagb"] = "100"; + // modify environment + gcPerfSimNormalWorkstationConfiguration.Environment.environment_variables["DOTNET_gcServer"] = "0"; + // modify output gcPerfSimNormalWorkstationConfiguration.Output.Path = Path.Combine(configuration.output_path, "Normal_Workstation"); @@ -319,9 +322,7 @@ private void CreateLargePages_ServerSuite(string gcPerfSimSuitePath, GCPerfSimFu gcPerfSimLargePages_ServerConfiguration.Environment.environment_variables["DOTNET_gcServer"] = "1"; gcPerfSimLargePages_ServerConfiguration.Environment.environment_variables["DOTNET_GCHeapCount"] = _logicalProcessors.ToString("X"); gcPerfSimLargePages_ServerConfiguration.Environment.environment_variables["DOTNET_GCLargePages"] = "1"; - gcPerfSimLargePages_ServerConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimitSOH"] = "0x800000000"; - gcPerfSimLargePages_ServerConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimitLOH"] = "0x400000000"; - gcPerfSimLargePages_ServerConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimitPOH"] = "0x100000000"; + gcPerfSimLargePages_ServerConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimit"] = "0x100000000"; // modify output gcPerfSimLargePages_ServerConfiguration.Output.Path = @@ -342,12 +343,10 @@ private void CreateLargePages_WorkstationSuite(string gcPerfSimSuitePath, GCPerf gcPerfSimLargePages_WorkstationConfiguration.gcperfsim_configurations.Parameters["tagb"] = "100"; // modify environment - gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_gcServer"] = "1"; + gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_gcServer"] = "0"; gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_GCHeapCount"] = _logicalProcessors.ToString("X"); gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_GCLargePages"] = "1"; - gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimitSOH"] = "0x800000000"; - gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimitLOH"] = "0x400000000"; - gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimitPOH"] = "0x100000000"; + gcPerfSimLargePages_WorkstationConfiguration.Environment.environment_variables["DOTNET_GCHeapHardLimit"] = "0x100000000"; // modify output gcPerfSimLargePages_WorkstationConfiguration.Output.Path =