Skip to content

Commit 62dce15

Browse files
committed
[GR-52118] Migrate remaining bench jobs to E3.
PullRequest: graal/17545
2 parents a96b0ca + a54f2eb commit 62dce15

File tree

6 files changed

+27
-33
lines changed

6 files changed

+27
-33
lines changed

ci/ci_common/bench-common.libsonnet

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,6 @@
5555
threads_per_node:: if self.is_numa then self.num_threads / std.length(self.numa_nodes) else self.num_threads,
5656
},
5757

58-
x52:: common.linux_amd64 + self._bench_machine + {
59-
machine_name:: "x52",
60-
capabilities+: ["tmpfs25g"],
61-
numa_nodes:: [0, 1],
62-
default_numa_node:: 0,
63-
num_threads:: 72
64-
},
6558
e3:: common.linux_amd64 + self._bench_machine + {
6659
machine_name:: "e3",
6760
capabilities: ["e3", "tmpfs25g", "linux", "amd64"],

compiler/ci/ci_includes/baseline-benchmarks.jsonnet

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
local hw = bc.bench_hw,
88

99
local hotspot_amd64_builds = [
10-
c.weekly + hw.x52 + jdk + cc.c2 + suite
10+
c.weekly + hw.e3 + jdk + cc.c2 + suite
1111
for jdk in cc.product_jdks
1212
for suite in bench.groups.all_suites
1313
],
@@ -20,17 +20,17 @@
2020

2121
local hotspot_profiling_builds = std.flattenArrays([
2222
[
23-
c.monthly + hw.x52 + jdk + cc.c2 + suite + cc.enable_profiling + { job_prefix:: "bench-compiler-profiling" },
23+
c.monthly + hw.e3 + jdk + cc.c2 + suite + cc.enable_profiling + { job_prefix:: "bench-compiler-profiling" },
2424
c.monthly + hw.a12c + jdk + cc.c2 + suite + cc.enable_profiling + { job_prefix:: "bench-compiler-profiling" },
25-
c.monthly + hw.x52 + jdk + cc.c2 + suite + cc.footprint_tracking + { job_prefix:: "bench-compiler-footprint" },
25+
c.monthly + hw.e3 + jdk + cc.c2 + suite + cc.footprint_tracking + { job_prefix:: "bench-compiler-footprint" },
2626
c.monthly + hw.a12c + jdk + cc.c2 + suite + cc.footprint_tracking + { job_prefix:: "bench-compiler-footprint" }
2727
]
2828
for jdk in cc.product_jdks
2929
for suite in bench.groups.main_suites
3030
]),
3131

3232
local weekly_forks_amd64_builds = std.flattenArrays([
33-
bc.generate_fork_builds(c.weekly + hw.x52 + jdk + cc.c2 + suite)
33+
bc.generate_fork_builds(c.weekly + hw.e3 + jdk + cc.c2 + suite)
3434
for jdk in cc.jdks_of_interest
3535
for suite in bench.groups.weekly_forks_suites
3636
]),
@@ -42,32 +42,32 @@
4242
]),
4343

4444
local economy_builds = [
45-
c.weekly + hw.x52 + jdk + cc.libgraal + cc.economy_mode + suite
45+
c.weekly + hw.e3 + jdk + cc.libgraal + cc.economy_mode + suite
4646
for jdk in cc.product_jdks
4747
for suite in bench.groups.main_suites
4848
],
4949
local no_tiered_builds = std.flattenArrays([
5050
[
51-
c.monthly + hw.x52 + jdk + cc.c1 + suite,
52-
c.monthly + hw.x52 + jdk + cc.c2 + cc.no_tiered_comp + suite,
53-
c.monthly + hw.x52 + jdk + cc.libgraal + cc.economy_mode + cc.no_tiered_comp + suite
51+
c.monthly + hw.e3 + jdk + cc.c1 + suite,
52+
c.monthly + hw.e3 + jdk + cc.c2 + cc.no_tiered_comp + suite,
53+
c.monthly + hw.e3 + jdk + cc.libgraal + cc.economy_mode + cc.no_tiered_comp + suite
5454
]
5555
for jdk in cc.product_jdks
5656
for suite in bench.groups.main_suites
5757
]),
5858

