Organisationsocaml-multicoremulticore-benchefb15d (main)freebsd-14.2-5.3_opam-2.4

freebsd-14.2-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-09-10 00:50.27: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (efb15d8562dbdc1ba976ffc574de028e3c11c123) (freebsd-x86_64:freebsd-14.2-5.3_opam-2.4)
Base: freebsd-14.2-ocaml-5.3
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 freebsd-14.2-ocaml-5.3
# freebsd-14.2-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.4 /usr/local/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-10 00:50.27: Using cache hint "ocaml-multicore/multicore-bench-freebsd-14.2-ocaml-5.3-freebsd-14.2-5.3_opam-2.4-6002683b6d421cfbe1933c41f8fca838"
2025-09-10 00:50.27: Using OBuilder spec:
((from freebsd-14.2-ocaml-5.3)
(comment freebsd-14.2-5.3_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.4 /usr/local/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-10 00:50.27: Waiting for resource in pool OCluster
2025-09-10 13:39.45: Waiting for worker…
2025-09-10 14:22.39: Got resource from pool OCluster
Building on rosemary
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
hint:
hint: Disable this message with "git config set advice.defaultBranchName false"
Initialized empty Git repository in /obuilder/state/git/multicore-bench.git-b64f3a44a0cd11cb5d9a386b4ded860bff164371/.git/
HEAD is now at efb15d8 Inline `Atomic` and `Ref` ops and unroll


(from freebsd-14.2-ocaml-5.3)
2025-09-10 14:30.00 ---> using "47c9a03b962be450225081ed69acde1f5c6dadb6d1106d9b1a8b4fd61c2defa6" from cache


/: (comment freebsd-14.2-5.3_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.4 /usr/local/bin/opam"))
2025-09-10 14:30.00 ---> using "3cf9d05e5eb2b3cab7746fab6ccc73ebe3b43051756027b7ee3d88bc2433384a" from cache


/src: (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.


This version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2025-09-10 14:30.01 ---> using "6be513be757734d73b41a31e19f8ae22aa3fe2fd424869d3fd3c8b16bb4fa69a" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.2-RELEASE-p1
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-10 14:30.01 ---> using "6406a960b971760de52a319d92e3ade2dc00fc29daba60f2a83f980f00dde731" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-10 14:30.01 ---> using "ceecf1d51f19afc7e1cbf641861a5e731a764903c017a5b842658d708b08899c" 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.
2025-09-10 14:30.02 ---> using "3e5379b6ccf5bb950a446a2222a2b1e8f1c0552a25b01aa8ed4fe30734b0bab2" from cache


/src: (copy (src multicore-bench.opam) (dst ./))
2025-09-10 14:30.05 ---> saved as "5bdf66b84bc8f13d833511992f2a10d3797c5c2bf1780600a9f1b9f59b8b7460"


/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-10 14:30.08 ---> saved as "fdb69685a31a350723a67a73c82ebc50180846b37489fe980f69cd0d3ae7560a"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-10 14:30.09 ---> saved as "ed3ae60fdf9711d1b367f5b1b86d629f808a4d5f98449714a59cb355b794b716"


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


<><> 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-10 14:30.20 ---> saved as "b8bc1920b93f4f9f6bcd041eb1373b8a45a3d613e094ee12c5cd90ba52244cd2"


/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
 astring            0.8.5
 backoff            0.1.1
 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-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


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved camlp-streams.5.0.1  (cached)
 retrieved backoff.0.1.1  (cached)
 retrieved astring.0.8.5  (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  (https://github.com/ocaml-multicore/domain-local-await/releases/download/1.0.1/domain-local-await-1.0.1.tbz)
 retrieved fmt.0.11.0  (cached)
 retrieved logs.0.9.0  (cached)
 retrieved mdx.2.5.0  (cached)
 retrieved mtime.2.1.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 result.1.5  (cached)
 retrieved seq.base  (cached)
 installed seq.base
 retrieved domain_shims.0.1.0  (https://gitlab.com/gasche/domain-shims/-/archive/0.1.0/domain-shims-0.1.0.tar.gz)
 retrieved topkg.1.1.0  (cached)
 retrieved thread-table.1.0.0  (https://github.com/ocaml-multicore/thread-table/releases/download/1.0.0/thread-table-1.0.0.tbz)
 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 result.1.5
 installed backoff.0.1.1
 installed thread-table.1.0.0
 installed ocaml-version.4.0.1
 installed camlp-streams.5.0.1
 installed multicore-magic.2.3.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.
2025-09-10 14:31.11 ---> saved as "f918c3cb6fdfbb2662bb21ad4fe95f11bba9de7cd1e0df501f2b6cf224ec07c5"


/src: (copy (src .) (dst /src))
2025-09-10 14:31.13 ---> saved as "67ea4d66c76f79f14cc3f246b2024da2eb136d42ecebb5a6ac00d2d8cb486b44"


/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:
74.68 M/s
ops over time/get:
1912.57 M/s
ops over time/incr:
91.71 M/s
ops over time/push & pop:
36.90 M/s
ops over time/swap:
46.65 M/s
ops over time/xchg int:
67.83 M/s
time per op/cas int:
13.39 ns
time per op/get:
0.52 ns
time per op/incr:
10.90 ns
time per op/push & pop:
27.10 ns
time per op/swap:
21.44 ns
time per op/xchg int:
14.74 ns
Atomic incr:
ops over time/CAS, 1 domains:
47.78 M/s
ops over time/CAS, 2 domains:
12.18 M/s
ops over time/CAS, 4 domains:
13.71 M/s
ops over time/CAS, 8 domains:
12.51 M/s
ops over time/CAS with backoff, 1 domains:
45.99 M/s
ops over time/CAS with backoff, 2 domains:
32.57 M/s
ops over time/CAS with backoff, 4 domains:
20.86 M/s
ops over time/CAS with backoff, 8 domains:
15.00 M/s
ops over time/Incr, 1 domains:
89.34 M/s
ops over time/Incr, 2 domains:
44.60 M/s
ops over time/Incr, 4 domains:
52.32 M/s
ops over time/Incr, 8 domains:
48.67 M/s
time per op/CAS, 1 domains:
20.93 ns
time per op/CAS, 2 domains:
164.15 ns
time per op/CAS, 4 domains:
291.70 ns
time per op/CAS, 8 domains:
639.70 ns
time per op/CAS with backoff, 1 domains:
21.74 ns
time per op/CAS with backoff, 2 domains:
61.41 ns
time per op/CAS with backoff, 4 domains:
191.73 ns
time per op/CAS with backoff, 8 domains:
533.38 ns
time per op/Incr, 1 domains:
11.19 ns
time per op/Incr, 2 domains:
44.84 ns
time per op/Incr, 4 domains:
76.46 ns
time per op/Incr, 8 domains:
164.37 ns
Bounded_q:
messages over time/1 adder, 1 taker:
1.58 M/s
messages over time/1 adder, 2 takers:
1.39 M/s
messages over time/1 adder, 4 takers:
2.26 M/s
messages over time/2 adders, 1 taker:
2.40 M/s
messages over time/2 adders, 2 takers:
1.61 M/s
messages over time/2 adders, 4 takers:
1.17 M/s
messages over time/4 adders, 1 taker:
2.24 M/s
messages over time/4 adders, 2 takers:
2.04 M/s
messages over time/4 adders, 4 takers:
1.81 M/s
messages over time/one domain:
6.71 M/s
time per message/1 adder, 1 taker:
1268.59 ns
time per message/1 adder, 2 takers:
2154.33 ns
time per message/1 adder, 4 takers:
2212.83 ns
time per message/2 adders, 1 taker:
1251.14 ns
time per message/2 adders, 2 takers:
2490.86 ns
time per message/2 adders, 4 takers:
5142.87 ns
time per message/4 adders, 1 taker:
2227.50 ns
time per message/4 adders, 2 takers:
2935.42 ns
time per message/4 adders, 4 takers:
4407.91 ns
time per message/one domain:
149.13 ns
Hashtbl:
operations over time/1 worker, 10% reads:
9.30 M/s
operations over time/1 worker, 50% reads:
6.41 M/s
operations over time/1 worker, 90% reads:
5.97 M/s
operations over time/2 workers, 10% reads:
4.33 M/s
operations over time/2 workers, 50% reads:
4.26 M/s
operations over time/2 workers, 90% reads:
5.14 M/s
operations over time/4 workers, 10% reads:
1.88 M/s
operations over time/4 workers, 50% reads:
2.36 M/s
operations over time/4 workers, 90% reads:
3.09 M/s
operations over time/8 workers, 10% reads:
1.52 M/s
operations over time/8 workers, 50% reads:
1.84 M/s
operations over time/8 workers, 90% reads:
2.83 M/s
operations over time/one domain, 10% reads:
16.94 M/s
operations over time/one domain, 50% reads:
17.46 M/s
operations over time/one domain, 90% reads:
15.35 M/s
time per operation/1 worker, 10% reads:
107.52 ns
time per operation/1 worker, 50% reads:
155.98 ns
time per operation/1 worker, 90% reads:
167.63 ns
time per operation/2 workers, 10% reads:
462.17 ns
time per operation/2 workers, 50% reads:
469.28 ns
time per operation/2 workers, 90% reads:
388.93 ns
time per operation/4 workers, 10% reads:
2126.86 ns
time per operation/4 workers, 50% reads:
1695.43 ns
time per operation/4 workers, 90% reads:
1295.25 ns
time per operation/8 workers, 10% reads:
5256.97 ns
time per operation/8 workers, 50% reads:
4347.78 ns
time per operation/8 workers, 90% reads:
2826.06 ns
time per operation/one domain, 10% reads:
59.03 ns
time per operation/one domain, 50% reads:
57.29 ns
time per operation/one domain, 90% reads:
65.15 ns
Queue:
messages over time/one domain:
18.25 M/s
time per message/one domain:
54.80 ns
Ref with Mutex:
ops over time/cas int:
17.55 M/s
ops over time/get:
18.24 M/s
ops over time/incr:
16.48 M/s
ops over time/push & pop:
13.05 M/s
ops over time/swap:
16.97 M/s
ops over time/xchg int:
17.56 M/s
time per op/cas int:
56.98 ns
time per op/get:
54.83 ns
time per op/incr:
60.69 ns
time per op/push & pop:
76.65 ns
time per op/swap:
58.93 ns
time per op/xchg int:
56.96 ns
Ref with [@poll error]:
ops over time/cas int:
133.08 M/s
ops over time/get:
1315.11 M/s
ops over time/incr:
398.54 M/s
ops over time/push & pop:
39.80 M/s
ops over time/swap:
82.86 M/s
ops over time/xchg int:
134.53 M/s
time per op/cas int:
7.51 ns
time per op/get:
0.76 ns
time per op/incr:
2.51 ns
time per op/push & pop:
25.13 ns
time per op/swap:
12.07 ns
time per op/xchg int:
7.43 ns
Stack:
messages over time/one domain:
28.57 M/s
time per message/one domain:
35.00 ns
Unix:
blocking reads over time/1 worker:
1.43 M/s
blocking reads over time/2 workers:
2.85 M/s
blocking reads over time/4 workers:
4.77 M/s
time per blocking read/1 worker:
701.56 ns
time per blocking read/2 workers:
702.27 ns
time per blocking read/4 workers:
838.89 ns
2025-09-10 14:31.30 ---> saved as "f1e7a84dc6a579a1f01999193fe68f0a0efa3120ad1638fbdf274b83b124cf4f"
Job succeeded
2025-09-10 14:32.39: Job succeeded