Organisationsocaml-multicoremulticore-benchefb15d (main)debian-12-5.3_opam-2.3

debian-12-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-06-14 20:09.10: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (efb15d8562dbdc1ba976ffc574de028e3c11c123) (linux-x86_64:debian-12-5.3_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e
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-12-ocaml-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e
# debian-12-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.19.1 fmt.0.10.0 logs.0.8.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.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.8 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-06-14 20:09.10: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e-debian-12-5.3_opam-2.3-10db08213cc6d5aab31cc60439730334"
2025-06-14 20:09.10: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e)
(comment debian-12-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.19.1 fmt.0.10.0 logs.0.8.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.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.8 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.3 --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-06-14 20:09.10: Waiting for resource in pool OCluster
2025-06-14 20:09.10: Waiting for worker…
2025-06-14 20:09.10: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at efb15d8 Inline `Atomic` and `Ref` ops and unroll


(from ocaml/opam:debian-12-ocaml-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e)
2025-06-14 20:09.11 ---> using "96697d8e79983291d560edbf731c893ea129e422e8dda14986eae24c3f7015ce" from cache


/: (comment debian-12-5.3_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-14 20:09.11 ---> using "399839540ee4951b543ccb424e193cc11994597b031e27f8e7eb093c0cdb72ee" 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 development 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-06-14 20:09.11 ---> using "72512caa6994f9b90c379a25ae2297e61d0ae9f8d7fa55e5981e75cb91cd604a" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-59-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-06-14 20:09.11 ---> using "b42b7d17178434ed1e5995526e0de64bf245d8f95c75891550c5f5aa669684a4" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-06-14 20:09.11 ---> using "2017b209d87937b64be72838400dcc6e6fec01bc30677330c6af75dd31354bd7" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
bc726805e3..c7269f729a  master     -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-06-14 20:09.11 ---> using "dfcd4740a011495e4fa3bbea4feb634d379deceabae0184b972ed0bbbe2b68fb" from cache


/src: (copy (src multicore-bench.opam) (dst ./))
2025-06-14 20:09.11 ---> using "f7c02fffa6a2e6c048c6ba2e6f6912ffb3e233e27f6a88b90020019dcf1651f7" from cache


/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-06-14 20:09.11 ---> using "8c57f8d5e72c58495e375ad70f14557d20c91642a0a0a984f42e4d8b0a49822d" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-14 20:09.11 ---> using "e5743b86bd430c23e2d666d32f488c87c312aaf75a4d7627ab11917a55274c86" from cache


/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.19.1 fmt.0.10.0 logs.0.8.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.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.8 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.3 --depext-only -y multicore-bench.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [17.3 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-06-13-1410.14-F-2025-06-13-1410.14.pdiff [434 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-06-13-1410.14-F-2025-06-13-1410.14.pdiff [434 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [266 kB]
- Fetched 387 kB in 1s (377 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-06-14 20:09.11 ---> using "258974acf941e08464ed8dfb2af29af0e8e6b461d409c6e6b93a35fb77dc803a" from cache


/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.19.1
- install fmt                0.10.0
- install logs               0.8.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.12.0
- install result             1.5
- install seq                base
- install thread-table       1.0.0
- install topkg              1.0.8
- install yojson             3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.1  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.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.10.0  (cached)
-> retrieved logs.0.8.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.12.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved dune.3.19.1  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed mtime.2.1.0
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed logs.0.8.0
-> installed dune.3.19.1
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed backoff.0.1.1
-> installed thread-table.1.0.0
-> installed result.1.5
-> installed ocaml-version.4.0.1
-> installed multicore-magic.2.3.1
-> installed camlp-streams.5.0.1
-> installed domain-local-await.1.0.1
-> installed re.1.12.0
-> installed cppo.1.8.0
-> installed yojson.3.0.0
-> installed mdx.2.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-14 20:09.11 ---> using "4375e60cba99ea38d74265b3e6956f71d394b1f3a1e98268c5c03e106fc79664" from cache


/src: (copy (src .) (dst /src))
2025-06-14 20:09.11 ---> using "c4351b1643638e82e18199f8aa23f415261760093518e120fe35bbd9ea3a1c3f" from cache


/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:
106.68 M/s
ops over time/get:
2130.98 M/s
ops over time/incr:
102.72 M/s
ops over time/push & pop:
51.85 M/s
ops over time/swap:
63.60 M/s
ops over time/xchg int:
95.04 M/s
time per op/cas int:
9.37 ns
time per op/get:
0.47 ns
time per op/incr:
9.74 ns
time per op/push & pop:
19.29 ns
time per op/swap:
15.72 ns
time per op/xchg int:
10.52 ns
Atomic incr:
ops over time/CAS, 1 domains:
73.03 M/s
ops over time/CAS, 2 domains:
12.35 M/s
ops over time/CAS, 4 domains:
7.50 M/s
ops over time/CAS, 8 domains:
5.41 M/s
ops over time/CAS with backoff, 1 domains:
74.91 M/s
ops over time/CAS with backoff, 2 domains:
47.10 M/s
ops over time/CAS with backoff, 4 domains:
22.94 M/s
ops over time/CAS with backoff, 8 domains:
17.65 M/s
ops over time/Incr, 1 domains:
106.66 M/s
ops over time/Incr, 2 domains:
38.10 M/s
ops over time/Incr, 4 domains:
38.31 M/s
ops over time/Incr, 8 domains:
38.92 M/s
time per op/CAS, 1 domains:
13.69 ns
time per op/CAS, 2 domains:
161.89 ns
time per op/CAS, 4 domains:
533.43 ns
time per op/CAS, 8 domains:
1479.66 ns
time per op/CAS with backoff, 1 domains:
13.35 ns
time per op/CAS with backoff, 2 domains:
42.46 ns
time per op/CAS with backoff, 4 domains:
174.35 ns
time per op/CAS with backoff, 8 domains:
453.37 ns
time per op/Incr, 1 domains:
9.38 ns
time per op/Incr, 2 domains:
52.49 ns
time per op/Incr, 4 domains:
104.40 ns
time per op/Incr, 8 domains:
205.58 ns
Bounded_q:
messages over time/1 adder, 1 taker:
3.54 M/s
messages over time/1 adder, 2 takers:
3.53 M/s
messages over time/1 adder, 4 takers:
1.73 M/s
messages over time/2 adders, 1 taker:
5.42 M/s
messages over time/2 adders, 2 takers:
3.05 M/s
messages over time/2 adders, 4 takers:
1.28 M/s
messages over time/4 adders, 1 taker:
2.33 M/s
messages over time/4 adders, 2 takers:
1.52 M/s
messages over time/4 adders, 4 takers:
1.24 M/s
messages over time/one domain:
10.02 M/s
time per message/1 adder, 1 taker:
565.20 ns
time per message/1 adder, 2 takers:
848.81 ns
time per message/1 adder, 4 takers:
2898.51 ns
time per message/2 adders, 1 taker:
553.67 ns
time per message/2 adders, 2 takers:
1311.96 ns
time per message/2 adders, 4 takers:
4691.51 ns
time per message/4 adders, 1 taker:
2144.95 ns
time per message/4 adders, 2 takers:
3954.24 ns
time per message/4 adders, 4 takers:
6451.22 ns
time per message/one domain:
99.78 ns
Hashtbl:
operations over time/1 worker, 10% reads:
12.45 M/s
operations over time/1 worker, 50% reads:
12.42 M/s
operations over time/1 worker, 90% reads:
13.79 M/s
operations over time/2 workers, 10% reads:
1.92 M/s
operations over time/2 workers, 50% reads:
4.31 M/s
operations over time/2 workers, 90% reads:
5.07 M/s
operations over time/4 workers, 10% reads:
3.39 M/s
operations over time/4 workers, 50% reads:
4.62 M/s
operations over time/4 workers, 90% reads:
5.61 M/s
operations over time/8 workers, 10% reads:
2.66 M/s
operations over time/8 workers, 50% reads:
3.15 M/s
operations over time/8 workers, 90% reads:
3.86 M/s
operations over time/one domain, 10% reads:
20.58 M/s
operations over time/one domain, 50% reads:
19.57 M/s
operations over time/one domain, 90% reads:
23.82 M/s
time per operation/1 worker, 10% reads:
80.34 ns
time per operation/1 worker, 50% reads:
80.52 ns
time per operation/1 worker, 90% reads:
72.51 ns
time per operation/2 workers, 10% reads:
1040.85 ns
time per operation/2 workers, 50% reads:
463.70 ns
time per operation/2 workers, 90% reads:
394.52 ns
time per operation/4 workers, 10% reads:
1178.86 ns
time per operation/4 workers, 50% reads:
865.64 ns
time per operation/4 workers, 90% reads:
713.26 ns
time per operation/8 workers, 10% reads:
3013.11 ns
time per operation/8 workers, 50% reads:
2539.92 ns
time per operation/8 workers, 90% reads:
2073.86 ns
time per operation/one domain, 10% reads:
48.59 ns
time per operation/one domain, 50% reads:
51.09 ns
time per operation/one domain, 90% reads:
41.98 ns
Queue:
messages over time/one domain:
28.99 M/s
time per message/one domain:
34.49 ns
Ref with Mutex:
ops over time/cas int:
30.46 M/s
ops over time/get:
31.36 M/s
ops over time/incr:
30.95 M/s
ops over time/push & pop:
25.80 M/s
ops over time/swap:
26.49 M/s
ops over time/xchg int:
29.45 M/s
time per op/cas int:
32.83 ns
time per op/get:
31.89 ns
time per op/incr:
32.31 ns
time per op/push & pop:
38.76 ns
time per op/swap:
37.76 ns
time per op/xchg int:
33.95 ns
Ref with [@poll error]:
ops over time/cas int:
161.54 M/s
ops over time/get:
2073.10 M/s
ops over time/incr:
431.37 M/s
ops over time/push & pop:
63.63 M/s
ops over time/swap:
93.17 M/s
ops over time/xchg int:
165.73 M/s
time per op/cas int:
6.19 ns
time per op/get:
0.48 ns
time per op/incr:
2.32 ns
time per op/push & pop:
15.72 ns
time per op/swap:
10.73 ns
time per op/xchg int:
6.03 ns
Stack:
messages over time/one domain:
34.59 M/s
time per message/one domain:
28.91 ns
Unix:
blocking reads over time/1 worker:
1.15 M/s
blocking reads over time/2 workers:
2.35 M/s
blocking reads over time/4 workers:
4.60 M/s
time per blocking read/1 worker:
866.25 ns
time per blocking read/2 workers:
850.60 ns
time per blocking read/4 workers:
869.85 ns
2025-06-14 20:09.11 ---> using "e7ce8b12b56b0d1ea8f29c09c08992802326ec8dd354ff603f9a244b93304662" from cache
Job succeeded
2025-06-14 20:09.11: Job succeeded