5959
local gc_variants_builds = std.flattenArrays([
6060
[
61-
c.monthly + hw.x52 + jdk + cc.c2 + cc.zgc_mode + suite,
61+
c.monthly + hw.e3 + jdk + cc.c2 + cc.zgc_mode + suite,
6262
]
6363
for jdk in cc.product_jdks
6464
for suite in bench.groups.main_suites
6565
]) + std.flattenArrays([
6666
[
67-
c.monthly + hw.x52 + jdk + cc.c2 + cc.serialgc_mode + bench.microservice_benchmarks,
68-
c.monthly + hw.x52 + jdk + cc.c2 + cc.pargc_mode + bench.microservice_benchmarks,
69-
c.monthly + hw.x52 + jdk + cc.c2 + cc.zgc_mode + bench.microservice_benchmarks,
70-
c.monthly + hw.x52 + jdk + cc.c2 + cc.gen_zgc_mode + bench.microservice_benchmarks,
67+
c.monthly + hw.e3 + jdk + cc.c2 + cc.serialgc_mode + bench.microservice_benchmarks,
68+
c.monthly + hw.e3 + jdk + cc.c2 + cc.pargc_mode + bench.microservice_benchmarks,
69+
c.monthly + hw.e3 + jdk + cc.c2 + cc.zgc_mode + bench.microservice_benchmarks,
70+
c.monthly + hw.e3 + jdk + cc.c2 + cc.gen_zgc_mode + bench.microservice_benchmarks,
7171
]
7272
for jdk in cc.product_jdks
7373
]),

espresso/ci/ci_common/common.jsonnet

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ local benchmark_suites = ['dacapo', 'renaissance', 'scala-dacapo'];
3434
linux_amd64: self.common + self.linux + graal_common.linux_amd64,
3535
linux_aarch64: self.common + self.linux + graal_common.linux_aarch64,
3636

