2025-06-12 14:21.29: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (d2dcd9f17eb27ef2e967e6e40389827f80fd9514) (linux-s390x:debian-12-5.3_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:57b3ccd4f3c5ab70eb058c37057a5ecb714379d546c2dc97122390f4c106fe9b
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/multicore-bench.git" -b "main" && cd "multicore-bench" && git reset --hard d2dcd9f1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:57b3ccd4f3c5ab70eb058c37057a5ecb714379d546c2dc97122390f4c106fe9b
# debian-12-5.3_s390x_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 multicore-bench.opam ./
RUN opam pin add -yn multicore-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.19.1 fmt.0.10.0 logs.0.8.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.8 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y multicore-bench.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-06-12 14:21.29: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-5.3@sha256:57b3ccd4f3c5ab70eb058c37057a5ecb714379d546c2dc97122390f4c106fe9b-debian-12-5.3_s390x_opam-2.3-10db08213cc6d5aab31cc60439730334"
2025-06-12 14:21.29: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:57b3ccd4f3c5ab70eb058c37057a5ecb714379d546c2dc97122390f4c106fe9b)
(comment debian-12-5.3_s390x_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src multicore-bench.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn multicore-bench.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.19.1 fmt.0.10.0 logs.0.8.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.8 yojson.3.0.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y multicore-bench.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-06-12 14:21.29: Waiting for resource in pool OCluster
2025-06-14 11:28.47: Waiting for worker…
2025-06-14 16:45.48: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
HEAD is now at d2dcd9f Try to avoid false sharing
(from ocaml/opam:debian-12-ocaml-5.3@sha256:57b3ccd4f3c5ab70eb058c37057a5ecb714379d546c2dc97122390f4c106fe9b)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:57b3ccd4f3c5ab70eb058c37057a5ecb714379d546c2dc97122390f4c106fe9b' locally
docker.io/ocaml/opam@sha256:57b3ccd4f3c5ab70eb058c37057a5ecb714379d546c2dc97122390f4c106fe9b: Pulling from ocaml/opam
Digest: sha256:57b3ccd4f3c5ab70eb058c37057a5ecb714379d546c2dc97122390f4c106fe9b
Status: Downloaded newer image for ocaml/opam@sha256:57b3ccd4f3c5ab70eb058c37057a5ecb714379d546c2dc97122390f4c106fe9b
2025-06-14 16:45.49 ---> using "c8efa8cd59f0589aff9f8314e4394806ebd9a0f87e46a9f8e769b27fcaf0437d" from cache
/: (comment debian-12-5.3_s390x_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-14 16:45.49 ---> using "f289e0d524c1bb389788a1379377c974202ba2f32f648eb8ef5bd2827df560a5" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
Continue? [y/n] y
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-14 16:45.49 ---> using "98295b57f3c6102f54ed1150c91838066efa976e8c16a63e41ececdb718db13b" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-55-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-06-14 16:45.49 ---> using "f7ea12e1f1d95f42fa3f20468628846c3b41b4c489489e477b2d286baca206bd" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-14 16:45.49 ---> using "865c387c274704395a0599286fccfe4ddb74674f726c0b59cc8327b21278ad98" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bc726805e3..a28eb8a148 master -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-06-14 16:45.49 ---> using "e70dcfdc272c106f97d5c6251d8e23cb970bf5f792c657dfe9a028e0e6710c15" from cache
/src: (copy (src multicore-bench.opam) (dst ./))
2025-06-14 16:45.55 ---> saved as "56ee55fd67f1b82375b465b6a5001ce03e980b9693f4438c2d61dabe5103d123"
/src: (run (network host)
(shell "opam pin add -yn multicore-bench.dev './'"))
[multicore-bench.dev] synchronised (file:///src)
multicore-bench is now pinned to file:///src (version dev)
2025-06-14 16:46.10 ---> saved as "bcd9adf20540a4e90cc47da8f263004788f73a3906c8c435ed3e57791ba582f5"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-14 16:46.11 ---> saved as "0d7563d06eea6ea74ef6dbd01b1fb3428951331396929fdb14c44dc92d29c1ef"
/src: (env DEPS "astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.19.1 fmt.0.10.0 logs.0.8.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.8 yojson.3.0.0")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y multicore-bench.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main s390x Packages.diff/Index [17.3 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main s390x Packages T-2025-06-13-1410.14-F-2025-06-13-1410.14.pdiff [434 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main s390x Packages T-2025-06-13-1410.14-F-2025-06-13-1410.14.pdiff [434 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main s390x Packages [233 kB]
- Fetched 355 kB in 1s (441 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[multicore-bench.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-06-14 16:46.42 ---> saved as "49781fef43804664d59fd1beaff9688700d7b698bd991b169af05efeaec028b0"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 23 packages
- install astring 0.8.5
- install backoff 0.1.1
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cppo 1.8.0
- install csexp 1.5.2
- install domain-local-await 1.0.1
- install domain_shims 0.1.0
- install dune 3.19.1
- install fmt 0.10.0
- install logs 0.8.0
- install mdx 2.5.0
- install mtime 2.1.0
- install multicore-magic 2.3.1
- install ocaml-version 4.0.1
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install re 1.12.0
- install result 1.5
- install seq base
- install thread-table 1.0.0
- install topkg 1.0.8
- install yojson 3.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.1 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved mdx.2.5.0 (cached)
-> retrieved multicore-magic.2.3.1 (cached)
-> retrieved ocaml-version.4.0.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved dune.3.19.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved seq.base (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed seq.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed mtime.2.1.0
-> installed logs.0.8.0
-> installed dune.3.19.1
-> installed backoff.0.1.1
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed domain_shims.0.1.0
-> installed ocaml-version.4.0.1
-> installed cppo.1.8.0
-> installed multicore-magic.2.3.1
-> installed thread-table.1.0.0
-> installed result.1.5
-> installed domain-local-await.1.0.1
-> installed re.1.12.0
-> installed yojson.3.0.0
-> installed mdx.2.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-14 16:48.03 ---> saved as "594d6c6fbea389ebee8671d4e74788b393f0d9186867ba83f31e4f6a4fda8392"
/src: (copy (src .) (dst /src))
2025-06-14 16:48.05 ---> saved as "09dac30b222ce3a0ce3a4bd91de7f00ac2f11d0b0d030b125b82ed840b04f671"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/bench && ./main.exe -brief)
Atomic:
ops over time/cas int:
189.73 M/s
ops over time/get:
606.50 M/s
ops over time/incr:
357.38 M/s
ops over time/push & pop:
49.76 M/s
ops over time/swap:
122.87 M/s
ops over time/xchg int:
228.96 M/s
time per op/cas int:
5.27 ns
time per op/get:
1.65 ns
time per op/incr:
2.80 ns
time per op/push & pop:
20.10 ns
time per op/swap:
8.14 ns
time per op/xchg int:
4.37 ns
Atomic incr:
ops over time/CAS, 1 domains:
218.15 M/s
ops over time/CAS, 2 domains:
171.30 M/s
ops over time/CAS, 4 domains:
43.06 M/s
ops over time/CAS with backoff, 1 domains:
211.84 M/s
ops over time/CAS with backoff, 2 domains:
133.51 M/s
ops over time/CAS with backoff, 4 domains:
63.11 M/s
ops over time/Incr, 1 domains:
393.93 M/s
ops over time/Incr, 2 domains:
293.63 M/s
ops over time/Incr, 4 domains:
303.23 M/s
time per op/CAS, 1 domains:
4.58 ns
time per op/CAS, 2 domains:
11.68 ns
time per op/CAS, 4 domains:
92.90 ns
time per op/CAS with backoff, 1 domains:
4.72 ns
time per op/CAS with backoff, 2 domains:
14.98 ns
time per op/CAS with backoff, 4 domains:
63.38 ns
time per op/Incr, 1 domains:
2.54 ns
time per op/Incr, 2 domains:
6.81 ns
time per op/Incr, 4 domains:
13.19 ns
Bounded_q:
messages over time/1 adder, 1 taker:
6.45 M/s
messages over time/1 adder, 2 takers:
8.86 M/s
messages over time/2 adders, 1 taker:
9.57 M/s
messages over time/2 adders, 2 takers:
5.89 M/s
messages over time/one domain:
13.29 M/s
time per message/1 adder, 1 taker:
310.15 ns
time per message/1 adder, 2 takers:
338.48 ns
time per message/2 adders, 1 taker:
313.60 ns
time per message/2 adders, 2 takers:
679.37 ns
time per message/one domain:
75.27 ns
Hashtbl:
operations over time/1 worker, 10% reads:
18.63 M/s
operations over time/1 worker, 50% reads:
19.30 M/s
operations over time/1 worker, 90% reads:
22.74 M/s
operations over time/2 workers, 10% reads:
10.02 M/s
operations over time/2 workers, 50% reads:
15.77 M/s
operations over time/2 workers, 90% reads:
12.84 M/s
operations over time/4 workers, 10% reads:
6.60 M/s
operations over time/4 workers, 50% reads:
7.28 M/s
operations over time/4 workers, 90% reads:
10.44 M/s
operations over time/8 workers, 10% reads:
4.27 M/s
operations over time/8 workers, 50% reads:
6.18 M/s
operations over time/8 workers, 90% reads:
8.72 M/s
operations over time/one domain, 10% reads:
26.78 M/s
operations over time/one domain, 50% reads:
25.25 M/s
operations over time/one domain, 90% reads:
35.59 M/s
time per operation/1 worker, 10% reads:
53.68 ns
time per operation/1 worker, 50% reads:
51.80 ns
time per operation/1 worker, 90% reads:
43.97 ns
time per operation/2 workers, 10% reads:
199.67 ns
time per operation/2 workers, 50% reads:
126.80 ns
time per operation/2 workers, 90% reads:
155.80 ns
time per operation/4 workers, 10% reads:
605.62 ns
time per operation/4 workers, 50% reads:
549.41 ns
time per operation/4 workers, 90% reads:
383.30 ns
time per operation/8 workers, 10% reads:
1872.67 ns
time per operation/8 workers, 50% reads:
1295.14 ns
time per operation/8 workers, 90% reads:
917.58 ns
time per operation/one domain, 10% reads:
37.34 ns
time per operation/one domain, 50% reads:
39.60 ns
time per operation/one domain, 90% reads:
28.09 ns
Queue:
messages over time/one domain:
32.03 M/s
time per message/one domain:
31.22 ns
Ref with Mutex:
ops over time/cas int:
51.06 M/s
ops over time/get:
64.35 M/s
ops over time/incr:
62.59 M/s
ops over time/push & pop:
42.55 M/s
ops over time/swap:
50.54 M/s
ops over time/xchg int:
52.70 M/s
time per op/cas int:
19.59 ns
time per op/get:
15.54 ns
time per op/incr:
15.98 ns
time per op/push & pop:
23.50 ns
time per op/swap:
19.79 ns
time per op/xchg int:
18.98 ns
Ref with [@poll error]:
ops over time/cas int:
220.41 M/s
ops over time/get:
594.87 M/s
ops over time/incr:
495.10 M/s
ops over time/push & pop:
85.55 M/s
ops over time/swap:
127.43 M/s
ops over time/xchg int:
221.03 M/s
time per op/cas int:
4.54 ns
time per op/get:
1.68 ns
time per op/incr:
2.02 ns
time per op/push & pop:
11.69 ns
time per op/swap:
7.85 ns
time per op/xchg int:
4.52 ns
Stack:
messages over time/one domain:
39.78 M/s
time per message/one domain:
25.14 ns
Unix:
blocking reads over time/1 worker:
2.37 M/s
blocking reads over time/2 workers:
5.73 M/s
blocking reads over time/4 workers:
9.08 M/s
time per blocking read/1 worker:
422.01 ns
time per blocking read/2 workers:
349.15 ns
time per blocking read/4 workers:
440.39 ns
2025-06-14 16:48.45 ---> saved as "6dc2d02e3dbe189c4c8a6790979bbc4a6765028ec02089711be9ad52c49eadd9"
Job succeeded
2025-06-14 16:48.45: Job succeeded