2025-06-17 18:27.24: 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.1_opam-2.3) Base: ocaml/opam:debian-12-ocaml-5.1@sha256:6f222b619eee423bd9fb6ae43592023cf8de324d5956e9c85035a255c36ae485 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.1@sha256:6f222b619eee423bd9fb6ae43592023cf8de324d5956e9c85035a255c36ae485 # debian-12-5.1_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.1.1 ocaml-base-compiler.5.1.1 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.24: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-5.1@sha256:6f222b619eee423bd9fb6ae43592023cf8de324d5956e9c85035a255c36ae485-debian-12-5.1_opam-2.3-ca27005b5b748567aedc5e744f104e14" 2025-06-17 18:27.24: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.1@sha256:6f222b619eee423bd9fb6ae43592023cf8de324d5956e9c85035a255c36ae485) (comment debian-12-5.1_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.1.1 ocaml-base-compiler.5.1.1 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.24: Waiting for resource in pool OCluster 2025-06-17 19:20.34: Waiting for worker… 2025-06-17 19:23.48: Got resource from pool OCluster Building on toxis.caelum.ci.dev All commits already cached HEAD is now at efb15d8 Inline `Atomic` and `Ref` ops and unroll (from ocaml/opam:debian-12-ocaml-5.1@sha256:6f222b619eee423bd9fb6ae43592023cf8de324d5956e9c85035a255c36ae485) 2025-06-17 19:23.48 ---> using "85693fa191b6218285aa46bde412ba835ac3fae6e3e7fdbec4031237b26be312" from cache /: (comment debian-12-5.1_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:23.48 ---> using "d639307d383362d5d05ec3a5b8a91865ed5b3cd05d9180dca5c7af95fee50b6a" 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. Continue? [y/n] y 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. Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-06-17 19:23.48 ---> using "4a2461d909add7c50ed2f753a5342227a1e913b13af3638d493a41c986d2a399" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-134-generic The OCaml toplevel, version 5.1.1 2.3.0 2025-06-17 19:23.48 ---> using "507e5444b2c40e29513933ff440e5019c70c260447dfca298c883dae981e6116" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-06-17 19:23.48 ---> using "64dd966174142605618c40327617d98defc6cd99448d55545adca74be7bc7c61" 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:23.48 ---> using "10de21eb33864473cfea813fcbaab32b52da8d4d2f6cf27e9f6f046a343c37ba" from cache /src: (copy (src multicore-bench.opam) (dst ./)) 2025-06-17 19:23.49 ---> saved as "bd9a3cd154587b7e735b17e84f44592b5c8ee07d2e25241f76cba4d50eda34d4" /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:23.51 ---> saved as "4a620ded9bbc96065fa247ab6b824565c103e2642f149b8b20777ca10a297b6d" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-06-17 19:23.52 ---> saved as "f85d542950beeaaae57f8f1f4b48fad308320af5af30a0acf93fb19cf8f1be39" /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.1.1 ocaml-base-compiler.5.1.1 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 (450 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.1.1). [NOTE] Package ocaml is already installed (current version is 5.1.1). [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:24.22 ---> saved as "9cd6c928e1b3761696123437d8b4b4168966147dd6b9abe545a4603d537dc67b" /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.1.1). [NOTE] Package ocaml is already installed (current version is 5.1.1). [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 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.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 ocamlbuild.0.16.1 (cached) -> retrieved ocamlfind.1.9.8 (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 topkg.1.0.8 (cached) -> retrieved yojson.3.0.0 (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 csexp.1.5.2 -> installed backoff.0.1.1 -> installed ocaml-version.4.0.1 -> installed result.1.5 -> installed multicore-magic.2.3.1 -> installed thread-table.1.0.0 -> installed camlp-streams.5.0.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:26.01 ---> saved as "a4b67968b6ef10d77677d844c940be442d635aff097fab8ac25b7a36fb38d587" /src: (copy (src .) (dst /src)) 2025-06-17 19:26.02 ---> saved as "fdf92141d063cdc8a9d20827fc7f74df707b5c300b4e0e8809e013d7ff2a86cf" /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: 63.17 M/s ops over time/get: 1364.22 M/s ops over time/incr: 92.63 M/s ops over time/push & pop: 18.65 M/s ops over time/swap: 36.89 M/s ops over time/xchg int: 70.45 M/s time per op/cas int: 15.83 ns time per op/get: 0.73 ns time per op/incr: 10.80 ns time per op/push & pop: 53.63 ns time per op/swap: 27.11 ns time per op/xchg int: 14.19 ns Atomic incr: ops over time/CAS, 1 domains: 54.52 M/s ops over time/CAS, 2 domains: 17.78 M/s ops over time/CAS, 4 domains: 8.49 M/s ops over time/CAS, 8 domains: 7.51 M/s ops over time/CAS with backoff, 1 domains: 53.09 M/s ops over time/CAS with backoff, 2 domains: 44.86 M/s ops over time/CAS with backoff, 4 domains: 39.77 M/s ops over time/CAS with backoff, 8 domains: 11.81 M/s ops over time/Incr, 1 domains: 78.32 M/s ops over time/Incr, 2 domains: 47.75 M/s ops over time/Incr, 4 domains: 43.40 M/s ops over time/Incr, 8 domains: 11.08 M/s time per op/CAS, 1 domains: 18.34 ns time per op/CAS, 2 domains: 112.50 ns time per op/CAS, 4 domains: 471.40 ns time per op/CAS, 8 domains: 1065.67 ns time per op/CAS with backoff, 1 domains: 18.84 ns time per op/CAS with backoff, 2 domains: 44.58 ns time per op/CAS with backoff, 4 domains: 100.57 ns time per op/CAS with backoff, 8 domains: 677.40 ns time per op/Incr, 1 domains: 12.77 ns time per op/Incr, 2 domains: 41.89 ns time per op/Incr, 4 domains: 92.16 ns time per op/Incr, 8 domains: 722.33 ns Bounded_q: messages over time/1 adder, 1 taker: 4.09 M/s messages over time/1 adder, 2 takers: 2.33 M/s messages over time/1 adder, 4 takers: 1.71 M/s messages over time/2 adders, 1 taker: 3.04 M/s messages over time/2 adders, 2 takers: 3.23 M/s messages over time/2 adders, 4 takers: 1.96 M/s messages over time/4 adders, 1 taker: 3.05 M/s messages over time/4 adders, 2 takers: 1.69 M/s messages over time/4 adders, 4 takers: 1.73 M/s messages over time/one domain: 3.86 M/s time per message/1 adder, 1 taker: 488.73 ns time per message/1 adder, 2 takers: 1288.72 ns time per message/1 adder, 4 takers: 2921.37 ns time per message/2 adders, 1 taker: 986.27 ns time per message/2 adders, 2 takers: 1237.69 ns time per message/2 adders, 4 takers: 3061.34 ns time per message/4 adders, 1 taker: 1641.10 ns time per message/4 adders, 2 takers: 3545.35 ns time per message/4 adders, 4 takers: 4626.76 ns time per message/one domain: 259.34 ns Hashtbl: operations over time/1 worker, 10% reads: 4.92 M/s operations over time/1 worker, 50% reads: 4.96 M/s operations over time/1 worker, 90% reads: 5.57 M/s operations over time/2 workers, 10% reads: 3.61 M/s operations over time/2 workers, 50% reads: 4.20 M/s operations over time/2 workers, 90% reads: 3.65 M/s operations over time/4 workers, 10% reads: 2.88 M/s operations over time/4 workers, 50% reads: 2.76 M/s operations over time/4 workers, 90% reads: 2.94 M/s operations over time/8 workers, 10% reads: 2.48 M/s operations over time/8 workers, 50% reads: 2.53 M/s operations over time/8 workers, 90% reads: 2.89 M/s operations over time/one domain, 10% reads: 8.73 M/s operations over time/one domain, 50% reads: 9.93 M/s operations over time/one domain, 90% reads: 11.62 M/s time per operation/1 worker, 10% reads: 203.10 ns time per operation/1 worker, 50% reads: 201.75 ns time per operation/1 worker, 90% reads: 179.50 ns time per operation/2 workers, 10% reads: 553.89 ns time per operation/2 workers, 50% reads: 475.72 ns time per operation/2 workers, 90% reads: 547.69 ns time per operation/4 workers, 10% reads: 1387.83 ns time per operation/4 workers, 50% reads: 1449.93 ns time per operation/4 workers, 90% reads: 1358.27 ns time per operation/8 workers, 10% reads: 3221.14 ns time per operation/8 workers, 50% reads: 3160.72 ns time per operation/8 workers, 90% reads: 2769.36 ns time per operation/one domain, 10% reads: 114.57 ns time per operation/one domain, 50% reads: 100.70 ns time per operation/one domain, 90% reads: 86.09 ns Queue: messages over time/one domain: 19.69 M/s time per message/one domain: 50.80 ns Ref with Mutex: ops over time/cas int: 10.25 M/s ops over time/get: 11.48 M/s ops over time/incr: 10.81 M/s ops over time/push & pop: 9.22 M/s ops over time/swap: 10.03 M/s ops over time/xchg int: 10.49 M/s time per op/cas int: 97.52 ns time per op/get: 87.07 ns time per op/incr: 92.47 ns time per op/push & pop: 108.45 ns time per op/swap: 99.74 ns time per op/xchg int: 95.33 ns Ref with [@poll error]: ops over time/cas int: 103.91 M/s ops over time/get: 1370.90 M/s ops over time/incr: 225.84 M/s ops over time/push & pop: 16.31 M/s ops over time/swap: 54.01 M/s ops over time/xchg int: 107.13 M/s time per op/cas int: 9.62 ns time per op/get: 0.73 ns time per op/incr: 4.43 ns time per op/push & pop: 61.31 ns time per op/swap: 18.52 ns time per op/xchg int: 9.33 ns Stack: messages over time/one domain: 22.78 M/s time per message/one domain: 43.90 ns Unix: blocking reads over time/1 worker: 0.75 M/s blocking reads over time/2 workers: 1.16 M/s blocking reads over time/4 workers: 2.34 M/s time per blocking read/1 worker: 1326.99 ns time per blocking read/2 workers: 1730.59 ns time per blocking read/4 workers: 1709.45 ns 2025-06-17 19:26.50 ---> saved as "1974904926ed7c1c757f67d614ea27c6af10d5a9dfbcc2d8916a5119ed21d186" Job succeeded 2025-06-17 19:26.50: Job succeeded