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

openbsd-77-amd64-4.14_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-4.14_opam-2.5)
Base: openbsd-77-amd64-ocaml-4.14
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-4.14
# openbsd-77-amd64-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-4.14-openbsd-77-amd64-4.14_opam-2.5-3276ee940043c1e69634f204ac603fad"
2026-02-13 08:07.01: Using OBuilder spec:
((from openbsd-77-amd64-ocaml-4.14)
(comment openbsd-77-amd64-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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:22.08: Waiting for worker…
2026-02-13 16:22.39: 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-4.14)
2026-02-13 16:22.39 ---> using "00579f8dea230f94ca5972e50ed0dc70167d1c0e96cfe76e645642677774f17f" from cache


/: (comment openbsd-77-amd64-4.14_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:22.39 ---> using "da141ce924dbdf0e0442253d076446a1e9daf01a696ee1da60c117d1744ba343" 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:22.39 ---> using "b47c7195b64a0fbbfb2ac6be89bc5d4169c21972d78277da851cf2b727db2a25" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.7
The OCaml toplevel, version 4.14.2
2.5.0
2026-02-13 16:22.39 ---> using "e55220d038fe41141e2145e0c421187821ce842a2e5f51ea535be80bbba79f5e" 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


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-02-13 16:22.39 ---> using "e3d8020e6148736be9567c767a5936879ce67b4f9883f172aed29344b1a24b3e" from cache


/: (copy (src multicore-bench.opam) (dst /home/opam/src/./))
2026-02-13 16:23.23 ---> saved as "060f07147dc44ed8e5037d28768cff17e42f44f3320e3bd26cefae2045a5c636"


/: (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:24.07 ---> saved as "9330d0724a177f009aebe6973329becb419cb6eb215d85391c194703f7b6b2d0"


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


/: (env DEPS "astring.0.8.5 backoff.0.1.1 base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
# To update the current shell environment, run: eval $(opam env)
2026-02-13 16:26.13 ---> saved as "21e4895d180bf2e94d9c16726e013def25b2561d776fe5f60a665e9674d6ee1e"


/: (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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-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 camlp-streams.5.0.1
-> installed backoff.0.1.1
-> installed csexp.1.5.2
-> installed domain_shims.0.1.0
-> 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:30.03 ---> saved as "364173d7d8ab116bc0ac1a7723a27f1207747611f0985cc73a6f0aafc6fcd85a"


/: (copy (src .) (dst /home/opam/src))
2026-02-13 16:31.02 ---> saved as "4dbdb1e5e5fe1b2a9206480a00605a9a96d9145f6c20746f18b5d6ee2e903623"


/: (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:
91.49 M/s
ops over time/get:
1978.17 M/s
ops over time/incr:
297.11 M/s
ops over time/push & pop:
59.71 M/s
ops over time/swap:
52.03 M/s
ops over time/xchg int:
99.60 M/s
time per op/cas int:
10.93 ns
time per op/get:
0.51 ns
time per op/incr:
3.37 ns
time per op/push & pop:
16.75 ns
time per op/swap:
19.22 ns
time per op/xchg int:
10.04 ns
Atomic incr:
ops over time/CAS, 1 domains:
144.42 M/s
ops over time/CAS with backoff, 1 domains:
139.15 M/s
ops over time/Incr, 1 domains:
313.60 M/s
time per op/CAS, 1 domains:
6.92 ns
time per op/CAS with backoff, 1 domains:
7.19 ns
time per op/Incr, 1 domains:
3.19 ns
Bounded_q:
messages over time/one domain:
6.17 M/s
time per message/one domain:
162.04 ns
Hashtbl:
operations over time/1 worker, 10% reads:
5.32 M/s
operations over time/1 worker, 50% reads:
5.66 M/s
operations over time/1 worker, 90% reads:
5.57 M/s
operations over time/2 workers, 10% reads:
5.45 M/s
operations over time/2 workers, 50% reads:
5.12 M/s
operations over time/2 workers, 90% reads:
5.59 M/s
operations over time/4 workers, 10% reads:
7.50 M/s
operations over time/4 workers, 50% reads:
5.05 M/s
operations over time/4 workers, 90% reads:
5.89 M/s
operations over time/8 workers, 10% reads:
7.78 M/s
operations over time/8 workers, 50% reads:
7.56 M/s
operations over time/8 workers, 90% reads:
6.97 M/s
operations over time/one domain, 10% reads:
11.68 M/s
operations over time/one domain, 50% reads:
11.62 M/s
operations over time/one domain, 90% reads:
12.94 M/s
time per operation/1 worker, 10% reads:
188.23 ns
time per operation/1 worker, 50% reads:
176.71 ns
time per operation/1 worker, 90% reads:
179.55 ns
time per operation/2 workers, 10% reads:
366.68 ns
time per operation/2 workers, 50% reads:
390.36 ns
time per operation/2 workers, 90% reads:
357.83 ns
time per operation/4 workers, 10% reads:
533.50 ns
time per operation/4 workers, 50% reads:
792.17 ns
time per operation/4 workers, 90% reads:
678.99 ns
time per operation/8 workers, 10% reads:
1028.75 ns
time per operation/8 workers, 50% reads:
1058.06 ns
time per operation/8 workers, 90% reads:
1147.16 ns
time per operation/one domain, 10% reads:
85.60 ns
time per operation/one domain, 50% reads:
86.08 ns
time per operation/one domain, 90% reads:
77.25 ns
Queue:
messages over time/one domain:
18.92 M/s
time per message/one domain:
52.84 ns
Ref with Mutex:
ops over time/cas int:
9.33 M/s
ops over time/get:
10.27 M/s
ops over time/incr:
10.34 M/s
ops over time/push & pop:
9.09 M/s
ops over time/swap:
8.95 M/s
ops over time/xchg int:
9.35 M/s
time per op/cas int:
107.15 ns
time per op/get:
97.37 ns
time per op/incr:
96.73 ns
time per op/push & pop:
109.97 ns
time per op/swap:
111.75 ns
time per op/xchg int:
106.99 ns
Ref with [@poll error]:
ops over time/cas int:
92.36 M/s
ops over time/get:
1446.15 M/s
ops over time/incr:
420.75 M/s
ops over time/push & pop:
55.99 M/s
ops over time/swap:
84.47 M/s
ops over time/xchg int:
102.01 M/s
time per op/cas int:
10.83 ns
time per op/get:
0.69 ns
time per op/incr:
2.38 ns
time per op/push & pop:
17.86 ns
time per op/swap:
11.84 ns
time per op/xchg int:
9.80 ns
Stack:
messages over time/one domain:
21.88 M/s
time per message/one domain:
45.70 ns
Unix:
blocking reads over time/1 worker:
0.29 M/s
time per blocking read/1 worker:
3501.58 ns
2026-02-13 16:32.10 ---> saved as "f8060de5603187d0acffb2c2fc852a1494a149135020c47ad253677e84f610bc"
Job succeeded
2026-02-13 16:32.10: Job succeeded