2025-01-21 15:55.17: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/ignore-results-from-ops-on-ref-bench (fcbc847459c7b0a57aed81d20eeda373202e0c2c) (linux-x86_64:debian-12-4.12_opam-2.3) Base: ocaml/opam:debian-12-ocaml-4.12@sha256:49fb8acea8e6f12a373593632df64eeef5d1843dca61e0f72a4a6670a5c6f8d4 Opam project build To reproduce locally: git clone --recursive "https://github.com/ocaml-multicore/multicore-bench.git" -b "ignore-results-from-ops-on-ref-bench" && cd "multicore-bench" && git reset --hard fcbc8474 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-4.12@sha256:49fb8acea8e6f12a373593632df64eeef5d1843dca61e0f72a4a6670a5c6f8d4 # debian-12-4.12_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 da383c8610c72e3b8a92e6327148910d1d81cd57 || git fetch origin master) && git reset -q --hard da383c8610c72e3b8a92e6327148910d1d81cd57 && 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.17.1 fmt.0.9.0 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.6 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.7 yojson.2.2.2" 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-01-21 15:55.17: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-4.12@sha256:49fb8acea8e6f12a373593632df64eeef5d1843dca61e0f72a4a6670a5c6f8d4-debian-12-4.12_opam-2.3-6d6e0c99914069bb3422f923cccee540" 2025-01-21 15:55.17: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.12@sha256:49fb8acea8e6f12a373593632df64eeef5d1843dca61e0f72a4a6670a5c6f8d4) (comment debian-12-4.12_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 da383c8610c72e3b8a92e6327148910d1d81cd57 || git fetch origin master) && git reset -q --hard da383c8610c72e3b8a92e6327148910d1d81cd57 && 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.17.1 fmt.0.9.0 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.6 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.7 yojson.2.2.2") (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-01-21 15:55.17: Waiting for resource in pool OCluster 2025-01-21 15:55.17: Waiting for worker… 2025-01-21 15:55.26: Got resource from pool OCluster Building on x86-bm-c2.sw.ocaml.org HEAD is now at 276f98e Ignore results from ops on `ref` benchmarks HEAD is now at fcbc847 Ignore results from ops on `ref` benchmarks (from ocaml/opam:debian-12-ocaml-4.12@sha256:49fb8acea8e6f12a373593632df64eeef5d1843dca61e0f72a4a6670a5c6f8d4) 2025-01-21 15:55.27 ---> using "338e905ca2020cedb5b4db5680b96fac6cfa1ba8b91e8460051222ea2cb1abbd" from cache /: (comment debian-12-4.12_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-01-21 15:55.27 ---> using "932b873768fad24991d2c8a49b748121dd6db05b44978d9813e5a9dc79a036bd" 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] synchronised from file:///home/opam/opam-repository 2025-01-21 15:55.27 ---> using "b77544a1bccf07f6188000c980a88c4c7683e1b1a60686f7fdc57dfaf8576e7b" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-130-generic The OCaml toplevel, version 4.12.1 2.3.0 2025-01-21 15:55.27 ---> using "e17a5bb9dd5e93d0d53671af21e88e44c9f952e938a7104e6129e0cbdf527998" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-01-21 15:55.27 ---> using "1887ad6218fa7c15028ce84fe94005036a079129154b131c0cd8edad5b08cc6b" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e da383c8610c72e3b8a92e6327148910d1d81cd57 || git fetch origin master) && git reset -q --hard da383c8610c72e3b8a92e6327148910d1d81cd57 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 3e681a81f6..b41fc63234 master -> origin/master da383c8610 Merge pull request #27275 from xavierleroy/maintenance-intent <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from 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-01-21 15:55.27 ---> using "c835ca556e818cf90c81ce0e28e2f54ce3ed281078d7f406b12a1c67cef40ca6" from cache /src: (copy (src multicore-bench.opam) (dst ./)) 2025-01-21 15:55.27 ---> using "419772759b5df1329c2e75f127e6b379119dc7efc8fdaea230e733c7b447ecc0" from cache /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-01-21 15:55.27 ---> using "bc2774f34f222ddfb539bff960e7af7f03f85677c188a97cd77552afe6eb33f0" from cache /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-01-21 15:55.27 ---> using "d20a2c2e67f4c3b1a7e017d7a343d8c670bbaa1ad257a29458880fec8184220b" from cache /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.17.1 fmt.0.9.0 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.6 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.7 yojson.2.2.2") /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 [241 kB] - Fetched 344 kB in 0s (1262 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.12.1). [NOTE] Package ocaml is already installed (current version is 4.12.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-bigarray is already installed (current version is base). 2025-01-21 15:55.27 ---> using "71835fbdd1aacfe9ac66c39d0df98cb0d25cac429700cd2e63fe76352e3a324a" from cache /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.12.1). [NOTE] Package ocaml is already installed (current version is 4.12.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-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.17.1 - install fmt 0.9.0 - install logs 0.7.0 - install mdx 2.5.0 - install mtime 2.1.0 - install multicore-magic 2.3.1 - install ocaml-version 3.7.3 - install ocamlbuild 0.15.0 - install ocamlfind 1.9.6 - install re 1.12.0 - install result 1.5 - install seq base - install thread-table 1.0.0 - install topkg 1.0.7 - install yojson 2.2.2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved backoff.0.1.1 (cached) -> retrieved camlp-streams.5.0.1 (cached) -> retrieved astring.0.8.5 (cached) -> retrieved cppo.1.8.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved domain-local-await.1.0.1 (cached) -> retrieved domain_shims.0.1.0 (cached) -> retrieved fmt.0.9.0 (cached) -> retrieved logs.0.7.0 (cached) -> retrieved mtime.2.1.0 (cached) -> retrieved mdx.2.5.0 (cached) -> retrieved multicore-magic.2.3.1 (cached) -> retrieved ocaml-version.3.7.3 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved ocamlfind.1.9.6 (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.7 (cached) -> retrieved yojson.2.2.2 (cached) -> retrieved dune.3.17.1 (cached) -> installed cmdliner.1.3.0 -> installed ocamlbuild.0.15.0 -> installed ocamlfind.1.9.6 -> installed topkg.1.0.7 -> installed mtime.2.1.0 -> installed fmt.0.9.0 -> installed astring.0.8.5 -> installed logs.0.7.0 -> installed dune.3.17.1 -> installed domain_shims.0.1.0 -> installed csexp.1.5.2 -> installed thread-table.1.0.0 -> installed result.1.5 -> installed ocaml-version.3.7.3 -> installed camlp-streams.5.0.1 -> installed multicore-magic.2.3.1 -> installed backoff.0.1.1 -> installed domain-local-await.1.0.1 -> installed cppo.1.8.0 -> installed re.1.12.0 -> installed yojson.2.2.2 -> installed mdx.2.5.0 Done. # To update the current shell environment, run: eval $(opam env) 2025-01-21 15:55.27 ---> using "73e5981cc83284f28b37820da07fe26bb779c3c5efd9ca249c153e3505035a9a" from cache /src: (copy (src .) (dst /src)) 2025-01-21 15:55.27 ---> saved as "796589e0f5f8b015671485d6e57edd37088b5edf95a7205430c9e6ba204ac717" /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: 77.27 M/s ops over time/get: 253.06 M/s ops over time/incr: 118.24 M/s ops over time/push & pop: 28.84 M/s ops over time/swap: 46.33 M/s ops over time/xchg int: 77.30 M/s time per op/cas int: 12.94 ns time per op/get: 3.95 ns time per op/incr: 8.46 ns time per op/push & pop: 34.68 ns time per op/swap: 21.58 ns time per op/xchg int: 12.94 ns Atomic incr: ops over time/CAS, 1 domains: 86.73 M/s ops over time/CAS with backoff, 1 domains: 81.44 M/s ops over time/Incr, 1 domains: 93.59 M/s time per op/CAS, 1 domains: 11.53 ns time per op/CAS with backoff, 1 domains: 12.28 ns time per op/Incr, 1 domains: 10.69 ns Bounded_q: messages over time/one domain: 8.45 M/s time per message/one domain: 118.38 ns Hashtbl: operations over time/1 worker, 10% reads: 3.91 M/s operations over time/1 worker, 50% reads: 9.47 M/s operations over time/1 worker, 90% reads: 5.79 M/s operations over time/2 workers, 10% reads: 3.89 M/s operations over time/2 workers, 50% reads: 9.42 M/s operations over time/2 workers, 90% reads: 9.48 M/s operations over time/4 workers, 10% reads: 8.95 M/s operations over time/4 workers, 50% reads: 9.08 M/s operations over time/4 workers, 90% reads: 8.43 M/s operations over time/8 workers, 10% reads: 9.10 M/s operations over time/8 workers, 50% reads: 8.17 M/s operations over time/8 workers, 90% reads: 9.37 M/s operations over time/one domain, 10% reads: 14.59 M/s operations over time/one domain, 50% reads: 14.63 M/s operations over time/one domain, 90% reads: 15.49 M/s time per operation/1 worker, 10% reads: 256.01 ns time per operation/1 worker, 50% reads: 105.64 ns time per operation/1 worker, 90% reads: 172.69 ns time per operation/2 workers, 10% reads: 513.86 ns time per operation/2 workers, 50% reads: 212.40 ns time per operation/2 workers, 90% reads: 210.88 ns time per operation/4 workers, 10% reads: 447.27 ns time per operation/4 workers, 50% reads: 440.38 ns time per operation/4 workers, 90% reads: 474.54 ns time per operation/8 workers, 10% reads: 878.91 ns time per operation/8 workers, 50% reads: 978.93 ns time per operation/8 workers, 90% reads: 853.48 ns time per operation/one domain, 10% reads: 68.54 ns time per operation/one domain, 50% reads: 68.37 ns time per operation/one domain, 90% reads: 64.55 ns Queue: messages over time/one domain: 37.10 M/s time per message/one domain: 26.95 ns Ref with Mutex: ops over time/cas int: 8.69 M/s ops over time/get: 22.10 M/s ops over time/incr: 22.37 M/s ops over time/push & pop: 20.62 M/s ops over time/swap: 10.11 M/s ops over time/xchg int: 10.25 M/s time per op/cas int: 115.05 ns time per op/get: 45.25 ns time per op/incr: 44.70 ns time per op/push & pop: 48.51 ns time per op/swap: 98.95 ns time per op/xchg int: 97.60 ns Ref with [@poll error]: ops over time/cas int: 91.52 M/s ops over time/get: 250.12 M/s ops over time/incr: 125.56 M/s ops over time/push & pop: 31.67 M/s ops over time/swap: 52.13 M/s ops over time/xchg int: 67.42 M/s time per op/cas int: 10.93 ns time per op/get: 4.00 ns time per op/incr: 7.96 ns time per op/push & pop: 31.57 ns time per op/swap: 19.18 ns time per op/xchg int: 14.83 ns Stack: messages over time/one domain: 42.38 M/s time per message/one domain: 23.60 ns Unix: blocking reads over time/1 worker: 0.17 M/s time per blocking read/1 worker: 5904.27 ns 2025-01-21 15:55.35 ---> saved as "4bfe6f1a5de0d558cef0c64996a2dbfd127b231284674bab9c0b6b6372416412" Job succeeded 2025-01-21 15:55.35: Job succeeded