2025-06-17 18:27.40: 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.0_opam-2.3) Base: ocaml/opam:debian-12-ocaml-5.0@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26 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.0@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26 # debian-12-5.0_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-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.0.0 ocaml-base-compiler.5.0.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-17 18:27.40: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-5.0@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26-debian-12-5.0_opam-2.3-143f9d8627c21a308a0ae26d98525967" 2025-06-17 18:27.40: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.0@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26) (comment debian-12-5.0_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-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.0.0 ocaml-base-compiler.5.0.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-17 18:27.40: Waiting for resource in pool OCluster 2025-06-17 19:38.12: Waiting for worker… 2025-06-17 19:41.38: Got resource from pool OCluster Building on laodoke.caelum.ci.dev hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name> Initialised empty Git repository in /var/cache/obuilder/ocluster/git/multicore-bench.git-b64f3a44a0cd11cb5d9a386b4ded860bff164371/.git/ HEAD is now at efb15d8 Inline `Atomic` and `Ref` ops and unroll (from ocaml/opam:debian-12-ocaml-5.0@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26) Unable to find image 'ocaml/opam:debian-12-ocaml-5.0@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26' locally docker.io/ocaml/opam@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26: Pulling from ocaml/opam 60e8d85fc071: Pulling fs layer 60e8d85fc071: Verifying Checksum 60e8d85fc071: Download complete 60e8d85fc071: Pull complete Digest: sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26 Status: Downloaded newer image for ocaml/opam@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26 2025-06-17 19:41.40 ---> using "0574be2b5f3d411c6dde4c3fe7fb3c60cbbbbd8366295956282a1f5ac27d3bc7" from cache /: (comment debian-12-5.0_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-17 19:41.40 ---> using "4dcb262a111627bac8cff9bbf15f1d8de07f56526f6c1222bf2c37c9a5dff858" 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-17 19:41.40 ---> using "c2e8505994c1fabcb658c4393226b2d1b0d43368764ffe36f30fc278c6b176c6" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-141-generic The OCaml toplevel, version 5.0.0 2.3.0 2025-06-17 19:41.40 ---> using "1344f4e6f61116b54b32a2f97c7eabee4769136dbd20a4b2cdf8089569a13672" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-06-17 19:41.40 ---> using "9be69f54a21488b739345d3816777248269fd66f8e06d9c9ad04f19dfa23e448" 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")) 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-17 19:41.40 ---> using "af3f25f38ec1bd506a6274abb6cd079971f75af1bdc3bbe892881b03d5e1eb6b" from cache /src: (copy (src multicore-bench.opam) (dst ./)) 2025-06-17 19:41.40 ---> saved as "42c38cc1d6fae4d5222bc04ead0c9f86f4a60bc0520159e358cbfbcaa0d96353" /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-17 19:41.43 ---> saved as "894b00470599358ff06448e510f9b320f59c6606e5019f30fce374a8626e94a0" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-06-17 19:41.44 ---> saved as "e35504b157b3045bce8ac881ef44c21de86439a8a344bfa84fe3f2d5a39b4499" /src: (env DEPS "astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.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.0.0 ocaml-base-compiler.5.0.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-security bookworm-security/main amd64 Packages [263 kB] - Fetched 366 kB in 1s (384 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-base-compiler is already installed (current version is 5.0.0). [NOTE] Package ocaml is already installed (current version is 5.0.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-domains is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). 2025-06-17 19:42.12 ---> saved as "04b378920ea677681bf7ae282b60aa69c6919cd9a0a2911dfa6e3961a7ca3dc2" /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-base-compiler is already installed (current version is 5.0.0). [NOTE] Package ocaml is already installed (current version is 5.0.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-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 camlp-streams.5.0.1 (cached) -> retrieved backoff.0.1.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 multicore-magic.2.3.1 (cached) -> retrieved mdx.2.5.0 (cached) -> retrieved ocaml-version.4.0.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved ocamlbuild.0.16.1 (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 yojson.3.0.0 (cached) -> retrieved topkg.1.0.8 (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 backoff.0.1.1 -> installed result.1.5 -> installed csexp.1.5.2 -> installed thread-table.1.0.0 -> installed ocaml-version.4.0.1 -> 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.12.0 -> installed yojson.3.0.0 -> installed mdx.2.5.0 Done. # To update the current shell environment, run: eval $(opam env) 2025-06-17 19:43.36 ---> saved as "376591c887b424d9f6a47d5740af1824af3245264f92b4c048c9b52c9fd1513a" /src: (copy (src .) (dst /src)) 2025-06-17 19:43.36 ---> saved as "19430ca66926b97c09edf53e47e08345b9e609e838d86c661f71efd49f6d50d6" /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: 64.28 M/s ops over time/get: 1314.23 M/s ops over time/incr: 92.73 M/s ops over time/push & pop: 21.29 M/s ops over time/swap: 36.11 M/s ops over time/xchg int: 72.79 M/s time per op/cas int: 15.56 ns time per op/get: 0.76 ns time per op/incr: 10.78 ns time per op/push & pop: 46.98 ns time per op/swap: 27.69 ns time per op/xchg int: 13.74 ns Atomic incr: ops over time/CAS, 1 domains: 54.72 M/s ops over time/CAS, 2 domains: 12.70 M/s ops over time/CAS, 4 domains: 10.05 M/s ops over time/CAS, 8 domains: 7.49 M/s ops over time/CAS with backoff, 1 domains: 50.65 M/s ops over time/CAS with backoff, 2 domains: 44.96 M/s ops over time/CAS with backoff, 4 domains: 44.89 M/s ops over time/CAS with backoff, 8 domains: 31.94 M/s ops over time/Incr, 1 domains: 81.34 M/s ops over time/Incr, 2 domains: 40.44 M/s ops over time/Incr, 4 domains: 41.52 M/s ops over time/Incr, 8 domains: 40.52 M/s time per op/CAS, 1 domains: 18.28 ns time per op/CAS, 2 domains: 157.45 ns time per op/CAS, 4 domains: 397.99 ns time per op/CAS, 8 domains: 1068.47 ns time per op/CAS with backoff, 1 domains: 19.74 ns time per op/CAS with backoff, 2 domains: 44.49 ns time per op/CAS with backoff, 4 domains: 89.10 ns time per op/CAS with backoff, 8 domains: 250.46 ns time per op/Incr, 1 domains: 12.29 ns time per op/Incr, 2 domains: 49.45 ns time per op/Incr, 4 domains: 96.35 ns time per op/Incr, 8 domains: 197.45 ns Bounded_q: messages over time/1 adder, 1 taker: 2.69 M/s messages over time/1 adder, 2 takers: 2.11 M/s messages over time/1 adder, 4 takers: 1.61 M/s messages over time/2 adders, 1 taker: 2.50 M/s messages over time/2 adders, 2 takers: 1.61 M/s messages over time/2 adders, 4 takers: 1.29 M/s messages over time/4 adders, 1 taker: 2.57 M/s messages over time/4 adders, 2 takers: 1.15 M/s messages over time/4 adders, 4 takers: 0.90 M/s messages over time/one domain: 3.86 M/s time per message/1 adder, 1 taker: 742.21 ns time per message/1 adder, 2 takers: 1421.71 ns time per message/1 adder, 4 takers: 3102.15 ns time per message/2 adders, 1 taker: 1201.71 ns time per message/2 adders, 2 takers: 2479.72 ns time per message/2 adders, 4 takers: 4656.36 ns time per message/4 adders, 1 taker: 1946.70 ns time per message/4 adders, 2 takers: 5220.43 ns time per message/4 adders, 4 takers: 8893.57 ns time per message/one domain: 258.82 ns Hashtbl: operations over time/1 worker, 10% reads: 4.77 M/s operations over time/1 worker, 50% reads: 5.42 M/s operations over time/1 worker, 90% reads: 5.44 M/s operations over time/2 workers, 10% reads: 2.06 M/s operations over time/2 workers, 50% reads: 2.34 M/s operations over time/2 workers, 90% reads: 2.63 M/s operations over time/4 workers, 10% reads: 2.29 M/s operations over time/4 workers, 50% reads: 2.63 M/s operations over time/4 workers, 90% reads: 2.91 M/s operations over time/8 workers, 10% reads: 1.89 M/s operations over time/8 workers, 50% reads: 1.29 M/s operations over time/8 workers, 90% reads: 2.49 M/s operations over time/one domain, 10% reads: 9.61 M/s operations over time/one domain, 50% reads: 9.96 M/s operations over time/one domain, 90% reads: 11.61 M/s time per operation/1 worker, 10% reads: 209.64 ns time per operation/1 worker, 50% reads: 184.38 ns time per operation/1 worker, 90% reads: 183.94 ns time per operation/2 workers, 10% reads: 972.44 ns time per operation/2 workers, 50% reads: 856.20 ns time per operation/2 workers, 90% reads: 759.16 ns time per operation/4 workers, 10% reads: 1744.43 ns time per operation/4 workers, 50% reads: 1519.40 ns time per operation/4 workers, 90% reads: 1375.41 ns time per operation/8 workers, 10% reads: 4221.90 ns time per operation/8 workers, 50% reads: 6204.46 ns time per operation/8 workers, 90% reads: 3209.37 ns time per operation/one domain, 10% reads: 104.04 ns time per operation/one domain, 50% reads: 100.41 ns time per operation/one domain, 90% reads: 86.10 ns Queue: messages over time/one domain: 19.09 M/s time per message/one domain: 52.39 ns Ref with Mutex: ops over time/cas int: 10.32 M/s ops over time/get: 10.90 M/s ops over time/incr: 11.11 M/s ops over time/push & pop: 9.25 M/s ops over time/swap: 9.69 M/s ops over time/xchg int: 9.84 M/s time per op/cas int: 96.86 ns time per op/get: 91.73 ns time per op/incr: 90.02 ns time per op/push & pop: 108.15 ns time per op/swap: 103.20 ns time per op/xchg int: 101.62 ns Ref with [@poll error]: ops over time/cas int: 113.90 M/s ops over time/get: 1296.54 M/s ops over time/incr: 227.30 M/s ops over time/push & pop: 27.55 M/s ops over time/swap: 48.28 M/s ops over time/xchg int: 108.40 M/s time per op/cas int: 8.78 ns time per op/get: 0.77 ns time per op/incr: 4.40 ns time per op/push & pop: 36.29 ns time per op/swap: 20.71 ns time per op/xchg int: 9.23 ns Stack: messages over time/one domain: 21.29 M/s time per message/one domain: 46.98 ns Unix: blocking reads over time/1 worker: 0.96 M/s blocking reads over time/2 workers: 1.30 M/s blocking reads over time/4 workers: 3.03 M/s time per blocking read/1 worker: 1041.75 ns time per blocking read/2 workers: 1535.34 ns time per blocking read/4 workers: 1320.32 ns 2025-06-17 19:44.01 ---> saved as "1ab2133b55534817c18e702a663455d65bf610802b90e5ac067b202da7b12624" Job succeeded 2025-06-17 19:44.01: Job succeeded