2025-02-09 12:57.55: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (deca5287e35206850ec28880adae0705730115e9) (linux-s390x:debian-12-5.3_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:a9a9ff7905ca9afd487cc0f94e6216b5e4827ac8739454d2998241ef953ecd61
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 deca5287
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:a9a9ff7905ca9afd487cc0f94e6216b5e4827ac8739454d2998241ef953ecd61
# 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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.17.2 fmt.0.9.0 logs.0.7.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.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.8 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.7 yojson.2.2.2"
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-02-09 12:57.55: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-5.3@sha256:a9a9ff7905ca9afd487cc0f94e6216b5e4827ac8739454d2998241ef953ecd61-debian-12-5.3_s390x_opam-2.3-bbdea2f49ee045baf858fda2a2111a8d"
2025-02-09 12:57.55: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:a9a9ff7905ca9afd487cc0f94e6216b5e4827ac8739454d2998241ef953ecd61)
(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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.17.2 fmt.0.9.0 logs.0.7.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.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.8 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.7 yojson.2.2.2")
(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-02-09 12:57.55: Waiting for resource in pool OCluster
2025-02-09 12:58.08: Waiting for worker…
2025-02-09 15:43.02: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
HEAD is now at deca528 Ignore results from ops on `ref` benchmarks
(from ocaml/opam:debian-12-ocaml-5.3@sha256:a9a9ff7905ca9afd487cc0f94e6216b5e4827ac8739454d2998241ef953ecd61)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:a9a9ff7905ca9afd487cc0f94e6216b5e4827ac8739454d2998241ef953ecd61' locally
docker.io/ocaml/opam@sha256:a9a9ff7905ca9afd487cc0f94e6216b5e4827ac8739454d2998241ef953ecd61: Pulling from ocaml/opam
Digest: sha256:a9a9ff7905ca9afd487cc0f94e6216b5e4827ac8739454d2998241ef953ecd61
Status: Downloaded newer image for ocaml/opam@sha256:a9a9ff7905ca9afd487cc0f94e6216b5e4827ac8739454d2998241ef953ecd61
2025-02-09 15:43.02 ---> using "3be7b8cb249cd42c3fdd8e7ea8ea582efe192d9955706a1afe4432b778f72af5" 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-02-09 15:43.02 ---> using "e34e4aa156738b9ee3297f959ce436753b53dd1242325d03fd593543ef07fb20" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-02-09 15:43.02 ---> using "5e2dd3613f91c4da6b1f7f3a43a11b7af0470f841cdc152633e50947dc2c11f7" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-52-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-02-09 15:43.02 ---> using "b3695288ad439a6341727c4071d53da54c8b51a43056f7292666d4b1e443fde1" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-09 15:43.02 ---> using "f882bbd5d67fa8025911bc9e9073ca90a3cadde787d4944afe11049cd4ef62aa" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from 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-02-09 15:43.02 ---> using "e203a5b0808ba6eda385a49bf6c4015cacd8655a22ac8a91ec0a27670233086a" from cache
/src: (copy (src multicore-bench.opam) (dst ./))
2025-02-09 15:43.03 ---> saved as "c2ef13a6f29918b9d1b0aca21ce32f9aa5b505bdfc65394cedf8c52c3c18ed5a"
/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-02-09 15:43.05 ---> saved as "bb365617393362a1e050627ecb64f3bc55d3c76240a10e2364e3374a0ba82bfe"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-09 15:43.06 ---> saved as "4b3a969bcede40e20f2885c5e096610bfd3a6406100ec5d95ffaf2101f4856d2"
/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.17.2 fmt.0.9.0 logs.0.7.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.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.8 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.7 yojson.2.2.2")
/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-security bookworm-security/main s390x Packages [211 kB]
- Fetched 314 kB in 1s (593 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-02-09 15:43.18 ---> saved as "1f5cf0e48c66605f4b612d49ee527432a1f80841709ad316c99aaca830af539d"
/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.17.2
- install fmt 0.9.0
- install logs 0.7.0
- install mdx 2.5.0
- install mtime 2.1.0
- install multicore-magic 2.3.1
- install ocaml-version 3.7.3
- install ocamlbuild 0.15.0
- 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.7
- install yojson 2.2.2
<><> 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.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved mdx.2.5.0 (cached)
-> retrieved multicore-magic.2.3.1 (cached)
-> retrieved ocaml-version.3.7.3 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved dune.3.17.2 (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.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed seq.base
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed mtime.2.1.0
-> installed logs.0.7.0
-> installed dune.3.17.2
-> 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.3.7.3
-> installed multicore-magic.2.3.1
-> installed cppo.1.8.0
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed domain-local-await.1.0.1
-> installed re.1.12.0
-> installed yojson.2.2.2
-> installed mdx.2.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-09 15:44.10 ---> saved as "e922458b72248b7a4124b7fabecdc347e44e6cdff0416cd75adf717c12f193e7"
/src: (copy (src .) (dst /src))
2025-02-09 15:44.10 ---> saved as "b12c370be6775c02d6799bcc34220d3b1391d72c69501f4ad07033ed43dee89d"
/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:
219.49 M/s
ops over time/get:
490.47 M/s
ops over time/incr:
328.74 M/s
ops over time/push & pop:
92.78 M/s
ops over time/swap:
134.04 M/s
ops over time/xchg int:
209.05 M/s
time per op/cas int:
4.56 ns
time per op/get:
2.04 ns
time per op/incr:
3.04 ns
time per op/push & pop:
10.78 ns
time per op/swap:
7.46 ns
time per op/xchg int:
4.78 ns
Atomic incr:
ops over time/CAS, 1 domains:
94.97 M/s
ops over time/CAS, 2 domains:
168.66 M/s
ops over time/CAS, 4 domains:
43.07 M/s
ops over time/CAS with backoff, 1 domains:
213.07 M/s
ops over time/CAS with backoff, 2 domains:
167.30 M/s
ops over time/CAS with backoff, 4 domains:
144.56 M/s
ops over time/Incr, 1 domains:
393.20 M/s
ops over time/Incr, 2 domains:
336.36 M/s
ops over time/Incr, 4 domains:
44.24 M/s
time per op/CAS, 1 domains:
10.53 ns
time per op/CAS, 2 domains:
11.86 ns
time per op/CAS, 4 domains:
92.88 ns
time per op/CAS with backoff, 1 domains:
4.69 ns
time per op/CAS with backoff, 2 domains:
11.95 ns
time per op/CAS with backoff, 4 domains:
27.67 ns
time per op/Incr, 1 domains:
2.54 ns
time per op/Incr, 2 domains:
5.95 ns
time per op/Incr, 4 domains:
90.42 ns
Bounded_q:
messages over time/1 adder, 1 taker:
9.87 M/s
messages over time/1 adder, 2 takers:
3.86 M/s
messages over time/2 adders, 1 taker:
8.79 M/s
messages over time/2 adders, 2 takers:
6.94 M/s
messages over time/one domain:
13.66 M/s
time per message/1 adder, 1 taker:
202.73 ns
time per message/1 adder, 2 takers:
776.86 ns
time per message/2 adders, 1 taker:
341.46 ns
time per message/2 adders, 2 takers:
576.75 ns
time per message/one domain:
73.20 ns
Hashtbl:
operations over time/1 worker, 10% reads:
18.28 M/s
operations over time/1 worker, 50% reads:
18.53 M/s
operations over time/1 worker, 90% reads:
22.32 M/s
operations over time/2 workers, 10% reads:
6.46 M/s
operations over time/2 workers, 50% reads:
10.79 M/s
operations over time/2 workers, 90% reads:
13.03 M/s
operations over time/4 workers, 10% reads:
5.78 M/s
operations over time/4 workers, 50% reads:
9.10 M/s
operations over time/4 workers, 90% reads:
12.03 M/s
operations over time/8 workers, 10% reads:
5.03 M/s
operations over time/8 workers, 50% reads:
6.13 M/s
operations over time/8 workers, 90% reads:
7.17 M/s
operations over time/one domain, 10% reads:
25.46 M/s
operations over time/one domain, 50% reads:
21.68 M/s
operations over time/one domain, 90% reads:
34.59 M/s
time per operation/1 worker, 10% reads:
54.69 ns
time per operation/1 worker, 50% reads:
53.97 ns
time per operation/1 worker, 90% reads:
44.80 ns
time per operation/2 workers, 10% reads:
309.71 ns
time per operation/2 workers, 50% reads:
185.42 ns
time per operation/2 workers, 90% reads:
153.44 ns
time per operation/4 workers, 10% reads:
692.52 ns
time per operation/4 workers, 50% reads:
439.44 ns
time per operation/4 workers, 90% reads:
332.57 ns
time per operation/8 workers, 10% reads:
1589.26 ns
time per operation/8 workers, 50% reads:
1304.05 ns
time per operation/8 workers, 90% reads:
1116.42 ns
time per operation/one domain, 10% reads:
39.27 ns
time per operation/one domain, 50% reads:
46.12 ns
time per operation/one domain, 90% reads:
28.91 ns
Queue:
messages over time/one domain:
16.27 M/s
time per message/one domain:
61.46 ns
Ref with Mutex:
ops over time/cas int:
20.56 M/s
ops over time/get:
63.19 M/s
ops over time/incr:
29.60 M/s
ops over time/push & pop:
19.59 M/s
ops over time/swap:
35.58 M/s
ops over time/xchg int:
13.22 M/s
time per op/cas int:
48.63 ns
time per op/get:
15.83 ns
time per op/incr:
33.78 ns
time per op/push & pop:
51.03 ns
time per op/swap:
28.10 ns
time per op/xchg int:
75.65 ns
Ref with [@poll error]:
ops over time/cas int:
220.55 M/s
ops over time/get:
594.44 M/s
ops over time/incr:
223.60 M/s
ops over time/push & pop:
40.33 M/s
ops over time/swap:
75.65 M/s
ops over time/xchg int:
224.43 M/s
time per op/cas int:
4.53 ns
time per op/get:
1.68 ns
time per op/incr:
4.47 ns
time per op/push & pop:
24.80 ns
time per op/swap:
13.22 ns
time per op/xchg int:
4.46 ns
Stack:
messages over time/one domain:
42.86 M/s
time per message/one domain:
23.33 ns
Unix:
blocking reads over time/1 worker:
2.18 M/s
blocking reads over time/2 workers:
4.58 M/s
blocking reads over time/4 workers:
7.61 M/s
time per blocking read/1 worker:
459.05 ns
time per blocking read/2 workers:
437.15 ns
time per blocking read/4 workers:
525.41 ns
2025-02-09 15:44.47 ---> saved as "01e1fb63fe7c832f6b0711f8855c97d336fa85b7eb134a1207f7df1248a11d1f"
Job succeeded
2025-02-09 15:44.48: Job succeeded