Organisationsocaml-multicoremulticore-benchefb15d (main)openbsd-77-amd64-5.4_opam-2.5

openbsd-77-amd64-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-02-13 08:07.01: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (efb15d8562dbdc1ba976ffc574de028e3c11c123) (openbsd-amd64:openbsd-77-amd64-5.4_opam-2.5)
Base: openbsd-77-amd64-ocaml-5.4
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 openbsd-77-amd64-ocaml-5.4
# openbsd-77-amd64-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
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 /home/opam/src/./
RUN opam pin add -yn multicore-bench.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./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 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-02-13 08:07.01: Using cache hint "ocaml-multicore/multicore-bench-openbsd-77-amd64-ocaml-5.4-openbsd-77-amd64-5.4_opam-2.5-ca9771ecc62fd6bbba007243926da734"
2026-02-13 08:07.01: Using OBuilder spec:
((from openbsd-77-amd64-ocaml-5.4)
(comment openbsd-77-amd64-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas 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"))
(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 /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn multicore-bench.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./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 /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-02-13 08:07.01: Waiting for resource in pool OCluster
2026-02-13 12:21.14: Waiting for worker…
2026-02-13 16:21.33: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at efb15d8 Inline `Atomic` and `Ref` ops and unroll


(from openbsd-77-amd64-ocaml-5.4)
2026-02-13 16:21.33 ---> using "8424522d1f78b81b26ba463ba357c8ca122e0f74070b621aa84fc80c68430631" from cache


/: (comment openbsd-77-amd64-5.4_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "doas ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-02-13 16:21.33 ---> using "cd72dc3a3c8ea2afd18b1257d8b5421d0f9a4dafb0a258b995fdf62c1e2a67c4" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from file:///home/opam/opam-repository
2026-02-13 16:21.33 ---> using "25ee98d58d8c907869f6fd5004c258d71c5033e73edf1fe48b86a48a34773b77" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.7
The OCaml toplevel, version 5.4.0
2.5.0
2026-02-13 16:21.33 ---> using "b97072ad387d97fa49b3fc7ece6dbbedda3ad8df05946df9b57bbb8c1e1ea296" from cache


/: (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
93a7bce43a..302e116c40  master     -> origin/master
302e116c40 Merge pull request #29374 from shonfeder/release-dune-3.21.1


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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-02-13 16:21.33 ---> using "8c01c926ad87a914679da1775f06ccb28a015a3c5bc0ec52bba0c455972c112a" from cache


/: (copy (src multicore-bench.opam) (dst /home/opam/src/./))
2026-02-13 16:22.16 ---> saved as "250f106e9179e4485afe71cf2ba21afbb2e35ba5758324271e023195bb7a123e"


/: (run (network host)
(shell "opam pin add -yn multicore-bench.dev '/home/opam/src/./'"))
[multicore-bench.dev] synchronised (file:///home/opam/src)
multicore-bench is now pinned to file:///home/opam/src (version dev)
2026-02-13 16:23.00 ---> saved as "f4e16f908adeb01db66a71a173de9ad21a7022cfbbc5b0bdcc13539a0806b59f"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2026-02-13 16:23.42 ---> saved as "52812cbd2259cddb881ea9556966e18dfff091a1dcfb02120d421eb35e9a30f2"


/: (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"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[multicore-bench.dev] synchronised (file:///home/opam/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-13 16:24.41 ---> saved as "39108d3744fabfac57a26f8e48cae704667dbb62b1bd60a95e323c46edee443d"


/: (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 camlp-streams.5.0.1  (cached)
-> retrieved backoff.0.1.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved domain-local-await.1.0.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain_shims.0.1.0  (cached)
-> retrieved cppo.1.8.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 re.1.14.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved result.1.5  (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 ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed mtime.2.1.0
-> installed logs.0.10.0
-> installed dune.3.21.1
-> installed backoff.0.1.1
-> installed camlp-streams.5.0.1
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed ocaml-version.4.0.3
-> installed cppo.1.8.0
-> installed multicore-magic.2.3.2
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed domain-local-await.1.0.1
-> installed yojson.3.0.0
-> installed re.1.14.0
-> installed mdx.2.5.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-13 16:29.19 ---> saved as "e43f108cfca35303a1d2429f49a47f099d511bb44ec8db2c6b4d7921e7ed8f9e"


/: (copy (src .) (dst /home/opam/src))
2026-02-13 16:30.16 ---> saved as "8a7a8953eb8a633c572d52bb8e679ed87fa9bf7107b880493a8b268cefc2868d"


/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/bench && ./main.exe -brief)
Atomic:
ops over time/cas int:
63.84 M/s
ops over time/get:
1202.45 M/s
ops over time/incr:
52.47 M/s
ops over time/push & pop:
9.03 M/s
ops over time/swap:
44.29 M/s
ops over time/xchg int:
59.05 M/s
time per op/cas int:
15.66 ns
time per op/get:
0.83 ns
time per op/incr:
19.06 ns
time per op/push & pop:
110.70 ns
time per op/swap:
22.58 ns
time per op/xchg int:
16.93 ns
Atomic incr:
ops over time/CAS, 1 domains:
49.69 M/s
ops over time/CAS, 2 domains:
18.42 M/s
ops over time/CAS, 4 domains:
6.04 M/s
ops over time/CAS with backoff, 1 domains:
52.94 M/s
ops over time/CAS with backoff, 2 domains:
34.06 M/s
ops over time/CAS with backoff, 4 domains:
14.80 M/s
ops over time/Incr, 1 domains:
74.61 M/s
ops over time/Incr, 2 domains:
38.68 M/s
ops over time/Incr, 4 domains:
35.98 M/s
time per op/CAS, 1 domains:
20.13 ns
time per op/CAS, 2 domains:
108.59 ns
time per op/CAS, 4 domains:
662.63 ns
time per op/CAS with backoff, 1 domains:
18.89 ns
time per op/CAS with backoff, 2 domains:
58.72 ns
time per op/CAS with backoff, 4 domains:
270.22 ns
time per op/Incr, 1 domains:
13.40 ns
time per op/Incr, 2 domains:
51.71 ns
time per op/Incr, 4 domains:
111.18 ns
Bounded_q:
messages over time/1 adder, 1 taker:
2.83 M/s
messages over time/1 adder, 2 takers:
1.32 M/s
messages over time/2 adders, 1 taker:
2.10 M/s
messages over time/2 adders, 2 takers:
1.76 M/s
messages over time/one domain:
5.07 M/s
time per message/1 adder, 1 taker:
705.69 ns
time per message/1 adder, 2 takers:
2280.77 ns
time per message/2 adders, 1 taker:
1429.09 ns
time per message/2 adders, 2 takers:
2268.15 ns
time per message/one domain:
197.38 ns
Hashtbl:
operations over time/1 worker, 10% reads:
3.93 M/s
operations over time/1 worker, 50% reads:
7.58 M/s
operations over time/1 worker, 90% reads:
8.11 M/s
operations over time/2 workers, 10% reads:
1.50 M/s
operations over time/2 workers, 50% reads:
4.28 M/s
operations over time/2 workers, 90% reads:
3.73 M/s
operations over time/4 workers, 10% reads:
1.23 M/s
operations over time/4 workers, 50% reads:
2.80 M/s
operations over time/4 workers, 90% reads:
2.66 M/s
operations over time/8 workers, 10% reads:
1.26 M/s
operations over time/8 workers, 50% reads:
1.35 M/s
operations over time/8 workers, 90% reads:
2.13 M/s
operations over time/one domain, 10% reads:
10.40 M/s
operations over time/one domain, 50% reads:
11.97 M/s
operations over time/one domain, 90% reads:
19.87 M/s
time per operation/1 worker, 10% reads:
254.59 ns
time per operation/1 worker, 50% reads:
132.01 ns
time per operation/1 worker, 90% reads:
123.35 ns
time per operation/2 workers, 10% reads:
1335.25 ns
time per operation/2 workers, 50% reads:
467.14 ns
time per operation/2 workers, 90% reads:
536.48 ns
time per operation/4 workers, 10% reads:
3254.09 ns
time per operation/4 workers, 50% reads:
1427.01 ns
time per operation/4 workers, 90% reads:
1502.75 ns
time per operation/8 workers, 10% reads:
6373.06 ns
time per operation/8 workers, 50% reads:
5943.25 ns
time per operation/8 workers, 90% reads:
3750.89 ns
time per operation/one domain, 10% reads:
96.16 ns
time per operation/one domain, 50% reads:
83.56 ns
time per operation/one domain, 90% reads:
50.34 ns
Queue:
messages over time/one domain:
11.18 M/s
time per message/one domain:
89.42 ns
Ref with Mutex:
ops over time/cas int:
11.30 M/s
ops over time/get:
13.58 M/s
ops over time/incr:
13.38 M/s
ops over time/push & pop:
10.65 M/s
ops over time/swap:
10.96 M/s
ops over time/xchg int:
12.14 M/s
time per op/cas int:
88.51 ns
time per op/get:
73.62 ns
time per op/incr:
74.76 ns
time per op/push & pop:
93.87 ns
time per op/swap:
91.24 ns
time per op/xchg int:
82.38 ns
Ref with [@poll error]:
ops over time/cas int:
118.74 M/s
ops over time/get:
642.42 M/s
ops over time/incr:
127.62 M/s
ops over time/push & pop:
19.71 M/s
ops over time/swap:
74.50 M/s
ops over time/xchg int:
38.14 M/s
time per op/cas int:
8.42 ns
time per op/get:
1.56 ns
time per op/incr:
7.84 ns
time per op/push & pop:
50.73 ns
time per op/swap:
13.42 ns
time per op/xchg int:
26.22 ns
Stack:
messages over time/one domain:
27.92 M/s
time per message/one domain:
35.81 ns
Unix:
blocking reads over time/1 worker:
0.46 M/s
blocking reads over time/2 workers:
0.87 M/s
blocking reads over time/4 workers:
1.29 M/s
time per blocking read/1 worker:
2185.99 ns
time per blocking read/2 workers:
2287.90 ns
time per blocking read/4 workers:
3109.39 ns
2026-02-13 16:33.04 ---> saved as "6dad8f74e9cd77c4f56e9132653e12dd40b16b546b69b42225e1f735f5e17f83"
Job succeeded
2026-02-13 16:33.04: Job succeeded