Skip to content

Commit 49f0149

Browse files
committed
Update imports
1 parent b082c57 commit 49f0149

File tree

4 files changed

+32
-13
lines changed

4 files changed

+32
-13
lines changed

ci/graal/ci/ci_common/bench-common.libsonnet

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# max number of threads to use for benchmarking in general
3535
# the goal being to limit parallelism on very large servers which may not be respresentative of real-world scenarios
3636
bench_max_threads:: {
37-
restrict_threads:: 36
37+
restrict_threads:: if self.arch == 'amd64' then 36 else 32,
3838
},
3939

4040
bench_no_thread_cap:: {
@@ -99,7 +99,27 @@
9999
default_numa_node:: 0,
100100
num_threads:: 160,
101101
hyperthreading:: false
102-
}
102+
},
103+
hr350a:: common.linux_aarch64 + self._bench_machine + {
104+
machine_name:: "hr350a",
105+
capabilities+: ["tmpfs25g"],
106+
numa_nodes:: [0],
107+
default_numa_node:: 0,
108+
num_threads:: 32,
109+
hyperthreading:: false
110+
},
111+
osprey:: common.linux_aarch64 + self._bench_machine + {
112+
machine_name:: "osprey",
113+
capabilities+: ["tmpfs25g"],
114+
numa_nodes:: [0],
115+
default_numa_node:: 0,
116+
num_threads:: 32,
117+
hyperthreading:: false
118+
},
119+
local contains(a_str, substr) = std.length(std.findSubstr(substr, a_str)) > 0,
120+
# Useful to distribute the benchmark load between two machine types, but always stay consistent for the same benchmark suite
121+
# This guarantees comparability of results, whatever the platform/context, for each suite
122+
hr350a_or_osprey(suite=null):: if suite != null && std.count([contains(s, suite) for s in ["barista", "renaissance"]], true) > 0 then self.osprey else self.hr350a,
103123
},
104124

105125
hwloc_cmd(cmd, num_threads, node, hyperthreading, max_threads_per_node)::

ci/graal/ci/common.jsonnet

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ local common_json = import "../common.json";
150150
packages+: {
151151
python3: "==3.8.10",
152152
"pip:ninja_syntax": common_json.pip.ninja_syntax,
153-
"pip:psutil": "==7.1.3",
154153
mx: common_json.mx_version,
155154
},
156155
python_version: "3", # To use the correct virtualenv

ci/graal/common.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Jsonnet files should not include this file directly but use ci/common.jsonnet instead."
55
],
66

7-
"mx_version": "7.68.4",
7+
"mx_version": "7.68.5",
88

99
"COMMENT.jdks": "When adding or removing JDKs keep in sync with JDKs in ci/common.jsonnet",
1010
"jdks": {
@@ -49,12 +49,12 @@
4949
"graalvm-ee-25-ea": {"name": "graalvm-jdk", "version": "25.0.0", "ea": "36", "platformspecific": true },
5050

5151
"oraclejdk-latest": {"name": "jpg-jdk", "version": "25", "build_id": "jdk-25.0.1+8", "platformspecific": true, "extrabundles": ["static-libs"]},
52-
"labsjdk-ce-latest": {"name": "labsjdk", "version": "ce-25.0.1+8-jvmci-25.1-b11", "platformspecific": true },
53-
"labsjdk-ce-latestDebug": {"name": "labsjdk", "version": "ce-25.0.1+8-jvmci-25.1-b11-debug", "platformspecific": true },
54-
"labsjdk-ce-latest-llvm": {"name": "labsjdk", "version": "ce-25.0.1+8-jvmci-25.1-b11-sulong", "platformspecific": true },
55-
"labsjdk-ee-latest": {"name": "labsjdk", "version": "ee-25.0.1+8-jvmci-25.1-b11", "platformspecific": true },
56-
"labsjdk-ee-latestDebug": {"name": "labsjdk", "version": "ee-25.0.1+8-jvmci-25.1-b11-debug", "platformspecific": true },
57-
"labsjdk-ee-latest-llvm": {"name": "labsjdk", "version": "ee-25.0.1+8-jvmci-25.1-b11-sulong", "platformspecific": true }
52+
"labsjdk-ce-latest": {"name": "labsjdk", "version": "ce-25.0.1+8-jvmci-25.1-b12", "platformspecific": true },
53+
"labsjdk-ce-latestDebug": {"name": "labsjdk", "version": "ce-25.0.1+8-jvmci-25.1-b12-debug", "platformspecific": true },
54+
"labsjdk-ce-latest-llvm": {"name": "labsjdk", "version": "ce-25.0.1+8-jvmci-25.1-b12-sulong", "platformspecific": true },
55+
"labsjdk-ee-latest": {"name": "labsjdk", "version": "ee-25.0.1+8-jvmci-25.1-b12", "platformspecific": true },
56+
"labsjdk-ee-latestDebug": {"name": "labsjdk", "version": "ee-25.0.1+8-jvmci-25.1-b12-debug", "platformspecific": true },
57+
"labsjdk-ee-latest-llvm": {"name": "labsjdk", "version": "ee-25.0.1+8-jvmci-25.1-b12-sulong", "platformspecific": true }
5858
},
5959

6060
"eclipse": {
@@ -69,4 +69,4 @@
6969
"pylint": "==2.4.4",
7070
"black": "==23.11.0"
7171
}
72-
}
72+
}

mx.graalpython/suite.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@
5353
},
5454
{
5555
"name": "tools",
56-
"version": "e61a4623b7fc839ee10df84050c120d59056b871",
56+
"version": "89c1619a2e20ffbf943cf399b24e3d91590cff66",
5757
"subdir": True,
5858
"urls": [
5959
{"url": "https://github.com/oracle/graal", "kind": "git"},
6060
],
6161
},
6262
{
6363
"name": "regex",
64-
"version": "e61a4623b7fc839ee10df84050c120d59056b871",
64+
"version": "89c1619a2e20ffbf943cf399b24e3d91590cff66",
6565
"subdir": True,
6666
"urls": [
6767
{"url": "https://github.com/oracle/graal", "kind": "git"},

0 commit comments

Comments
 (0)