Organisationsocaml-multicoremulticore-benchefb15d (main)debian-13-5.4_riscv64_opam-2.5

debian-13-5.4_riscv64_opam-2.5

Link Copied
Code Copied

Logs

2026-02-19 02:18.56: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (efb15d8562dbdc1ba976ffc574de028e3c11c123) (linux-riscv64:debian-13-5.4_riscv64_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-5.4@sha256:8478880978662dcabdd909d7e1519e3acebcea90e091a486a500c953d71f05d2
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-13-ocaml-5.4@sha256:8478880978662dcabdd909d7e1519e3acebcea90e091a486a500c953d71f05d2
# debian-13-5.4_riscv64_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 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 ./
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.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 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


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


2026-02-19 02:18.56: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-13-ocaml-5.4@sha256:8478880978662dcabdd909d7e1519e3acebcea90e091a486a500c953d71f05d2-debian-13-5.4_riscv64_opam-2.5-ca9771ecc62fd6bbba007243926da734"
2026-02-19 02:18.56: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:8478880978662dcabdd909d7e1519e3acebcea90e091a486a500c953d71f05d2)
(comment debian-13-5.4_riscv64_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo 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"))
(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 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 ./))
(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.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 /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-02-19 02:18.56: Waiting for resource in pool OCluster
2026-02-19 13:19.54: Waiting for worker…
2026-02-20 02:25.31: Got resource from pool OCluster
Building on riscv-bm-03.sw.ci.dev
All commits already cached
HEAD is now at efb15d8 Inline `Atomic` and `Ref` ops and unroll


(from ocaml/opam:debian-13-ocaml-5.4@sha256:8478880978662dcabdd909d7e1519e3acebcea90e091a486a500c953d71f05d2)
2026-02-20 02:25.31 ---> using "0e5814e8d185ec3490d16f5cc887c1e323fe951097141986751e9539010076c7" from cache


/: (comment debian-13-5.4_riscv64_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-02-20 02:25.31 ---> using "75676d0e78826da5add168994006064acdf62cfbef0c6e81e04d2cc1181cea27" 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
2026-02-20 02:25.31 ---> using "ad2568132c604d5f59a58444d92068d40c6ac96b0ab7276df29a72251db4f04d" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113-scw1
The OCaml toplevel, version 5.4.0
2.5.0
2026-02-20 02:25.31 ---> using "f78fd80da41b4b690910f0fb2c24ab058c6a421e0b694e413811cccc629c939a" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-02-20 02:25.31 ---> using "90aa82c854cdee74644e37dfd5b63fd52605fa1700827693196561810a8fdcc4" from cache


/src: (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
340ee6fd1f..48176cb9e4  master     -> origin/master
302e116c40 Merge pull request #29374 from shonfeder/release-dune-3.21.1


<><> 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)
2026-02-20 02:25.31 ---> using "62170463a05d42dbbaca950ead0ec8748b2a2e652f027d28be0ce250a0625db7" from cache


/src: (copy (src multicore-bench.opam) (dst ./))
2026-02-20 02:25.32 ---> saved as "06768622fbeac3f644cd140adb1b463a21e2bbfb4b2fabd5c1d23c915faae6e1"


/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)
2026-02-20 02:25.40 ---> saved as "ca0bcc0608435a19116b90f730d620b9858beed8eb4e4de5c3c4dddeab8288e5"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-02-20 02:25.40 ---> saved as "43412458ee032c59c844ddbc072a27a495dc7fc8be104b394e689b888cdecc68"


/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.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")


/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.5 --depext-only -y multicore-bench.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main riscv64 Packages [103 kB]
- Fetched 194 kB in 0s (397 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.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-20 02:26.25 ---> saved as "093de50f00a14ed87512be160a4a67f7d32d16fe8f4633a838d4125fe6db3c88"


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


/src: (copy (src .) (dst /src))
2026-02-20 02:32.51 ---> saved as "fa1987b7a78e5e3d879866a289cd67df4550c62a560fd6b0bb08e6c0f7414aff"


/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:
6.68 M/s
ops over time/get:
29.48 M/s
ops over time/incr:
7.39 M/s
ops over time/push & pop:
5.30 M/s
ops over time/swap:
3.34 M/s
ops over time/xchg int:
4.28 M/s
time per op/cas int:
149.62 ns
time per op/get:
33.92 ns
time per op/incr:
135.36 ns
time per op/push & pop:
188.84 ns
time per op/swap:
299.54 ns
time per op/xchg int:
233.40 ns
Atomic incr:
ops over time/CAS, 1 domains:
7.69 M/s
ops over time/CAS, 2 domains:
7.38 M/s
ops over time/CAS, 4 domains:
7.29 M/s
ops over time/CAS with backoff, 1 domains:
7.54 M/s
ops over time/CAS with backoff, 2 domains:
7.42 M/s
ops over time/CAS with backoff, 4 domains:
7.03 M/s
ops over time/Incr, 1 domains:
6.84 M/s
ops over time/Incr, 2 domains:
13.01 M/s
ops over time/Incr, 4 domains:
23.73 M/s
time per op/CAS, 1 domains:
130.07 ns
time per op/CAS, 2 domains:
271.13 ns
time per op/CAS, 4 domains:
548.44 ns
time per op/CAS with backoff, 1 domains:
132.57 ns
time per op/CAS with backoff, 2 domains:
269.58 ns
time per op/CAS with backoff, 4 domains:
568.97 ns
time per op/Incr, 1 domains:
146.25 ns
time per op/Incr, 2 domains:
153.70 ns
time per op/Incr, 4 domains:
168.53 ns
Bounded_q:
messages over time/1 adder, 1 taker:
0.79 M/s
messages over time/1 adder, 2 takers:
0.52 M/s
messages over time/2 adders, 1 taker:
0.57 M/s
messages over time/2 adders, 2 takers:
0.35 M/s
messages over time/one domain:
1.61 M/s
time per message/1 adder, 1 taker:
2528.55 ns
time per message/1 adder, 2 takers:
5815.02 ns
time per message/2 adders, 1 taker:
5223.64 ns
time per message/2 adders, 2 takers:
11411.38 ns
time per message/one domain:
621.58 ns
Hashtbl:
operations over time/1 worker, 10% reads:
2.99 M/s
operations over time/1 worker, 50% reads:
3.25 M/s
operations over time/1 worker, 90% reads:
3.56 M/s
operations over time/2 workers, 10% reads:
1.19 M/s
operations over time/2 workers, 50% reads:
1.35 M/s
operations over time/2 workers, 90% reads:
1.54 M/s
operations over time/4 workers, 10% reads:
1.10 M/s
operations over time/4 workers, 50% reads:
1.20 M/s
operations over time/4 workers, 90% reads:
1.38 M/s
operations over time/8 workers, 10% reads:
0.76 M/s
operations over time/8 workers, 50% reads:
0.99 M/s
operations over time/8 workers, 90% reads:
1.19 M/s
operations over time/one domain, 10% reads:
5.51 M/s
operations over time/one domain, 50% reads:
6.28 M/s
operations over time/one domain, 90% reads:
8.42 M/s
time per operation/1 worker, 10% reads:
333.97 ns
time per operation/1 worker, 50% reads:
307.70 ns
time per operation/1 worker, 90% reads:
280.75 ns
time per operation/2 workers, 10% reads:
1687.37 ns
time per operation/2 workers, 50% reads:
1483.07 ns
time per operation/2 workers, 90% reads:
1296.29 ns
time per operation/4 workers, 10% reads:
3633.67 ns
time per operation/4 workers, 50% reads:
3344.99 ns
time per operation/4 workers, 90% reads:
2891.57 ns
time per operation/8 workers, 10% reads:
10552.62 ns
time per operation/8 workers, 50% reads:
8087.37 ns
time per operation/8 workers, 90% reads:
6742.23 ns
time per operation/one domain, 10% reads:
181.36 ns
time per operation/one domain, 50% reads:
159.11 ns
time per operation/one domain, 90% reads:
118.73 ns
Queue:
messages over time/one domain:
2.90 M/s
time per message/one domain:
344.81 ns
Ref with Mutex:
ops over time/cas int:
4.71 M/s
ops over time/get:
5.83 M/s
ops over time/incr:
5.26 M/s
ops over time/push & pop:
4.01 M/s
ops over time/swap:
4.42 M/s
ops over time/xchg int:
4.70 M/s
time per op/cas int:
212.44 ns
time per op/get:
171.59 ns
time per op/incr:
190.16 ns
time per op/push & pop:
249.14 ns
time per op/swap:
226.44 ns
time per op/xchg int:
212.62 ns
Ref with [@poll error]:
ops over time/cas int:
24.73 M/s
ops over time/get:
861.85 M/s
ops over time/incr:
49.19 M/s
ops over time/push & pop:
10.68 M/s
ops over time/swap:
8.47 M/s
ops over time/xchg int:
24.70 M/s
time per op/cas int:
40.43 ns
time per op/get:
1.16 ns
time per op/incr:
20.33 ns
time per op/push & pop:
93.66 ns
time per op/swap:
118.03 ns
time per op/xchg int:
40.49 ns
Stack:
messages over time/one domain:
3.38 M/s
time per message/one domain:
296.03 ns
Unix:
blocking reads over time/1 worker:
0.50 M/s
blocking reads over time/2 workers:
1.02 M/s
blocking reads over time/4 workers:
2.05 M/s
time per blocking read/1 worker:
1981.38 ns
time per blocking read/2 workers:
1955.98 ns
time per blocking read/4 workers:
1950.47 ns
2026-02-20 02:33.51 ---> saved as "a68bcd49bf0ec2a6112c71eac785917db7315700b1cc686745a7a972cac7c938"
Job succeeded
2026-02-20 02:33.51: Job succeeded