2025-10-09 20:51.49: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (efb15d8562dbdc1ba976ffc574de028e3c11c123) (linux-x86_64:debian-13-5.4~alpha1_opam-2.4) Base: ocaml/opam:debian-13-ocaml-5.4-alpha1@sha256:5396767118678323afec8d18868ef6e4e121597d86df1d623652605126aa1a1b 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-alpha1@sha256:5396767118678323afec8d18868ef6e4e121597d86df1d623652605126aa1a1b # debian-13-5.4~alpha1_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 5fa485a3e0921a1bb8337a6c35f106a48b9516e7 || git fetch origin master) && git reset -q --hard 5fa485a3e0921a1bb8337a6c35f106a48b9516e7 && 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.0.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.1 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.4.0 ocaml-base-compiler.5.4.0~alpha1 ocaml-compiler.5.4.0~alpha1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.2 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 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-10-09 20:51.49: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-13-ocaml-5.4-alpha1@sha256:5396767118678323afec8d18868ef6e4e121597d86df1d623652605126aa1a1b-debian-13-5.4~alpha1_opam-2.4-1e0baaf38627726e013cec71fe6295b9" 2025-10-09 20:51.49: Using OBuilder spec: ((from ocaml/opam:debian-13-ocaml-5.4-alpha1@sha256:5396767118678323afec8d18868ef6e4e121597d86df1d623652605126aa1a1b) (comment debian-13-5.4~alpha1_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 5fa485a3e0921a1bb8337a6c35f106a48b9516e7 || git fetch origin master) && git reset -q --hard 5fa485a3e0921a1bb8337a6c35f106a48b9516e7 && 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.0.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.1 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.4.0 ocaml-base-compiler.5.4.0~alpha1 ocaml-compiler.5.4.0~alpha1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.2 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 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-10-09 20:51.49: Waiting for resource in pool OCluster 2025-10-09 20:51.50: Waiting for worker… 2025-10-09 20:51.50: Got resource from pool OCluster Building on laodoke.caelum.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-alpha1@sha256:5396767118678323afec8d18868ef6e4e121597d86df1d623652605126aa1a1b) 2025-10-09 20:51.50 ---> using "3f95d81d4822767d9dc599129c8ce8bc534ab02216a869abc23583d80d41a357" from cache /: (comment debian-13-5.4~alpha1_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-10-09 20:51.50 ---> saved as "c297e5790b4ce7401cade9c992adb0d74b2144108546ec7f38adf6e8c2609fcb" /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 ><><><><><><><><><><><><><><><><><><><><><><><><><><> [ERROR] Could not update repository "beta": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/ocaml-beta-repository/': Could not resolve host: github.com" [default] Initialised 2025-10-09 20:52.18 ---> saved as "176d5477f6f38657c9c223e003e7a16a585578b122ebb4ee9130505568775ad4" /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-156-generic The OCaml toplevel, version 5.4.0~alpha1 2.4.1 2025-10-09 20:52.19 ---> saved as "ac92732adaca17f989c8bc41a2514b34e9f3d6afcd57819041a848914cf46e24" /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-10-09 20:52.19 ---> saved as "7f03a2f5f5de6daba403c6491d6e69d6bd69f5c2f6c526e2a95be5dc33974134" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 5fa485a3e0921a1bb8337a6c35f106a48b9516e7 || git fetch origin master) && git reset -q --hard 5fa485a3e0921a1bb8337a6c35f106a48b9516e7 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD bcac5d1731..38a1469dbb master -> origin/master 5fa485a3e0 Merge pull request #28665 from mtelvers/opam-publish-ocaml-version.4.0.2 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository [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-base-compiler.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) 2025-10-09 20:52.44 ---> saved as "c772c82db1dcecf79f4eb8d4f8ffc86da37bd59f12842636047b050644758290" /src: (copy (src multicore-bench.opam) (dst ./)) 2025-10-09 20:52.44 ---> saved as "530649864b34813e2c0238e615424d20fbb1a16b73d90508fd53b4aee6e853c8" /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-10-09 20:52.47 ---> saved as "751cd746a0877f439d75b0f28e73d618d6340ed6b432c15157219becb23a04bf" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-10-09 20:52.47 ---> saved as "d81b95cfbf5e82168e7f6f4300ed41259c0ad244af756d8ecb4dcfda88d96e50" /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.0.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.1 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.4.0 ocaml-base-compiler.5.4.0~alpha1 ocaml-compiler.5.4.0~alpha1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.2 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 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 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 amd64 Packages [52.2 kB] - Fetched 143 kB in 0s (1061 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~alpha1). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0~alpha1). [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). 2025-10-09 20:53.07 ---> saved as "51fa716ad7675f33fb9c5f4eabcb75996c85565c4246bd055914ee50c41c0d5b" /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~alpha1). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0~alpha1). [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.0.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.1 - install mtime 2.1.0 - install multicore-magic 2.3.1 - install ocaml-version 4.0.2 - 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.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 csexp.1.5.2 (cached) -> retrieved domain-local-await.1.0.1 (cached) -> retrieved cmdliner.2.0.0 (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 multicore-magic.2.3.1 (cached) -> retrieved ocaml-version.4.0.2 (cached) -> retrieved mdx.2.5.1 (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 yojson.3.0.0 (cached) -> retrieved topkg.1.1.0 (cached) -> retrieved dune.3.20.2 (cached) -> installed cmdliner.2.0.0 -> installed ocamlfind.1.9.8 -> installed ocamlbuild.0.16.1 -> installed topkg.1.1.0 -> installed fmt.0.11.0 -> installed mtime.2.1.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 ocaml-version.4.0.2 -> installed thread-table.1.0.0 -> 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.14.0 -> installed yojson.3.0.0 -> installed mdx.2.5.1 Done. # To update the current shell environment, run: eval $(opam env) 2025-10-09 20:55.19 ---> saved as "6e098db32708f216f824ece350fa45cf4eed9bb3896a04cebb144145a9111e24" /src: (copy (src .) (dst /src)) 2025-10-09 20:55.19 ---> saved as "5290f26cbf44b14a3924ac62775e36471ffef03403d73b44807df5ce09b25383" /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: 68.47 M/s ops over time/get: 1338.66 M/s ops over time/incr: 35.13 M/s ops over time/push & pop: 9.48 M/s ops over time/swap: 4.40 M/s ops over time/xchg int: 69.70 M/s time per op/cas int: 14.60 ns time per op/get: 0.75 ns time per op/incr: 28.46 ns time per op/push & pop: 105.49 ns time per op/swap: 227.08 ns time per op/xchg int: 14.35 ns Atomic incr: ops over time/CAS, 1 domains: 39.84 M/s ops over time/CAS, 2 domains: 46.61 M/s ops over time/CAS, 4 domains: 11.66 M/s ops over time/CAS, 8 domains: 4.04 M/s ops over time/CAS with backoff, 1 domains: 53.95 M/s ops over time/CAS with backoff, 2 domains: 52.54 M/s ops over time/CAS with backoff, 4 domains: 21.13 M/s ops over time/CAS with backoff, 8 domains: 6.21 M/s ops over time/Incr, 1 domains: 61.03 M/s ops over time/Incr, 2 domains: 108.43 M/s ops over time/Incr, 4 domains: 19.08 M/s ops over time/Incr, 8 domains: 7.35 M/s time per op/CAS, 1 domains: 25.10 ns time per op/CAS, 2 domains: 42.91 ns time per op/CAS, 4 domains: 343.09 ns time per op/CAS, 8 domains: 1980.05 ns time per op/CAS with backoff, 1 domains: 18.53 ns time per op/CAS with backoff, 2 domains: 38.07 ns time per op/CAS with backoff, 4 domains: 189.27 ns time per op/CAS with backoff, 8 domains: 1288.54 ns time per op/Incr, 1 domains: 16.39 ns time per op/Incr, 2 domains: 18.45 ns time per op/Incr, 4 domains: 209.69 ns time per op/Incr, 8 domains: 1088.91 ns Bounded_q: messages over time/1 adder, 1 taker: 4.08 M/s messages over time/1 adder, 2 takers: 2.74 M/s messages over time/1 adder, 4 takers: 1.74 M/s messages over time/2 adders, 1 taker: 4.58 M/s messages over time/2 adders, 2 takers: 3.02 M/s messages over time/2 adders, 4 takers: 2.62 M/s messages over time/4 adders, 1 taker: 2.89 M/s messages over time/4 adders, 2 takers: 2.32 M/s messages over time/4 adders, 4 takers: 1.45 M/s messages over time/one domain: 3.88 M/s time per message/1 adder, 1 taker: 490.59 ns time per message/1 adder, 2 takers: 1095.65 ns time per message/1 adder, 4 takers: 2866.92 ns time per message/2 adders, 1 taker: 654.72 ns time per message/2 adders, 2 takers: 1324.65 ns time per message/2 adders, 4 takers: 2286.22 ns time per message/4 adders, 1 taker: 1727.37 ns time per message/4 adders, 2 takers: 2586.35 ns time per message/4 adders, 4 takers: 5516.77 ns time per message/one domain: 257.70 ns Hashtbl: operations over time/1 worker, 10% reads: 6.92 M/s operations over time/1 worker, 50% reads: 5.87 M/s operations over time/1 worker, 90% reads: 7.80 M/s operations over time/2 workers, 10% reads: 5.91 M/s operations over time/2 workers, 50% reads: 6.48 M/s operations over time/2 workers, 90% reads: 6.11 M/s operations over time/4 workers, 10% reads: 4.22 M/s operations over time/4 workers, 50% reads: 3.59 M/s operations over time/4 workers, 90% reads: 3.86 M/s operations over time/8 workers, 10% reads: 2.61 M/s operations over time/8 workers, 50% reads: 2.75 M/s operations over time/8 workers, 90% reads: 3.29 M/s operations over time/one domain, 10% reads: 5.50 M/s operations over time/one domain, 50% reads: 8.11 M/s operations over time/one domain, 90% reads: 7.33 M/s time per operation/1 worker, 10% reads: 144.57 ns time per operation/1 worker, 50% reads: 170.39 ns time per operation/1 worker, 90% reads: 128.19 ns time per operation/2 workers, 10% reads: 338.34 ns time per operation/2 workers, 50% reads: 308.82 ns time per operation/2 workers, 90% reads: 327.57 ns time per operation/4 workers, 10% reads: 948.19 ns time per operation/4 workers, 50% reads: 1113.84 ns time per operation/4 workers, 90% reads: 1035.03 ns time per operation/8 workers, 10% reads: 3067.14 ns time per operation/8 workers, 50% reads: 2913.93 ns time per operation/8 workers, 90% reads: 2431.17 ns time per operation/one domain, 10% reads: 181.85 ns time per operation/one domain, 50% reads: 123.28 ns time per operation/one domain, 90% reads: 136.36 ns Queue: messages over time/one domain: 16.64 M/s time per message/one domain: 60.10 ns Ref with Mutex: ops over time/cas int: 13.12 M/s ops over time/get: 16.79 M/s ops over time/incr: 17.84 M/s ops over time/push & pop: 9.63 M/s ops over time/swap: 15.75 M/s ops over time/xchg int: 14.80 M/s time per op/cas int: 76.23 ns time per op/get: 59.57 ns time per op/incr: 56.06 ns time per op/push & pop: 103.85 ns time per op/swap: 63.49 ns time per op/xchg int: 67.57 ns Ref with [@poll error]: ops over time/cas int: 122.85 M/s ops over time/get: 1279.70 M/s ops over time/incr: 374.85 M/s ops over time/push & pop: 8.64 M/s ops over time/swap: 28.52 M/s ops over time/xchg int: 128.07 M/s time per op/cas int: 8.14 ns time per op/get: 0.78 ns time per op/incr: 2.67 ns time per op/push & pop: 115.68 ns time per op/swap: 35.06 ns time per op/xchg int: 7.81 ns Stack: messages over time/one domain: 17.42 M/s time per message/one domain: 57.40 ns Unix: blocking reads over time/1 worker: 0.67 M/s blocking reads over time/2 workers: 1.54 M/s blocking reads over time/4 workers: 1.31 M/s time per blocking read/1 worker: 1492.75 ns time per blocking read/2 workers: 1301.64 ns time per blocking read/4 workers: 3054.78 ns 2025-10-09 20:56.48 ---> saved as "3c96aa38f04e16ed13cb6f5e8042fbec23d619035e075765d6bf8f71d2f22d5a" Job succeeded 2025-10-09 20:56.48: Job succeeded