2025-06-17 18:29.27: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (efb15d8562dbdc1ba976ffc574de028e3c11c123) (linux-x86_64:opensuse-15.6-4.14_opam-2.3) Base: ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:426f09cee108ecfbe56ad2cb6ab397290a5bb96f4d171d7c223958bd200ba514 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:opensuse-15.6-ocaml-4.14@sha256:426f09cee108ecfbe56ad2cb6ab397290a5bb96f4d171d7c223958bd200ba514 # opensuse-15.6-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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:29.27: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:426f09cee108ecfbe56ad2cb6ab397290a5bb96f4d171d7c223958bd200ba514-opensuse-15.6-4.14_opam-2.3-5e4c8ffe3a82688c609d0a76996fa04b" 2025-06-17 18:29.27: Using OBuilder spec: ((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:426f09cee108ecfbe56ad2cb6ab397290a5bb96f4d171d7c223958bd200ba514) (comment opensuse-15.6-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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:29.27: Waiting for resource in pool OCluster 2025-06-17 20:58.38: Waiting for worker… 2025-06-17 21:02.00: Got resource from pool OCluster Building on asteria.caelum.ci.dev All commits already cached HEAD is now at efb15d8 Inline `Atomic` and `Ref` ops and unroll (from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:426f09cee108ecfbe56ad2cb6ab397290a5bb96f4d171d7c223958bd200ba514) 2025-06-17 21:02.01 ---> using "4a6fdc936af901a9f89c53eac736863712182b22bf00eb1f2f91749b3b4fb635" from cache /: (comment opensuse-15.6-4.14_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 21:02.01 ---> using "4c300f703eb6b72998a7a749b253aa4744f7f99c794840231dd85d48efe7ca70" 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 21:02.01 ---> using "5027001e609d3036b16bc554af07cf799a1d5ff69beb9bbf7fbc4d01a80ef8bd" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-134-generic The OCaml toplevel, version 4.14.2 2.3.0 2025-06-17 21:02.01 ---> using "6c9720425dc8efa9ac96fe70e7855459125f210e0162dc8427c6ce1df9975a74" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-06-17 21:02.01 ---> using "9cf2c360dcb9a5dca580f7a61e2ee5775f8408ce7fe0237ece8ea229231f4c30" 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 21:02.01 ---> using "93a69ee437f6a3aec65461c23d5003b7d4f55840c2338cb19510a70206a84349" from cache /src: (copy (src multicore-bench.opam) (dst ./)) 2025-06-17 21:02.01 ---> saved as "cef6a19ee7699ce3b377b4a1532764490c227880f305e122300843f9d2fd1ea1" /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 21:02.10 ---> saved as "8de1ea4540d4bd768cfeec9a0a3eb5f12b79ca1fe21fc7137872d9fac4ef6949" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-06-17 21:02.10 ---> saved as "529193aa282517b0b1e0457a41d57505b35444fc8ad239495fa0666e034c4d3d" /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.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 "zypper" "--non-interactive" "refresh" - Retrieving repository 'Update repository of openSUSE Backports' metadata [. - .........done] - Building repository 'Update repository of openSUSE Backports' cache [.. - ..done] - Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [......... - ......... - ......... - .......... - .......... - ......... - .......... - ......... - ......... - ......... - .......... - .......... - ......... - .......... - .......... - ......... - .......... - ......... - .......... - .......... - .......... - .......... - ......... - ........ - ......... - ......... - .......... - ........ - .......... - .......... - .......... - .......... - ......... - .......... - .......... - .......... - ......... - ......... - .......... - .......... - .......... - .......... - ......... - .......... - .......... - .......... - ......... - .......... - .......... - .......... - .......... - ......... - .......... - .......... - ......done] - Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [.. - ..done] - Repository 'Main Update Repository' is up to date. - Repository 'Update Repository (Non-Oss)' is up to date. - Repository 'Non-OSS Repository' is up to date. - Repository 'Main Repository' is up to date. - All repositories have been refreshed. <><> 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). 2025-06-17 21:03.34 ---> saved as "9ca6405d8c0b0199e0b6ecfbba2c814ceae448c4d5aa8e83efdfc0eb24d5d9a2" /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 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 mdx.2.5.0 (cached) -> retrieved multicore-magic.2.3.1 (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 topkg.1.0.8 (cached) -> retrieved yojson.3.0.0 (cached) -> retrieved dune.3.19.1 (cached) -> installed cmdliner.1.3.0 -> installed ocamlbuild.0.16.1 -> installed ocamlfind.1.9.8 -> 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 result.1.5 -> installed camlp-streams.5.0.1 -> installed backoff.0.1.1 -> installed ocaml-version.4.0.1 -> installed thread-table.1.0.0 -> installed multicore-magic.2.3.1 -> installed domain-local-await.1.0.1 -> installed re.1.12.0 -> installed cppo.1.8.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 21:04.10 ---> saved as "26b5b9c3c069f94c4ff7a0b8597a60fd05f4e81bc9a39996848e7fe9005337c1" /src: (copy (src .) (dst /src)) 2025-06-17 21:04.11 ---> saved as "32b7cf47cd80f275fff8b71aad632f7e489716465005d3d80683659f669f896b" /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: 265.32 M/s ops over time/get: 2613.97 M/s ops over time/incr: 268.56 M/s ops over time/push & pop: 97.59 M/s ops over time/swap: 144.76 M/s ops over time/xchg int: 284.11 M/s time per op/cas int: 3.77 ns time per op/get: 0.38 ns time per op/incr: 3.72 ns time per op/push & pop: 10.25 ns time per op/swap: 6.91 ns time per op/xchg int: 3.52 ns Atomic incr: ops over time/CAS, 1 domains: 193.05 M/s ops over time/CAS with backoff, 1 domains: 173.15 M/s ops over time/Incr, 1 domains: 232.45 M/s time per op/CAS, 1 domains: 5.18 ns time per op/CAS with backoff, 1 domains: 5.78 ns time per op/Incr, 1 domains: 4.30 ns Bounded_q: messages over time/one domain: 13.69 M/s time per message/one domain: 73.06 ns Hashtbl: operations over time/1 worker, 10% reads: 14.99 M/s operations over time/1 worker, 50% reads: 14.65 M/s operations over time/1 worker, 90% reads: 18.20 M/s operations over time/2 workers, 10% reads: 14.78 M/s operations over time/2 workers, 50% reads: 14.62 M/s operations over time/2 workers, 90% reads: 18.17 M/s operations over time/4 workers, 10% reads: 14.57 M/s operations over time/4 workers, 50% reads: 14.47 M/s operations over time/4 workers, 90% reads: 18.05 M/s operations over time/8 workers, 10% reads: 13.87 M/s operations over time/8 workers, 50% reads: 14.05 M/s operations over time/8 workers, 90% reads: 16.55 M/s operations over time/one domain, 10% reads: 22.88 M/s operations over time/one domain, 50% reads: 22.40 M/s operations over time/one domain, 90% reads: 28.77 M/s time per operation/1 worker, 10% reads: 66.73 ns time per operation/1 worker, 50% reads: 68.26 ns time per operation/1 worker, 90% reads: 54.96 ns time per operation/2 workers, 10% reads: 135.27 ns time per operation/2 workers, 50% reads: 136.82 ns time per operation/2 workers, 90% reads: 110.10 ns time per operation/4 workers, 10% reads: 274.46 ns time per operation/4 workers, 50% reads: 276.44 ns time per operation/4 workers, 90% reads: 221.61 ns time per operation/8 workers, 10% reads: 576.75 ns time per operation/8 workers, 50% reads: 569.40 ns time per operation/8 workers, 90% reads: 483.40 ns time per operation/one domain, 10% reads: 43.70 ns time per operation/one domain, 50% reads: 44.65 ns time per operation/one domain, 90% reads: 34.76 ns Queue: messages over time/one domain: 42.29 M/s time per message/one domain: 23.65 ns Ref with Mutex: ops over time/cas int: 51.92 M/s ops over time/get: 58.06 M/s ops over time/incr: 57.95 M/s ops over time/push & pop: 50.44 M/s ops over time/swap: 51.41 M/s ops over time/xchg int: 48.72 M/s time per op/cas int: 19.26 ns time per op/get: 17.22 ns time per op/incr: 17.26 ns time per op/push & pop: 19.82 ns time per op/swap: 19.45 ns time per op/xchg int: 20.52 ns Ref with [@poll error]: ops over time/cas int: 275.75 M/s ops over time/get: 2574.07 M/s ops over time/incr: 287.66 M/s ops over time/push & pop: 96.42 M/s ops over time/swap: 131.39 M/s ops over time/xchg int: 260.28 M/s time per op/cas int: 3.63 ns time per op/get: 0.39 ns time per op/incr: 3.48 ns time per op/push & pop: 10.37 ns time per op/swap: 7.61 ns time per op/xchg int: 3.84 ns Stack: messages over time/one domain: 45.12 M/s time per message/one domain: 22.16 ns Unix: blocking reads over time/1 worker: 0.51 M/s time per blocking read/1 worker: 1958.79 ns 2025-06-17 21:04.15 ---> saved as "94f25d1ac3494e24faf8a19b3eb92df09c1187a69890bcf2b3c92e1786ddbb8c" Job succeeded 2025-06-17 21:04.15: Job succeeded