Organisationsocaml-multicoremulticore-benchefb15d (main)ubuntu-25.10-5.4_opam-2.5

ubuntu-25.10-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-02-15 17:59.35: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (efb15d8562dbdc1ba976ffc574de028e3c11c123) (linux-x86_64:ubuntu-25.10-5.4_opam-2.5)
Base: ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:b6da22869c1591ab428e9f2b65f7f7b251e688a3457468ec19462cece35bde38
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:ubuntu-25.10-ocaml-5.4@sha256:b6da22869c1591ab428e9f2b65f7f7b251e688a3457468ec19462cece35bde38
# ubuntu-25.10-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && 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.2.1.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.21.1 fmt.0.11.0 logs.0.10.0 mdx.2.5.1 mtime.2.1.0 multicore-magic.2.3.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 thread-table.1.0.0 topkg.1.1.1 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --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


2026-02-15 17:59.35: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:b6da22869c1591ab428e9f2b65f7f7b251e688a3457468ec19462cece35bde38-ubuntu-25.10-5.4_opam-2.5-ca9771ecc62fd6bbba007243926da734"
2026-02-15 17:59.35: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:b6da22869c1591ab428e9f2b65f7f7b251e688a3457468ec19462cece35bde38)
(comment ubuntu-25.10-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /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 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && 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.2.1.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.21.1 fmt.0.11.0 logs.0.10.0 mdx.2.5.1 mtime.2.1.0 multicore-magic.2.3.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 thread-table.1.0.0 topkg.1.1.1 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.5 --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"))
)


2026-02-15 17:59.35: Waiting for resource in pool OCluster
2026-02-15 19:07.38: Waiting for worker…
2026-02-15 19:12.39: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at efb15d8 Inline `Atomic` and `Ref` ops and unroll


(from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:b6da22869c1591ab428e9f2b65f7f7b251e688a3457468ec19462cece35bde38)
2026-02-15 19:12.39 ---> using "1298e1d5dffa8ce226321a1bcac39114330568ccaf390856807160369fa2ee49" from cache


/: (comment ubuntu-25.10-5.4_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-02-15 19:12.39 ---> using "1309b00d49741b88d8a73f19dac74cdc341f0ea644c75bd9b33ad15e1287e5a7" 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
2026-02-15 19:12.39 ---> using "57dc3cdc729adb9e6c9e5bf071f8fbdb234f3d02dafd21de9bfb3d54f052a06a" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-02-15 19:12.39 ---> using "3d0d866b98945a590649320861fdb4b7471117620aa39fb17f1722560eadacd1" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-02-15 19:12.39 ---> using "d4aea8789e5fc4f003c8fb4303cca09a40290830fa06e0c70a235332b8bcc654" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
340ee6fd1f..66fe1c299d  master     -> origin/master
302e116c40 Merge pull request #29374 from shonfeder/release-dune-3.21.1


<><> 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)
2026-02-15 19:12.39 ---> using "ca276d2e1ed6160a3a87347757c592e5748bfd5beb1d7cc24fbda823de805a89" from cache


/src: (copy (src multicore-bench.opam) (dst ./))
2026-02-15 19:12.39 ---> saved as "ff19b3bac74337ef5f6a4693da6b8d7db9db8aa4825ff0caac25b73e9e9ef9ac"


/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)
2026-02-15 19:12.41 ---> saved as "7b4117d03400871e5ffba4763d0631f1ac3f5fe4794586b76eb10c4e1689152c"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-02-15 19:12.41 ---> saved as "6aca2704f476d4093a4fc537f74bf2dc877e18c5ed6123e185329be656b41bc4"


/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.2.1.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.21.1 fmt.0.11.0 logs.0.10.0 mdx.2.5.1 mtime.2.1.0 multicore-magic.2.3.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 thread-table.1.0.0 topkg.1.1.1 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.5 --depext-only -y multicore-bench.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:2 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:3 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:4 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:5 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [224 kB]
- Get:6 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [374 kB]
- Get:7 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [138 kB]
- Get:8 http://security.ubuntu.com/ubuntu questing-security/restricted amd64 Packages [186 kB]
- Get:9 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [223 kB]
- Get:10 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [196 kB]
- Fetched 1747 kB in 0s (12.8 MB/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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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).
# To update the current shell environment, run: eval $(opam env)
2026-02-15 19:12.48 ---> saved as "d5b023bd72d1d9f224dd43462f0717803478b3ceb1b83a1a10378439073c0642"