37-
x52: {
38-
capabilities+: ['no_frequency_scaling', 'tmpfs25g', 'x52'],
37+
e3: {
38+
capabilities+: ['no_frequency_scaling', 'tmpfs25g', 'e3'],
3939
},
4040

4141
darwin_amd64: self.common + graal_common.darwin_amd64 + {
@@ -106,15 +106,15 @@ local benchmark_suites = ['dacapo', 'renaissance', 'scala-dacapo'];
106106
jdk21_gate_darwin_amd64 : self.gate + self.darwin_amd64_21,
107107
jdk21_gate_darwin_aarch64 : self.gate + self.darwin_aarch64_21,
108108
jdk21_gate_windows_amd64 : self.gate + self.windows_21,
109-
jdk21_bench_linux : self.bench + self.linux_amd64_21 + self.x52,
109+
jdk21_bench_linux : self.bench + self.linux_amd64_21 + self.e3,
110110
jdk21_bench_darwin : self.bench + self.darwin_amd64_21,
111111
jdk21_bench_windows : self.bench + self.windows_21,
112112
jdk21_daily_linux_amd64 : self.daily + self.linux_amd64_21,
113113
jdk21_daily_linux_aarch64 : self.daily + self.linux_aarch64_21,
114114
jdk21_daily_darwin_amd64 : self.daily + self.darwin_amd64_21,
115115
jdk21_daily_darwin_aarch64 : self.daily + self.darwin_aarch64_21,
116116
jdk21_daily_windows_amd64 : self.daily + self.windows_21,
117-
jdk21_daily_bench_linux : self.dailyBench + self.linux_amd64_21 + self.x52,
117+
jdk21_daily_bench_linux : self.dailyBench + self.linux_amd64_21 + self.e3,
118118
jdk21_daily_bench_darwin : self.dailyBench + self.darwin_amd64_21,
119119
jdk21_daily_bench_windows : self.dailyBench + self.windows_21,
120120
jdk21_weekly_linux_amd64 : self.weekly + self.linux_amd64_21,
@@ -127,13 +127,13 @@ local benchmark_suites = ['dacapo', 'renaissance', 'scala-dacapo'];
127127
jdk21_monthly_darwin_amd64 : self.monthly + self.darwin_amd64_21,
128128
jdk21_monthly_darwin_aarch64 : self.monthly + self.darwin_aarch64_21,
129129
jdk21_monthly_windows_amd64 : self.monthly + self.windows_21,
130-
jdk21_weekly_bench_linux : self.weeklyBench + self.linux_amd64_21 + self.x52,
130+
jdk21_weekly_bench_linux : self.weeklyBench + self.linux_amd64_21 + self.e3,
131131
jdk21_weekly_bench_darwin : self.weeklyBench + self.darwin_amd64_21,
132132
jdk21_weekly_bench_windows : self.weeklyBench + self.windows_21,
133133
jdk21_on_demand_linux : self.onDemand + self.linux_amd64_21,
134134
jdk21_on_demand_darwin : self.onDemand + self.darwin_amd64_21,
135135
jdk21_on_demand_windows : self.onDemand + self.windows_21,
136-
jdk21_on_demand_bench_linux : self.onDemandBench + self.linux_amd64_21 + self.x52,
136+
jdk21_on_demand_bench_linux : self.onDemandBench + self.linux_amd64_21 + self.e3,
137137
jdk21_on_demand_bench_darwin : self.onDemandBench + self.darwin_amd64_21,
138138
jdk21_on_demand_bench_windows : self.onDemandBench + self.windows_21,
139139

truffle/ci/ci.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159

160160
# BENCHMARKS
161161

162-
bench_hw.x52 + common.labsjdkLatestCE + bench_common + {
162+
bench_hw.e3 + common.labsjdkLatestCE + bench_common + {
163163
name: "bench-truffle-jmh",
164164
notify_groups:: ["truffle_bench"],
165165
run: [

vm/ci/ci_common/common-bench.jsonnet

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
1212
result_file:: 'results.json',
1313
upload:: ['bench-uploader.py', self.result_file],
1414
upload_and_wait_for_indexing:: self.upload + ['--wait-for-indexing'],
15-
capabilities+: ['tmpfs25g', 'x52'],
15+
capabilities+: ['tmpfs25g', 'e3'],
1616
timelimit: '1:30:00',
1717
},
1818

@@ -41,6 +41,7 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
4141
ENABLE_POLYBENCH_HPC: 'yes',
4242
POLYBENCH_HPC_EXTRA_HEADERS: '/cm/shared/apps/papi/papi-5.5.1/include',
4343
POLYBENCH_HPC_PAPI_LIB_DIR: '/cm/shared/apps/papi/papi-5.5.1/lib',
44+
LIBPFM_FORCE_PMU: 'amd64'
4445
},
4546
},
4647

@@ -124,7 +125,7 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
124125
},
125126

126127
vm_bench_polybench_hpc_linux_common(env, metric, benchmarks='*', polybench_vm_config='native-interpreter'): self.vm_bench_polybench_linux_common(env=env) + self.polybench_hpc_linux_common + {
127-
local machine_name = "x52", // restricting ourselves to x52 machines since we know hardware performance counters work properly there
128+
local machine_name = "e3", // restricting ourselves to specific hardware to ensure performance counters work there
128129
machine_name_prefix:: "gate-",
129130
capabilities+: [machine_name],
130131
run+: [
@@ -239,7 +240,7 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
239240
timelimit: '55:00',
240241
},
241242

242-
x52_js_bench_compilation_throughput(pgo): self.vm_bench_common + common.heap.default + {
243+
js_bench_compilation_throughput(pgo): self.vm_bench_common + common.heap.default + {
243244
local mx_libgraal = ["mx", "--env", repo_config.vm.mx_env.libgraal],
244245

245246
setup+: [
@@ -307,8 +308,8 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
307308

308309
vm_common.vm_base('linux', 'amd64', 'daily', bench=true) + self.vm_bench_polybench_nfi_linux_amd64 + vm.vm_java_21 + {name: 'daily-bench-vm-' + vm.vm_setup.short_name + '-polybench-nfi-java21-linux-amd64', notify_groups:: ['polybench']},
309310

310-
vm_common.vm_base('linux', 'amd64', 'daily', bench=true) + self.x52_js_bench_compilation_throughput(true) + vm.vm_java_21 + { name: 'daily-bench-vm-' + vm.vm_setup.short_name + '-libgraal-pgo-throughput-js-typescript-java' + self.jdk_version + '-linux-amd64' },
311-
vm_common.vm_base('linux', 'amd64', 'daily', bench=true) + self.x52_js_bench_compilation_throughput(false) + vm.vm_java_21 + { name: 'daily-bench-vm-' + vm.vm_setup.short_name + '-libgraal-no-pgo-throughput-js-typescript-java' + self.jdk_version + '-linux-amd64' },
311+
vm_common.vm_base('linux', 'amd64', 'daily', bench=true) + self.js_bench_compilation_throughput(true) + vm.vm_java_21 + { name: 'daily-bench-vm-' + vm.vm_setup.short_name + '-libgraal-pgo-throughput-js-typescript-java' + self.jdk_version + '-linux-amd64' },
312+
vm_common.vm_base('linux', 'amd64', 'daily', bench=true) + self.js_bench_compilation_throughput(false) + vm.vm_java_21 + { name: 'daily-bench-vm-' + vm.vm_setup.short_name + '-libgraal-no-pgo-throughput-js-typescript-java' + self.jdk_version + '-linux-amd64' },
312313

313314
vm_common.vm_base('linux', 'amd64', 'daily', bench=true) + self.vm_bench_js_linux_amd64() + {
314315
# Override `self.vm_bench_js_linux_amd64.run`

wasm/ci/ci_common/common.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ local graal_suite_root = root_ci.graal_suite_root;
172172
]
173173
],
174174
logs: ['bench-results.json'],
175-
capabilities+: ['x52'],
175+
capabilities+: ['e3'],
176176
timelimit: '1:00:00',
177177
},
178178

0 commit comments

Comments
 (0)