Organisationsocaml-multicoremulticore-benchefb15d (main)debian-11-5.3_opam-2.4

debian-11-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-09-16 10:13.44: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (efb15d8562dbdc1ba976ffc574de028e3c11c123) (linux-x86_64:debian-11-5.3_opam-2.4)
Base: ocaml/opam:debian-11-ocaml-5.3@sha256:d22ca7442798dbbf8f67cf30ddcad95b123af4815bf71f15a1e3b77ac03c63f4
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-11-ocaml-5.3@sha256:d22ca7442798dbbf8f67cf30ddcad95b123af4815bf71f15a1e3b77ac03c63f4
# debian-11-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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-16 10:13.44: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-11-ocaml-5.3@sha256:d22ca7442798dbbf8f67cf30ddcad95b123af4815bf71f15a1e3b77ac03c63f4-debian-11-5.3_opam-2.4-6002683b6d421cfbe1933c41f8fca838"
2025-09-16 10:13.44: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-5.3@sha256:d22ca7442798dbbf8f67cf30ddcad95b123af4815bf71f15a1e3b77ac03c63f4)
(comment debian-11-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/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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-16 10:13.44: Waiting for resource in pool OCluster
2025-09-16 14:18.24: Waiting for worker…
2025-09-16 14:22.52: 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:debian-11-ocaml-5.3@sha256:d22ca7442798dbbf8f67cf30ddcad95b123af4815bf71f15a1e3b77ac03c63f4)
2025-09-16 14:22.52 ---> using "aecf21de7093771dcd4921d5bf691dc9303081df1bf9c9c43966805889cd1304" from cache


/: (comment debian-11-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/bin/opam-2.4 /usr/bin/opam"))
2025-09-16 14:22.52 ---> using "6953879d6c76a9fc0c641d7869dd6e24d0cde89dd1be7cb44b09e8abf4624314" 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
2025-09-16 14:22.52 ---> using "7600f0d514b303110dc6d3ab07113df124ae8cba62b508f8ea6da4e38403529b" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-16 14:22.52 ---> using "54743e99253f61499bcb5d426bf2de41046d174bc5468c2826bb6397d1984ef3" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-16 14:22.52 ---> using "d0f46657015c9dd8bb340311f07fa8ab0c09a977e4413cab1a6dca7da3c0e0a0" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee24528071..7949ff40d8  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> 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)
2025-09-16 14:22.52 ---> using "e4bd32da6638392e99c4b2ef94c1b74153f6a2cce8e695a5cd68a46d874de08d" from cache


/src: (copy (src multicore-bench.opam) (dst ./))
2025-09-16 14:22.52 ---> saved as "f0038b96d8c1cadd7cee060347192ce8807a1ada5ecc2bd87f829f369e54a273"


/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-16 14:22.53 ---> saved as "662f946919d38d371c4f64fe0e4b4f575522bc3588fad2c57f05d3167fd02d40"


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


