Organisationsocaml-multicoremulticore-benchefb15d (main)debian-13-5.3_arm64_opam-2.4

debian-13-5.3_arm64_opam-2.4

Link Copied
Code Copied

Logs

2025-09-15 18:36.56: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (efb15d8562dbdc1ba976ffc574de028e3c11c123) (linux-arm64:debian-13-5.3_arm64_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.3@sha256:441c5130f9133ffa63a6c67fc80cb804730ece6fea29cdc8b1136026b3052845
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 efb15d85
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.3@sha256:441c5130f9133ffa63a6c67fc80cb804730ece6fea29cdc8b1136026b3052845
# debian-13-5.3_arm64_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && 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.20.2 fmt.0.11.0 logs.0.9.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.13.2 result.1.5 seq.base thread-table.1.0.0 topkg.1.1.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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-09-15 18:36.56: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-13-ocaml-5.3@sha256:441c5130f9133ffa63a6c67fc80cb804730ece6fea29cdc8b1136026b3052845-debian-13-5.3_arm64_opam-2.4-6002683b6d421cfbe1933c41f8fca838"
2025-09-15 18:36.56: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:441c5130f9133ffa63a6c67fc80cb804730ece6fea29cdc8b1136026b3052845)
(comment debian-13-5.3_arm64_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && 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.20.2 fmt.0.11.0 logs.0.9.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.13.2 result.1.5 seq.base thread-table.1.0.0 topkg.1.1.0 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.4 --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-09-15 18:36.56: Waiting for resource in pool OCluster
2025-09-15 18:55.56: Waiting for worker…
2025-09-15 19:14.28: Got resource from pool OCluster
Building on kydoime.caelum.ci.dev
All commits already cached
HEAD is now at efb15d8 Inline `Atomic` and `Ref` ops and unroll


(from ocaml/opam:debian-13-ocaml-5.3@sha256:441c5130f9133ffa63a6c67fc80cb804730ece6fea29cdc8b1136026b3052845)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.3@sha256:441c5130f9133ffa63a6c67fc80cb804730ece6fea29cdc8b1136026b3052845' locally
docker.io/ocaml/opam@sha256:441c5130f9133ffa63a6c67fc80cb804730ece6fea29cdc8b1136026b3052845: Pulling from ocaml/opam
Digest: sha256:441c5130f9133ffa63a6c67fc80cb804730ece6fea29cdc8b1136026b3052845
Status: Downloaded newer image for ocaml/opam@sha256:441c5130f9133ffa63a6c67fc80cb804730ece6fea29cdc8b1136026b3052845
2025-09-15 19:14.28 ---> using "a9bf3262af824133456f5f499c9524119b976145c0f66cdc1b8fdb3ed388f3cf" from cache


/: (comment debian-13-5.3_arm64_opam-2.4)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-15 19:14.28 ---> using "ee38c2a992aa062ac42173317a3e38f8149188500dd0fdb5f6f5de36ab0c2ed7" 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.


This 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.


Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-15 19:14.28 ---> using "412dde1fb31a19c20616fde8f87c1af3effaaf373a897fb1bf50716acdb2b0c3" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-15 19:14.28 ---> using "755c0f149dd8a4754d301d56bf6ec14fbf05833e835f69d274487a9be7b5ac86" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-15 19:14.28 ---> using "550e1bfe3c7d5fc13b2e0f64211aba0d8c72c8e178ecf51f5dd78ecef85c8754" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
109398e2fd Merge pull request #28437 from maiste/release-dune-3.20.2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-15 19:14.28 ---> using "61e3d04439f87290f7e73d5d1c783be2501049ff763c11b89af42cb0e9f3ffb9" from cache


/src: (copy (src multicore-bench.opam) (dst ./))
2025-09-15 19:14.29 ---> saved as "f0beacf69fed2d83c2167134fc210bffb8712f667ce1d6882736989a77d7cc55"


/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-09-15 19:14.30 ---> saved as "30530fae6ca22af468f50b9432b4663ce97cb38fa25b1a2c0f9907337067dbe7"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-15 19:14.30 ---> saved as "bd05736d8c8f6ef64e98009db37b709c6d9bf75fa6be8035eeaadc7be2de18bc"


/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.20.2 fmt.0.11.0 logs.0.9.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.13.2 result.1.5 seq.base thread-table.1.0.0 topkg.1.1.0 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.4 --depext-only -y multicore-bench.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main arm64 Packages [40.7 kB]
- Fetched 131 kB in 0s (1319 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-09-15 19:14.40 ---> saved as "87eb286a873aaa65126a0097a0912011c7f1287f943cf06c88f665191fcdfd9f"


/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.20.2
- install fmt                0.11.0
- install logs               0.9.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.13.2
- install result             1.5
- install seq                base
- install thread-table       1.0.0
- install topkg              1.1.0
- install yojson             3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved backoff.0.1.1  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved domain-local-await.1.0.1  (cached)
-> retrieved domain_shims.0.1.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved logs.0.9.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 ocamlfind.1.9.8  (cached)
-> retrieved re.1.13.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed mtime.2.1.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed logs.0.9.0
-> installed dune.3.20.2
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed backoff.0.1.1
-> installed ocaml-version.4.0.1
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed multicore-magic.2.3.1
-> installed camlp-streams.5.0.1
-> installed domain-local-await.1.0.1
-> installed cppo.1.8.0
-> installed re.1.13.2
-> installed yojson.3.0.0
-> installed mdx.2.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-15 19:15.27 ---> saved as "5b4dbd07379a05fbc6c42a4850dd3f50f4be83a87ce36f0a14f77eede23b21b5"


/src: (copy (src .) (dst /src))
2025-09-15 19:15.28 ---> saved as "cdd4f9683328b7efd0dc5439196b17b1e73d3e3c6283e51dd16ba37c6f4dcfa3"


/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:
94.81 M/s
ops over time/get:
406.93 M/s
ops over time/incr:
110.78 M/s
ops over time/push & pop:
45.81 M/s
ops over time/swap:
31.04 M/s
ops over time/xchg int:
87.59 M/s
time per op/cas int:
10.55 ns
time per op/get:
2.46 ns
time per op/incr:
9.03 ns
time per op/push & pop:
21.83 ns
time per op/swap:
32.22 ns
time per op/xchg int:
11.42 ns
Atomic incr:
ops over time/CAS, 1 domains:
74.04 M/s
ops over time/CAS, 2 domains:
27.72 M/s
ops over time/CAS, 4 domains:
19.20 M/s
ops over time/CAS, 8 domains:
22.42 M/s
ops over time/CAS with backoff, 1 domains:
72.36 M/s
ops over time/CAS with backoff, 2 domains:
69.31 M/s
ops over time/CAS with backoff, 4 domains:
60.01 M/s
ops over time/CAS with backoff, 8 domains:
51.81 M/s
ops over time/Incr, 1 domains:
103.46 M/s
ops over time/Incr, 2 domains:
63.72 M/s
ops over time/Incr, 4 domains:
57.28 M/s
ops over time/Incr, 8 domains:
49.45 M/s
time per op/CAS, 1 domains:
13.51 ns
time per op/CAS, 2 domains:
72.16 ns
time per op/CAS, 4 domains:
208.36 ns
time per op/CAS, 8 domains:
356.89 ns
time per op/CAS with backoff, 1 domains:
13.82 ns
time per op/CAS with backoff, 2 domains:
28.85 ns
time per op/CAS with backoff, 4 domains:
66.66 ns
time per op/CAS with backoff, 8 domains:
154.57 ns
time per op/Incr, 1 domains:
9.67 ns
time per op/Incr, 2 domains:
31.39 ns
time per op/Incr, 4 domains:
69.83 ns
time per op/Incr, 8 domains:
161.78 ns
Bounded_q:
messages over time/1 adder, 1 taker:
1.33 M/s
messages over time/1 adder, 2 takers:
5.99 M/s
messages over time/1 adder, 4 takers:
2.06 M/s
messages over time/2 adders, 1 taker:
1.75 M/s
messages over time/2 adders, 2 takers:
1.45 M/s
messages over time/2 adders, 4 takers:
1.57 M/s
messages over time/4 adders, 1 taker:
1.42 M/s
messages over time/4 adders, 2 takers:
1.21 M/s
messages over time/4 adders, 4 takers:
1.01 M/s
messages over time/one domain:
8.81 M/s
time per message/1 adder, 1 taker:
1504.40 ns
time per message/1 adder, 2 takers:
500.55 ns
time per message/1 adder, 4 takers:
2423.00 ns
time per message/2 adders, 1 taker:
1714.91 ns
time per message/2 adders, 2 takers:
2762.14 ns
time per message/2 adders, 4 takers:
3811.02 ns
time per message/4 adders, 1 taker:
3525.91 ns
time per message/4 adders, 2 takers:
4964.43 ns
time per message/4 adders, 4 takers:
7917.49 ns
time per message/one domain:
113.50 ns
Hashtbl:
operations over time/1 worker, 10% reads:
13.60 M/s
operations over time/1 worker, 50% reads:
14.94 M/s
operations over time/1 worker, 90% reads:
18.14 M/s
operations over time/2 workers, 10% reads:
2.43 M/s
operations over time/2 workers, 50% reads:
3.38 M/s
operations over time/2 workers, 90% reads:
3.73 M/s
operations over time/4 workers, 10% reads:
2.44 M/s
operations over time/4 workers, 50% reads:
2.61 M/s
operations over time/4 workers, 90% reads:
3.26 M/s
operations over time/8 workers, 10% reads:
1.88 M/s
operations over time/8 workers, 50% reads:
2.28 M/s
operations over time/8 workers, 90% reads:
3.26 M/s
operations over time/one domain, 10% reads:
23.72 M/s
operations over time/one domain, 50% reads:
26.03 M/s
operations over time/one domain, 90% reads:
37.87 M/s
time per operation/1 worker, 10% reads:
73.51 ns
time per operation/1 worker, 50% reads:
66.93 ns
time per operation/1 worker, 90% reads:
55.13 ns
time per operation/2 workers, 10% reads:
823.71 ns
time per operation/2 workers, 50% reads:
592.38 ns
time per operation/2 workers, 90% reads:
536.83 ns
time per operation/4 workers, 10% reads:
1639.49 ns
time per operation/4 workers, 50% reads:
1531.12 ns
time per operation/4 workers, 90% reads:
1226.88 ns
time per operation/8 workers, 10% reads:
4257.56 ns
time per operation/8 workers, 50% reads:
3506.90 ns
time per operation/8 workers, 90% reads:
2456.59 ns
time per operation/one domain, 10% reads:
42.16 ns
time per operation/one domain, 50% reads:
38.42 ns
time per operation/one domain, 90% reads:
26.41 ns
Queue:
messages over time/one domain:
22.91 M/s
time per message/one domain:
43.64 ns
Ref with Mutex:
ops over time/cas int:
28.53 M/s
ops over time/get:
35.59 M/s
ops over time/incr:
33.38 M/s
ops over time/push & pop:
24.96 M/s
ops over time/swap:
20.98 M/s
ops over time/xchg int:
28.62 M/s
time per op/cas int:
35.05 ns
time per op/get:
28.10 ns
time per op/incr:
29.96 ns
time per op/push & pop:
40.06 ns
time per op/swap:
47.67 ns
time per op/xchg int:
34.94 ns
Ref with [@poll error]:
ops over time/cas int:
88.13 M/s
ops over time/get:
2612.02 M/s
ops over time/incr:
232.52 M/s
ops over time/push & pop:
59.19 M/s
ops over time/swap:
69.70 M/s
ops over time/xchg int:
91.00 M/s
time per op/cas int:
11.35 ns
time per op/get:
0.38 ns
time per op/incr:
4.30 ns
time per op/push & pop:
16.89 ns
time per op/swap:
14.35 ns
time per op/xchg int:
10.99 ns
Stack:
messages over time/one domain:
29.67 M/s
time per message/one domain:
33.70 ns
Unix:
blocking reads over time/1 worker:
2.52 M/s
blocking reads over time/2 workers:
5.05 M/s
blocking reads over time/4 workers:
9.98 M/s
time per blocking read/1 worker:
396.08 ns
time per blocking read/2 workers:
396.14 ns
time per blocking read/4 workers:
400.94 ns
2025-09-15 19:15.43 ---> saved as "66323bd426cbb55bd01ca84206856cfb6d41904c85145777192ca9ec0c973191"
Job succeeded
2025-09-15 19:15.43: Job succeeded