/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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 22 packages
- install astring            0.8.5
- install backoff            0.1.1
- install camlp-streams      5.0.1
- install cmdliner           2.1.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.21.1
- install fmt                0.11.0
- install logs               0.10.0
- install mdx                2.5.1
- install mtime              2.1.0
- install multicore-magic    2.3.2
- install ocaml-version      4.0.3
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install re                 1.14.0
- install result             1.5
- install thread-table       1.0.0
- install topkg              1.1.1
- 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 cppo.1.8.0  (cached)
-> retrieved cmdliner.2.1.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.11.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved mdx.2.5.1  (cached)
-> retrieved multicore-magic.2.3.2  (cached)
-> retrieved ocaml-version.4.0.3  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved dune.3.21.1  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed mtime.2.1.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed logs.0.10.0
-> installed dune.3.21.1
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed thread-table.1.0.0
-> installed ocaml-version.4.0.3
-> installed backoff.0.1.1
-> installed multicore-magic.2.3.2
-> installed result.1.5
-> installed camlp-streams.5.0.1
-> installed domain-local-await.1.0.1
-> installed re.1.14.0
-> installed cppo.1.8.0
-> installed yojson.3.0.0
-> installed mdx.2.5.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-15 19:13.17 ---> saved as "5f702ffa5027d0e5e8f6028758775d6c33a4f7e02d331b815c2f15e03bd7f22d"


/src: (copy (src .) (dst /src))
2026-02-15 19:13.18 ---> saved as "b6a33350561996c4e08f386950fdf4d90f3166c71f91b9f8c5a48a2315341e2e"