/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"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [403 kB]
- Fetched 430 kB in 0s (1255 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-09-16 14:23.00 ---> saved as "c3050b1429d6ddd7c135b68b00e77f023ba7b664d879720d32d81bcdec77fb40"


/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.20.2
- install fmt                0.11.0
- install logs               0.9.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.13.2
- install result             1.5
- install seq                base
- install thread-table       1.0.0
- install topkg              1.1.0
- 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.1.3.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.9.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 ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved re.1.13.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> 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 backoff.0.1.1
-> installed ocaml-version.4.0.1
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed multicore-magic.2.3.1
-> installed camlp-streams.5.0.1
-> installed domain-local-await.1.0.1
-> installed re.1.13.2
-> 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-09-16 14:23.28 ---> saved as "9fdc7b43cd44e6f20a47e34ff31d31417bd4dbaa1e6f6a6e73d9461234bc4c0e"


/src: (copy (src .) (dst /src))
2025-09-16 14:23.29 ---> saved as "8829719f210cc200eda6928c04cdc4f5c63a61770f264678ad19d89482f800a9"


/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:
339.87 M/s
ops over time/get:
3684.33 M/s
ops over time/incr:
420.17 M/s
ops over time/push & pop:
70.32 M/s
ops over time/swap:
137.13 M/s
ops over time/xchg int:
332.92 M/s
time per op/cas int:
2.94 ns
time per op/get:
0.27 ns
time per op/incr:
2.38 ns
time per op/push & pop:
14.22 ns
time per op/swap:
7.29 ns
time per op/xchg int:
3.00 ns
Atomic incr:
ops over time/CAS, 1 domains:
257.46 M/s
ops over time/CAS, 2 domains:
96.28 M/s
ops over time/CAS, 4 domains:
16.26 M/s
ops over time/CAS, 8 domains:
75.85 M/s
ops over time/CAS with backoff, 1 domains:
257.19 M/s
ops over time/CAS with backoff, 2 domains:
86.69 M/s
ops over time/CAS with backoff, 4 domains:
59.87 M/s
ops over time/CAS with backoff, 8 domains:
47.32 M/s
ops over time/Incr, 1 domains:
341.77 M/s
ops over time/Incr, 2 domains:
150.76 M/s
ops over time/Incr, 4 domains:
184.49 M/s
ops over time/Incr, 8 domains:
148.36 M/s
time per op/CAS, 1 domains:
3.88 ns
time per op/CAS, 2 domains:
20.77 ns
time per op/CAS, 4 domains:
246.05 ns
time per op/CAS, 8 domains:
105.47 ns
time per op/CAS with backoff, 1 domains:
3.89 ns
time per op/CAS with backoff, 2 domains:
23.07 ns
time per op/CAS with backoff, 4 domains:
66.81 ns
time per op/CAS with backoff, 8 domains:
169.05 ns
time per op/Incr, 1 domains:
2.93 ns
time per op/Incr, 2 domains:
13.27 ns
time per op/Incr, 4 domains:
21.68 ns
time per op/Incr, 8 domains:
53.92 ns
Bounded_q:
messages over time/1 adder, 1 taker:
3.61 M/s
messages over time/1 adder, 2 takers:
2.40 M/s
messages over time/1 adder, 4 takers:
2.20 M/s
messages over time/2 adders, 1 taker:
2.88 M/s
messages over time/2 adders, 2 takers:
2.16 M/s
messages over time/2 adders, 4 takers:
1.62 M/s
messages over time/4 adders, 1 taker:
2.99 M/s
messages over time/4 adders, 2 takers:
1.97 M/s
messages over time/4 adders, 4 takers:
1.64 M/s
messages over time/one domain:
16.06 M/s
time per message/1 adder, 1 taker:
553.31 ns
time per message/1 adder, 2 takers:
1249.16 ns
time per message/1 adder, 4 takers:
2268.71 ns
time per message/2 adders, 1 taker:
1041.77 ns
time per message/2 adders, 2 takers:
1854.26 ns
time per message/2 adders, 4 takers:
3710.25 ns
time per message/4 adders, 1 taker:
1669.63 ns
time per message/4 adders, 2 takers:
3039.80 ns
time per message/4 adders, 4 takers:
4876.56 ns
time per message/one domain:
62.28 ns
Hashtbl:
operations over time/1 worker, 10% reads:
19.90 M/s
operations over time/1 worker, 50% reads:
19.30 M/s
operations over time/1 worker, 90% reads:
23.52 M/s
operations over time/2 workers, 10% reads:
2.95 M/s
operations over time/2 workers, 50% reads:
2.17 M/s
operations over time/2 workers, 90% reads:
6.32 M/s
operations over time/4 workers, 10% reads:
1.87 M/s
operations over time/4 workers, 50% reads:
1.59 M/s
operations over time/4 workers, 90% reads:
3.35 M/s
operations over time/8 workers, 10% reads:
2.02 M/s
operations over time/8 workers, 50% reads:
1.25 M/s
operations over time/8 workers, 90% reads:
3.00 M/s
operations over time/one domain, 10% reads:
28.94 M/s
operations over time/one domain, 50% reads:
29.04 M/s
operations over time/one domain, 90% reads:
41.03 M/s
time per operation/1 worker, 10% reads:
50.25 ns
time per operation/1 worker, 50% reads:
51.81 ns
time per operation/1 worker, 90% reads:
42.52 ns
time per operation/2 workers, 10% reads:
677.46 ns
time per operation/2 workers, 50% reads:
920.40 ns
time per operation/2 workers, 90% reads:
316.62 ns
time per operation/4 workers, 10% reads:
2138.31 ns
time per operation/4 workers, 50% reads:
2510.11 ns
time per operation/4 workers, 90% reads:
1193.14 ns
time per operation/8 workers, 10% reads:
3961.94 ns
time per operation/8 workers, 50% reads:
6387.09 ns
time per operation/8 workers, 90% reads:
2664.20 ns
time per operation/one domain, 10% reads:
34.56 ns
time per operation/one domain, 50% reads:
34.43 ns
time per operation/one domain, 90% reads:
24.37 ns
Queue:
messages over time/one domain:
44.24 M/s
time per message/one domain:
22.61 ns
Ref with Mutex:
ops over time/cas int:
44.76 M/s
ops over time/get:
52.82 M/s
ops over time/incr:
52.82 M/s
ops over time/push & pop:
35.75 M/s
ops over time/swap:
44.42 M/s
ops over time/xchg int:
45.10 M/s
time per op/cas int:
22.34 ns
time per op/get:
18.93 ns
time per op/incr:
18.93 ns
time per op/push & pop:
27.97 ns
time per op/swap:
22.51 ns
time per op/xchg int:
22.17 ns
Ref with [@poll error]:
ops over time/cas int:
258.09 M/s
ops over time/get:
3688.06 M/s
ops over time/incr:
714.13 M/s
ops over time/push & pop:
69.03 M/s
ops over time/swap:
129.71 M/s
ops over time/xchg int:
276.29 M/s
time per op/cas int:
3.87 ns
time per op/get:
0.27 ns
time per op/incr:
1.40 ns
time per op/push & pop:
14.49 ns
time per op/swap:
7.71 ns
time per op/xchg int:
3.62 ns
Stack:
messages over time/one domain:
50.74 M/s
time per message/one domain:
19.71 ns
Unix:
blocking reads over time/1 worker:
1.80 M/s
blocking reads over time/2 workers:
3.58 M/s
blocking reads over time/4 workers:
7.11 M/s
time per blocking read/1 worker:
556.65 ns
time per blocking read/2 workers:
558.54 ns
time per blocking read/4 workers:
562.21 ns
2025-09-16 14:23.40 ---> saved as "987926d83d59caca1ca00b7a34917ab6784d228ccbe93d24dec91e4c600edffd"
Job succeeded
2025-09-16 14:23.40: Job succeeded