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

debian-13-4.14_riscv64_opam-2.5

Link Copied
Code Copied

Logs

2026-02-15 17:59.35: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (efb15d8562dbdc1ba976ffc574de028e3c11c123) (linux-riscv64:debian-13-4.14_riscv64_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-4.14@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28
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-4.14@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28
# debian-13-4.14_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-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 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


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


2026-02-15 17:59.35: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-13-ocaml-4.14@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28-debian-13-4.14_riscv64_opam-2.5-3276ee940043c1e69634f204ac603fad"
2026-02-15 17:59.35: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28)
(comment debian-13-4.14_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-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 /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-02-15 17:59.35: Waiting for resource in pool OCluster
2026-02-16 01:51.20: Waiting for worker…
2026-02-16 15:17.32: Got resource from pool OCluster
Building on riscv-bm-04.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-4.14@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28' locally
docker.io/ocaml/opam@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28: Pulling from ocaml/opam
618efd37f747: Already exists
807a8291ddb0: Already exists
2e2279de5c73: Already exists
aae7dc742810: Already exists
3cec207aa14a: Already exists
18b12c1acb88: Already exists
acbfc9fbdbf8: Already exists
a8a6e0657412: Already exists
8acc48d79cdd: Already exists
d7bfca1bdcee: Already exists
f5767448fecb: Already exists
9e4f850c79b8: Already exists
b74c0ffab381: Already exists
e4a5032c37ab: Already exists
1b54e9b68277: Already exists
b98aec32a95b: Already exists
f5bfe2af8178: Already exists
1cfb64d28ca5: Already exists
e3acd056c8ee: Already exists
6960f2aaef1f: Already exists
c3964517f3bc: Already exists
3c0a0b6999de: Already exists
4f4fb700ef54: Already exists
5ce14d7970b4: Already exists
bb3bc8516da4: Already exists
b3a87d32bba2: Already exists
1762f27d436d: Already exists
99320947d43f: Already exists
c4db19486c3c: Already exists
992d9d59969f: Already exists
637e0e20ec7c: Already exists
47840a848071: Already exists
2a8e2f9b5e4e: Already exists
cc9789c8ffe1: Already exists
23bf8b7fd7aa: Already exists
a99490d260ea: Already exists
83cc3b894b2f: Already exists
fb2c91aceb82: Already exists
e0e3fe006985: Already exists
1cd1d61c072e: Already exists
7f2574212212: Already exists
0c352bce2878: Pulling fs layer
4b42b6327812: Pulling fs layer
4825649bcb6c: Pulling fs layer
165bae4cdcd1: Pulling fs layer
165bae4cdcd1: Waiting
4b42b6327812: Verifying Checksum
4b42b6327812: Download complete
4825649bcb6c: Download complete
165bae4cdcd1: Verifying Checksum
165bae4cdcd1: Download complete
0c352bce2878: Verifying Checksum
0c352bce2878: Download complete
0c352bce2878: Pull complete
4b42b6327812: Pull complete
4825649bcb6c: Pull complete
165bae4cdcd1: Pull complete
Digest: sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28
Status: Downloaded newer image for ocaml/opam@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28
2026-02-16 15:17.33 ---> using "30f11627f66dbe7015502ba0ff9e8b75fc49edb7fa29043d7404f0fcb856faef" from cache


/: (comment debian-13-4.14_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-16 15:17.33 ---> using "6fcce6677623e30f0e2acd7b6f11086184b07b7e8436dfff5ab82b7743d757dc" 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-16 15:17.33 ---> using "0f87d6bfb159a53cabf7e51c91eeb23dc7a6494f776224772142260aa9cc1e7c" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113-scw1
The OCaml toplevel, version 4.14.2
2.5.0
2026-02-16 15:17.33 ---> using "76fddf3cf7a7b40f873431325fa3ec513eb51bf1a93a7c0093148abf5ad2f1d6" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-02-16 15:17.33 ---> using "c6569a00a238001cd887ec7c7918fb872637a19a77c2bf41e0a7e19ee509296a" 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..302e116c40  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


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-16 15:17.33 ---> using "20fec71f41efc626f72d38cc30281ccd172f4527217ad28094f3d2d6e241d75a" from cache


/src: (copy (src multicore-bench.opam) (dst ./))
2026-02-16 15:17.33 ---> saved as "0e1a0b6167665dd1814313e6952ba37a999429ba8c194e245d0eac73e7836a04"


/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-16 15:17.42 ---> saved as "26a02566fe7b2515639eec13201e02099defafc2e1b0cf26406c1645c89c375b"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-02-16 15:17.43 ---> saved as "dc6ac6a04fe00b5b7c3e564d2456243f30e97506e671d40131fdfe7b1fb9457d"


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


/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 [99.4 kB]
- Fetched 190 kB in 0s (407 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 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-16 15:18.28 ---> saved as "5325a3c65e6bf0c81a3003e8658267bae255cb808958fc442a26d043c96d150a"


/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 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 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.2.1.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 ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (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 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 logs.0.10.0
-> installed mtime.2.1.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 multicore-magic.2.3.2
-> installed cppo.1.8.0
-> installed result.1.5
-> installed ocaml-version.4.0.3
-> 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-16 15:23.55 ---> saved as "d5111b8d32cf16f7472fb8ce693a897f577ff2dfe00c40559b7073416a825adf"


/src: (copy (src .) (dst /src))
2026-02-16 15:23.56 ---> saved as "0c561ab4896c9f57a769724752a33aa6a496cddb9cc65df94803839757a83167"


/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:
76.80 M/s
ops over time/get:
867.03 M/s
ops over time/incr:
268.81 M/s
ops over time/push & pop:
17.14 M/s
ops over time/swap:
11.27 M/s
ops over time/xchg int:
83.75 M/s
time per op/cas int:
13.02 ns
time per op/get:
1.15 ns
time per op/incr:
3.72 ns
time per op/push & pop:
58.33 ns
time per op/swap:
88.71 ns
time per op/xchg int:
11.94 ns
Atomic incr:
ops over time/CAS, 1 domains:
61.42 M/s
ops over time/CAS with backoff, 1 domains:
59.52 M/s
ops over time/Incr, 1 domains:
150.15 M/s
time per op/CAS, 1 domains:
16.28 ns
time per op/CAS with backoff, 1 domains:
16.80 ns
time per op/Incr, 1 domains:
6.66 ns
Bounded_q:
messages over time/one domain:
1.80 M/s
time per message/one domain:
555.95 ns
Hashtbl:
operations over time/1 worker, 10% reads:
2.94 M/s
operations over time/1 worker, 50% reads:
3.06 M/s
operations over time/1 worker, 90% reads:
3.10 M/s
operations over time/2 workers, 10% reads:
2.96 M/s
operations over time/2 workers, 50% reads:
3.03 M/s
operations over time/2 workers, 90% reads:
3.03 M/s
operations over time/4 workers, 10% reads:
2.85 M/s
operations over time/4 workers, 50% reads:
2.81 M/s
operations over time/4 workers, 90% reads:
3.10 M/s
operations over time/8 workers, 10% reads:
2.81 M/s
operations over time/8 workers, 50% reads:
2.92 M/s
operations over time/8 workers, 90% reads:
2.99 M/s
operations over time/one domain, 10% reads:
7.18 M/s
operations over time/one domain, 50% reads:
7.40 M/s
operations over time/one domain, 90% reads:
7.90 M/s
time per operation/1 worker, 10% reads:
340.43 ns
time per operation/1 worker, 50% reads:
326.50 ns
time per operation/1 worker, 90% reads:
322.31 ns
time per operation/2 workers, 10% reads:
674.56 ns
time per operation/2 workers, 50% reads:
660.33 ns
time per operation/2 workers, 90% reads:
659.74 ns
time per operation/4 workers, 10% reads:
1402.67 ns
time per operation/4 workers, 50% reads:
1422.84 ns
time per operation/4 workers, 90% reads:
1291.38 ns
time per operation/8 workers, 10% reads:
2850.47 ns
time per operation/8 workers, 50% reads:
2742.96 ns
time per operation/8 workers, 90% reads:
2673.79 ns
time per operation/one domain, 10% reads:
139.29 ns
time per operation/one domain, 50% reads:
135.15 ns
time per operation/one domain, 90% reads:
126.52 ns
Queue:
messages over time/one domain:
6.84 M/s
time per message/one domain:
146.14 ns
Ref with Mutex:
ops over time/cas int:
4.78 M/s
ops over time/get:
5.17 M/s
ops over time/incr:
5.13 M/s
ops over time/push & pop:
4.31 M/s
ops over time/swap:
4.51 M/s
ops over time/xchg int:
4.82 M/s
time per op/cas int:
209.31 ns
time per op/get:
193.58 ns
time per op/incr:
194.94 ns
time per op/push & pop:
231.86 ns
time per op/swap:
221.62 ns
time per op/xchg int:
207.51 ns
Ref with [@poll error]:
ops over time/cas int:
77.80 M/s
ops over time/get:
867.53 M/s
ops over time/incr:
250.83 M/s
ops over time/push & pop:
16.85 M/s
ops over time/swap:
11.23 M/s
ops over time/xchg int:
77.24 M/s
time per op/cas int:
12.85 ns
time per op/get:
1.15 ns
time per op/incr:
3.99 ns
time per op/push & pop:
59.35 ns
time per op/swap:
89.02 ns
time per op/xchg int:
12.95 ns
Stack:
messages over time/one domain:
8.31 M/s
time per message/one domain:
120.40 ns
Unix:
blocking reads over time/1 worker:
0.15 M/s
time per blocking read/1 worker:
6597.51 ns
2026-02-16 15:24.25 ---> saved as "a8a7f4718d63c72de6d73f89af8da6bca9784203d0780d942952b949bb380a30"
Job succeeded
2026-02-16 15:24.25: Job succeeded