/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:
344.21 M/s
ops over time/get:
3559.03 M/s
ops over time/incr:
295.19 M/s
ops over time/push & pop:
72.79 M/s
ops over time/swap:
96.05 M/s
ops over time/xchg int:
330.15 M/s
time per op/cas int:
2.91 ns
time per op/get:
0.28 ns
time per op/incr:
3.39 ns
time per op/push & pop:
13.74 ns
time per op/swap:
10.41 ns
time per op/xchg int:
3.03 ns
Atomic incr:
ops over time/CAS, 1 domains:
157.23 M/s
ops over time/CAS, 2 domains:
80.51 M/s
ops over time/CAS, 4 domains:
73.92 M/s
ops over time/CAS, 8 domains:
36.39 M/s
ops over time/CAS with backoff, 1 domains:
279.05 M/s
ops over time/CAS with backoff, 2 domains:
123.37 M/s
ops over time/CAS with backoff, 4 domains:
66.03 M/s
ops over time/CAS with backoff, 8 domains:
49.17 M/s
ops over time/Incr, 1 domains:
248.43 M/s
ops over time/Incr, 2 domains:
109.64 M/s
ops over time/Incr, 4 domains:
84.40 M/s
ops over time/Incr, 8 domains:
66.75 M/s
time per op/CAS, 1 domains:
6.36 ns
time per op/CAS, 2 domains:
24.84 ns
time per op/CAS, 4 domains:
54.11 ns
time per op/CAS, 8 domains:
219.85 ns
time per op/CAS with backoff, 1 domains:
3.58 ns
time per op/CAS with backoff, 2 domains:
16.21 ns
time per op/CAS with backoff, 4 domains:
60.57 ns
time per op/CAS with backoff, 8 domains:
162.70 ns
time per op/Incr, 1 domains:
4.03 ns
time per op/Incr, 2 domains:
18.24 ns
time per op/Incr, 4 domains:
47.39 ns
time per op/Incr, 8 domains:
119.85 ns
Bounded_q:
messages over time/1 adder, 1 taker:
2.78 M/s
messages over time/1 adder, 2 takers:
3.67 M/s
messages over time/1 adder, 4 takers:
6.45 M/s
messages over time/2 adders, 1 taker:
3.43 M/s
messages over time/2 adders, 2 takers:
2.44 M/s
messages over time/2 adders, 4 takers:
2.35 M/s
messages over time/4 adders, 1 taker:
3.21 M/s
messages over time/4 adders, 2 takers:
1.75 M/s
messages over time/4 adders, 4 takers:
1.26 M/s
messages over time/one domain:
16.23 M/s
time per message/1 adder, 1 taker:
720.60 ns
time per message/1 adder, 2 takers:
817.92 ns
time per message/1 adder, 4 takers:
775.24 ns
time per message/2 adders, 1 taker:
873.73 ns
time per message/2 adders, 2 takers:
1640.92 ns
time per message/2 adders, 4 takers:
2557.71 ns
time per message/4 adders, 1 taker:
1555.28 ns
time per message/4 adders, 2 takers:
3436.69 ns
time per message/4 adders, 4 takers:
6361.11 ns
time per message/one domain:
61.60 ns
Hashtbl:
operations over time/1 worker, 10% reads:
20.98 M/s
operations over time/1 worker, 50% reads:
20.10 M/s
operations over time/1 worker, 90% reads:
24.20 M/s
operations over time/2 workers, 10% reads:
5.02 M/s
operations over time/2 workers, 50% reads:
3.06 M/s
operations over time/2 workers, 90% reads:
8.62 M/s
operations over time/4 workers, 10% reads:
6.94 M/s
operations over time/4 workers, 50% reads:
2.60 M/s
operations over time/4 workers, 90% reads:
9.64 M/s
operations over time/8 workers, 10% reads:
2.03 M/s
operations over time/8 workers, 50% reads:
1.90 M/s
operations over time/8 workers, 90% reads:
4.17 M/s
operations over time/one domain, 10% reads:
31.25 M/s
operations over time/one domain, 50% reads:
29.92 M/s
operations over time/one domain, 90% reads:
40.76 M/s
time per operation/1 worker, 10% reads:
47.66 ns
time per operation/1 worker, 50% reads:
49.75 ns
time per operation/1 worker, 90% reads:
41.33 ns
time per operation/2 workers, 10% reads:
398.21 ns
time per operation/2 workers, 50% reads:
654.23 ns
time per operation/2 workers, 90% reads:
231.95 ns
time per operation/4 workers, 10% reads:
575.96 ns
time per operation/4 workers, 50% reads:
1535.97 ns
time per operation/4 workers, 90% reads:
414.97 ns
time per operation/8 workers, 10% reads:
3942.46 ns
time per operation/8 workers, 50% reads:
4221.24 ns
time per operation/8 workers, 90% reads:
1916.44 ns
time per operation/one domain, 10% reads:
32.00 ns
time per operation/one domain, 50% reads:
33.43 ns
time per operation/one domain, 90% reads:
24.53 ns
Queue:
messages over time/one domain:
43.67 M/s
time per message/one domain:
22.90 ns
Ref with Mutex:
ops over time/cas int:
48.42 M/s
ops over time/get:
55.44 M/s
ops over time/incr:
55.39 M/s
ops over time/push & pop:
37.13 M/s
ops over time/swap:
48.42 M/s
ops over time/xchg int:
49.06 M/s
time per op/cas int:
20.65 ns
time per op/get:
18.04 ns
time per op/incr:
18.05 ns
time per op/push & pop:
26.93 ns
time per op/swap:
20.65 ns
time per op/xchg int:
20.38 ns
Ref with [@poll error]:
ops over time/cas int:
255.72 M/s
ops over time/get:
3556.39 M/s
ops over time/incr:
742.01 M/s
ops over time/push & pop:
64.64 M/s
ops over time/swap:
125.04 M/s
ops over time/xchg int:
279.61 M/s
time per op/cas int:
3.91 ns
time per op/get:
0.28 ns
time per op/incr:
1.35 ns
time per op/push & pop:
15.47 ns
time per op/swap:
8.00 ns
time per op/xchg int:
3.58 ns
Stack:
messages over time/one domain:
50.13 M/s
time per message/one domain:
19.95 ns
Unix:
blocking reads over time/1 worker:
1.53 M/s
blocking reads over time/2 workers:
3.10 M/s
blocking reads over time/4 workers:
6.23 M/s
time per blocking read/1 worker:
653.78 ns
time per blocking read/2 workers:
644.26 ns
time per blocking read/4 workers:
642.32 ns
2026-02-15 19:13.27 ---> saved as "c0d00fc7dde92e06b0819979c11e95a0bbc18922f29698ccf0cf6b376dc426c9"
Job succeeded
2026-02-15 19:13.27: Job succeeded