2025-02-09 13:23.18: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (deca5287e35206850ec28880adae0705730115e9) (linux-x86_64:debian-11-5.3_opam-2.3) Base: ocaml/opam:debian-11-ocaml-5.3@sha256:edc3e573eb2461d710f64b0818a2274a068e6be37a6eb17197b9838fefd58e03 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 deca5287 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-11-ocaml-5.3@sha256:edc3e573eb2461d710f64b0818a2274a068e6be37a6eb17197b9838fefd58e03 # debian-11-5.3_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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.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.2 fmt.0.9.0 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.8 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-02-09 13:23.18: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-11-ocaml-5.3@sha256:edc3e573eb2461d710f64b0818a2274a068e6be37a6eb17197b9838fefd58e03-debian-11-5.3_opam-2.3-bbdea2f49ee045baf858fda2a2111a8d" 2025-02-09 13:23.18: Using OBuilder spec: ((from ocaml/opam:debian-11-ocaml-5.3@sha256:edc3e573eb2461d710f64b0818a2274a068e6be37a6eb17197b9838fefd58e03) (comment debian-11-5.3_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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.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.2 fmt.0.9.0 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.8 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-02-09 13:23.18: Waiting for resource in pool OCluster 2025-02-09 14:52.23: Waiting for worker… 2025-02-09 14:54.28: Got resource from pool OCluster Building on x86-bm-c8.sw.ocaml.org All commits already cached HEAD is now at deca528 Ignore results from ops on `ref` benchmarks (from ocaml/opam:debian-11-ocaml-5.3@sha256:edc3e573eb2461d710f64b0818a2274a068e6be37a6eb17197b9838fefd58e03) Unable to find image 'ocaml/opam:debian-11-ocaml-5.3@sha256:edc3e573eb2461d710f64b0818a2274a068e6be37a6eb17197b9838fefd58e03' locally docker.io/ocaml/opam@sha256:edc3e573eb2461d710f64b0818a2274a068e6be37a6eb17197b9838fefd58e03: Pulling from ocaml/opam 0409b1ed3689: Pulling fs layer 0409b1ed3689: Verifying Checksum 0409b1ed3689: Download complete 0409b1ed3689: Pull complete Digest: sha256:edc3e573eb2461d710f64b0818a2274a068e6be37a6eb17197b9838fefd58e03 Status: Downloaded newer image for ocaml/opam@sha256:edc3e573eb2461d710f64b0818a2274a068e6be37a6eb17197b9838fefd58e03 2025-02-09 14:54.28 ---> using "880d56ff9a1824462225d127d0f7eb381ba25992daddcd5e44af10240830597a" from cache /: (comment debian-11-5.3_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-02-09 14:54.28 ---> using "ddfd3f3c568ca0cda5f3ad5597ae079eb339bc92a775495cc905d865b2d973ee" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><> [ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com" [default] synchronised from file:///home/opam/opam-repository 2025-02-09 14:54.28 ---> using "96f71999101aa264c1311c33908189a48c1403b3681dd6610510491719a81e3d" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-130-generic The OCaml toplevel, version 5.3.0 2.3.0 2025-02-09 14:54.28 ---> using "d1cc2ed34dd7c08e9c3eceda215a0fef227a230d8e42142e9d208c78e9e3b81c" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-02-09 14:54.28 ---> using "491548da697729cbb35caf5d029a83dce253b7ca27e85923f1379aaef16b7a08" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u")) 3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive [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-02-09 14:54.28 ---> using "9d7f882d5e8bb89a40b842c114be1f97e17bfb6498d40f3a6279830ef4afe973" from cache /src: (copy (src multicore-bench.opam) (dst ./)) 2025-02-09 14:54.29 ---> saved as "c6a8b3d4b52cae77b109d0dbe9abf39543cfea5809f2388021a919a58912be5a" /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-02-09 14:54.31 ---> saved as "cad9e41010496cd97911d3782be7e7d3b56c5c35e5f7ce9bf25c779c2d0482f9" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-02-09 14:54.32 ---> saved as "ab7136232e27a0533874a276c2dd10e09545ce6b1991e944c24033b828544e98" /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.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.2 fmt.0.9.0 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.8 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 bullseye InRelease - Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB] - Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] - Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [344 kB] - Fetched 415 kB in 0s (1040 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.3.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0). [NOTE] Package ocaml is already installed (current version is 5.3.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-02-09 14:54.55 ---> saved as "ecac58965cc4a103fa4355bf1ab03d940ab61e87fa9c8ddbd045af4466a6d544" /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.3.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0). [NOTE] Package ocaml is already installed (current version is 5.3.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 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.2 - 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.8 - 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 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.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.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 yojson.2.2.2 (cached) -> retrieved topkg.1.0.7 (cached) -> retrieved dune.3.17.2 (cached) -> installed cmdliner.1.3.0 -> installed ocamlfind.1.9.8 -> installed ocamlbuild.0.15.0 -> 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.2 -> 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 multicore-magic.2.3.1 -> installed backoff.0.1.1 -> 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.2.2.2 -> installed mdx.2.5.0 Done. # To update the current shell environment, run: eval $(opam env) 2025-02-09 14:56.28 ---> saved as "2d4e26e9d98537e3bb5cb06f689d220bc4145d3f66eb3969234c8329a8c208c6" /src: (copy (src .) (dst /src)) 2025-02-09 14:56.28 ---> saved as "32156e2f09a9009d4f91990405c7ce7b095553058b72c200837595f7558d731f" /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.66 M/s ops over time/get: 337.41 M/s ops over time/incr: 91.95 M/s ops over time/push & pop: 15.74 M/s ops over time/swap: 38.85 M/s ops over time/xchg int: 66.28 M/s time per op/cas int: 15.46 ns time per op/get: 2.96 ns time per op/incr: 10.88 ns time per op/push & pop: 63.53 ns time per op/swap: 25.74 ns time per op/xchg int: 15.09 ns Atomic incr: ops over time/CAS, 1 domains: 49.12 M/s ops over time/CAS, 2 domains: 19.41 M/s ops over time/CAS, 4 domains: 7.83 M/s ops over time/CAS, 8 domains: 6.20 M/s ops over time/CAS with backoff, 1 domains: 53.59 M/s ops over time/CAS with backoff, 2 domains: 45.42 M/s ops over time/CAS with backoff, 4 domains: 12.55 M/s ops over time/CAS with backoff, 8 domains: 11.49 M/s ops over time/Incr, 1 domains: 81.35 M/s ops over time/Incr, 2 domains: 49.11 M/s ops over time/Incr, 4 domains: 42.74 M/s ops over time/Incr, 8 domains: 29.24 M/s time per op/CAS, 1 domains: 20.36 ns time per op/CAS, 2 domains: 103.04 ns time per op/CAS, 4 domains: 510.70 ns time per op/CAS, 8 domains: 1290.68 ns time per op/CAS with backoff, 1 domains: 18.66 ns time per op/CAS with backoff, 2 domains: 44.03 ns time per op/CAS with backoff, 4 domains: 318.83 ns time per op/CAS with backoff, 8 domains: 695.97 ns time per op/Incr, 1 domains: 12.29 ns time per op/Incr, 2 domains: 40.73 ns time per op/Incr, 4 domains: 93.58 ns time per op/Incr, 8 domains: 273.64 ns Bounded_q: messages over time/1 adder, 1 taker: 4.32 M/s messages over time/1 adder, 2 takers: 2.24 M/s messages over time/1 adder, 4 takers: 0.48 M/s messages over time/2 adders, 1 taker: 2.82 M/s messages over time/2 adders, 2 takers: 3.16 M/s messages over time/2 adders, 4 takers: 1.53 M/s messages over time/4 adders, 1 taker: 1.77 M/s messages over time/4 adders, 2 takers: 2.20 M/s messages over time/4 adders, 4 takers: 1.53 M/s messages over time/one domain: 4.08 M/s time per message/1 adder, 1 taker: 462.46 ns time per message/1 adder, 2 takers: 1338.85 ns time per message/1 adder, 4 takers: 10381.27 ns time per message/2 adders, 1 taker: 1064.07 ns time per message/2 adders, 2 takers: 1264.21 ns time per message/2 adders, 4 takers: 3914.12 ns time per message/4 adders, 1 taker: 2827.06 ns time per message/4 adders, 2 takers: 2729.87 ns time per message/4 adders, 4 takers: 5237.46 ns time per message/one domain: 245.24 ns Hashtbl: operations over time/1 worker, 10% reads: 7.90 M/s operations over time/1 worker, 50% reads: 8.91 M/s operations over time/1 worker, 90% reads: 6.44 M/s operations over time/2 workers, 10% reads: 2.65 M/s operations over time/2 workers, 50% reads: 2.81 M/s operations over time/2 workers, 90% reads: 3.45 M/s operations over time/4 workers, 10% reads: 2.85 M/s operations over time/4 workers, 50% reads: 4.12 M/s operations over time/4 workers, 90% reads: 3.34 M/s operations over time/8 workers, 10% reads: 2.38 M/s operations over time/8 workers, 50% reads: 2.45 M/s operations over time/8 workers, 90% reads: 2.31 M/s operations over time/one domain, 10% reads: 14.31 M/s operations over time/one domain, 50% reads: 17.44 M/s operations over time/one domain, 90% reads: 19.52 M/s time per operation/1 worker, 10% reads: 126.58 ns time per operation/1 worker, 50% reads: 112.19 ns time per operation/1 worker, 90% reads: 155.30 ns time per operation/2 workers, 10% reads: 755.98 ns time per operation/2 workers, 50% reads: 712.67 ns time per operation/2 workers, 90% reads: 579.43 ns time per operation/4 workers, 10% reads: 1401.89 ns time per operation/4 workers, 50% reads: 971.79 ns time per operation/4 workers, 90% reads: 1198.21 ns time per operation/8 workers, 10% reads: 3363.00 ns time per operation/8 workers, 50% reads: 3261.28 ns time per operation/8 workers, 90% reads: 3462.63 ns time per operation/one domain, 10% reads: 69.86 ns time per operation/one domain, 50% reads: 57.33 ns time per operation/one domain, 90% reads: 51.22 ns Queue: messages over time/one domain: 21.67 M/s time per message/one domain: 46.14 ns Ref with Mutex: ops over time/cas int: 15.25 M/s ops over time/get: 13.79 M/s ops over time/incr: 16.24 M/s ops over time/push & pop: 13.81 M/s ops over time/swap: 14.92 M/s ops over time/xchg int: 15.36 M/s time per op/cas int: 65.59 ns time per op/get: 72.54 ns time per op/incr: 61.56 ns time per op/push & pop: 72.39 ns time per op/swap: 67.02 ns time per op/xchg int: 65.11 ns Ref with [@poll error]: ops over time/cas int: 143.92 M/s ops over time/get: 352.75 M/s ops over time/incr: 210.32 M/s ops over time/push & pop: 40.76 M/s ops over time/swap: 67.32 M/s ops over time/xchg int: 138.49 M/s time per op/cas int: 6.95 ns time per op/get: 2.83 ns time per op/incr: 4.75 ns time per op/push & pop: 24.53 ns time per op/swap: 14.86 ns time per op/xchg int: 7.22 ns Stack: messages over time/one domain: 24.52 M/s time per message/one domain: 40.78 ns Unix: blocking reads over time/1 worker: 0.98 M/s blocking reads over time/2 workers: 2.04 M/s blocking reads over time/4 workers: 2.96 M/s time per blocking read/1 worker: 1016.12 ns time per blocking read/2 workers: 978.81 ns time per blocking read/4 workers: 1352.21 ns 2025-02-09 14:57.01 ---> saved as "aa16ed03c136749dfc830ddcbadf8a5fbc5188efe616442c2bd51dfd2ee10343" Job succeeded 2025-02-09 14:57.02: Job succeeded