2024-09-11 13:30.32: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (298c5d1e24da82a9640825ef4a68b9aef88daaca) (linux-ppc64:debian-12-5.2_ppc64_opam-2.2) Base: ocaml/opam:debian-12-ocaml-5.2@sha256:3ba450d1a6546df5120a8588031462991dfebfff50f0773e92827e3843d6c41f 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 298c5d1e cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-5.2@sha256:3ba450d1a6546df5120a8588031462991dfebfff50f0773e92827e3843d6c41f # debian-12-5.2_ppc64_opam-2.2 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.2 /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 0329818dcfd3de1a722ea09eeeed94cd24caa375 || git fetch origin master) && git reset -q --hard 0329818dcfd3de1a722ea09eeeed94cd24caa375 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 multicore-bench.opam ./ RUN opam pin add -yn multicore-bench.dev './' ENV DEPS="astring.0.8.5 backoff.0.1.0 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.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-ppc64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.3.6.8 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.2 --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 2024-09-11 13:30.32: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-5.2@sha256:3ba450d1a6546df5120a8588031462991dfebfff50f0773e92827e3843d6c41f-debian-12-5.2_ppc64_opam-2.2-fbad1adcc2abd00bc980f17528446214" 2024-09-11 13:30.32: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.2@sha256:3ba450d1a6546df5120a8588031462991dfebfff50f0773e92827e3843d6c41f) (comment debian-12-5.2_ppc64_opam-2.2) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.2 /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 0329818dcfd3de1a722ea09eeeed94cd24caa375 || git fetch origin master) && git reset -q --hard 0329818dcfd3de1a722ea09eeeed94cd24caa375 && 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 './'")) (env DEPS "astring.0.8.5 backoff.0.1.0 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.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-ppc64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.3.6.8 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.2 --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")) ) 2024-09-11 13:30.32: Waiting for resource in pool OCluster 2024-09-11 13:30.32: Waiting for worker… 2024-09-11 13:47.08: Got resource from pool OCluster Building on orithia.caelum.ci.dev All commits already cached HEAD is now at 298c5d1 Add a naïve bounded queue benchmark (from ocaml/opam:debian-12-ocaml-5.2@sha256:3ba450d1a6546df5120a8588031462991dfebfff50f0773e92827e3843d6c41f) Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:3ba450d1a6546df5120a8588031462991dfebfff50f0773e92827e3843d6c41f' locally docker.io/ocaml/opam@sha256:3ba450d1a6546df5120a8588031462991dfebfff50f0773e92827e3843d6c41f: Pulling from ocaml/opam Digest: sha256:3ba450d1a6546df5120a8588031462991dfebfff50f0773e92827e3843d6c41f Status: Downloaded newer image for ocaml/opam@sha256:3ba450d1a6546df5120a8588031462991dfebfff50f0773e92827e3843d6c41f 2024-09-11 14:28.15 ---> using "dd35b5d219e964f011e564d06b91818dea72c39a85dde4cd2f420834617ff902" from cache /: (comment debian-12-5.2_ppc64_opam-2.2) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam")) 2024-09-11 14:28.15 ---> using "ecb43e63acdb7b6bbe15eaf5d98758d697ae4983e64630f17aa8504542d55d12" 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 2024-09-11 14:28.15 ---> using "7226ad3c8277b0fb2a0da940d40d78732e997a48916809efdd220a5fe7d31671" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 6.8.0-41-generic The OCaml toplevel, version 5.2.0 2.2.1 2024-09-11 14:28.15 ---> using "ac56848f5746a6f1e59ae96ff30046539bed555c9c47b6d393320b592524b02f" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2024-09-11 14:28.15 ---> using "2d53027eab18df2c3c82ba57950972b777fa739049ecad3b8667f03793e4093c" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 0329818dcfd3de1a722ea09eeeed94cd24caa375 || git fetch origin master) && git reset -q --hard 0329818dcfd3de1a722ea09eeeed94cd24caa375 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD e89899ac28..0329818dcf master -> origin/master 0329818dcf Merge pull request #26527 from dbuenzli/b0-publish-mtime.2.1.0-etc-b00ab5a8b3cb608d <><> 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. # Run eval $(opam env) to update the current shell environment 2024-09-11 14:28.15 ---> using "51c369a32d91ae7409ef7c9bd65e2f8a322946a8d6edbf575d177dcf2fe22a44" from cache /src: (copy (src multicore-bench.opam) (dst ./)) 2024-09-11 14:28.27 ---> saved as "5b4bf10608b9f4cb7fdf1d59502d2275ad01061d9f553f143ed881762cdaa9d1" /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) 2024-09-11 14:28.42 ---> saved as "31e917482db583744bd8da61c0eb6bacbc9486e48b5ad19b0161915f3c4c951c" /src: (env DEPS "astring.0.8.5 backoff.0.1.0 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.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-ppc64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.3.6.8 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.2 --depext-only -y multicore-bench.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] - 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 bookworm/main ppc64el Packages [8625 kB] - Get:5 http://deb.debian.org/debian bookworm-updates/main ppc64el Packages.diff/Index [11.7 kB] - Get:6 http://deb.debian.org/debian-security bookworm-security/main ppc64el Packages [172 kB] - Get:7 http://deb.debian.org/debian bookworm-updates/main ppc64el Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1113 B] - Get:7 http://deb.debian.org/debian bookworm-updates/main ppc64el Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1113 B] - Fetched 9064 kB in 2s (3650 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [multicore-bench.dev] synchronised (no changes) [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.2.0). [NOTE] Package ocaml is already installed (current version is 5.2.0). [NOTE] Package host-system-other is already installed (current version is 1). [NOTE] Package host-arch-ppc64 is already installed (current version is 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). 2024-09-11 14:29.43 ---> saved as "19c0668d7e7a91bd65d60017d3023daa20963cdef3af43e88c6a92b9e8e57f5d" /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.2.0). [NOTE] Package ocaml is already installed (current version is 5.2.0). [NOTE] Package host-system-other is already installed (current version is 1). [NOTE] Package host-arch-ppc64 is already installed (current version is 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.0 - install camlp-streams 5.0.1 - install cmdliner 1.3.0 - install cppo 1.7.0 - install csexp 1.5.2 - install domain-local-await 1.0.1 - install domain_shims 0.1.0 - install dune 3.16.0 - install fmt 0.9.0 - install logs 0.7.0 - install mdx 2.4.1 - install mtime 2.1.0 - install multicore-magic 2.3.0 - install ocaml-version 3.6.8 - 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.0 (cached) -> retrieved astring.0.8.5 (cached) -> retrieved camlp-streams.5.0.1 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved cppo.1.7.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.4.1 (cached) -> retrieved multicore-magic.2.3.0 (cached) -> retrieved ocaml-version.3.6.8 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved ocamlfind.1.9.6 (cached) -> retrieved dune.3.16.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved re.1.12.0 (cached) -> retrieved result.1.5 (cached) -> retrieved thread-table.1.0.0 (cached) -> retrieved topkg.1.0.7 (cached) -> retrieved yojson.2.2.2 (cached) -> installed cmdliner.1.3.0 -> installed ocamlfind.1.9.6 -> installed ocamlbuild.0.15.0 -> installed topkg.1.0.7 -> installed dune.3.16.0 -> installed domain_shims.0.1.0 -> installed backoff.0.1.0 -> installed csexp.1.5.2 -> installed result.1.5 -> installed thread-table.1.0.0 -> installed ocaml-version.3.6.8 -> installed camlp-streams.5.0.1 -> installed multicore-magic.2.3.0 -> installed mtime.2.1.0 -> installed fmt.0.9.0 -> installed domain-local-await.1.0.1 -> installed re.1.12.0 -> installed astring.0.8.5 -> installed cppo.1.7.0 -> installed yojson.2.2.2 -> installed logs.0.7.0 -> installed mdx.2.4.1 Done. # Run eval $(opam env) to update the current shell environment 2024-09-11 14:32.22 ---> saved as "8240be0d66bb90ddbab241191008f15c35ee9a565136ab2867e4094083577c4d" /src: (copy (src .) (dst /src)) 2024-09-11 14:32.38 ---> saved as "dd267c7592700aba45091f68f7fd6406a5d866720e1f2755f13328407e2e30b9" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default/bench && ./main.exe -brief) Atomic: time per op/get: 2.71 ns ops over time/get: 369.05 M/s time per op/incr: 52.68 ns ops over time/incr: 18.98 M/s time per op/push & pop: 100.60 ns ops over time/push & pop: 9.94 M/s time per op/cas int: 54.76 ns ops over time/cas int: 18.26 M/s time per op/xchg int: 58.79 ns ops over time/xchg int: 17.01 M/s time per op/swap: 86.54 ns ops over time/swap: 11.56 M/s Atomic incr: time per op/CAS, 1 domains: 68.99 ns ops over time/CAS, 1 domains: 14.50 M/s time per op/CAS, 2 domains: 295.11 ns ops over time/CAS, 2 domains: 6.78 M/s time per op/CAS, 4 domains: 645.25 ns ops over time/CAS, 4 domains: 6.20 M/s time per op/CAS, 8 domains: 1582.93 ns ops over time/CAS, 8 domains: 5.05 M/s time per op/CAS with backoff, 1 domains: 100.73 ns ops over time/CAS with backoff, 1 domains: 9.93 M/s time per op/CAS with backoff, 2 domains: 320.15 ns ops over time/CAS with backoff, 2 domains: 6.25 M/s time per op/CAS with backoff, 4 domains: 1052.53 ns ops over time/CAS with backoff, 4 domains: 3.80 M/s time per op/CAS with backoff, 8 domains: 2361.98 ns ops over time/CAS with backoff, 8 domains: 3.39 M/s time per op/Incr, 1 domains: 49.07 ns ops over time/Incr, 1 domains: 20.38 M/s time per op/Incr, 2 domains: 114.08 ns ops over time/Incr, 2 domains: 17.53 M/s time per op/Incr, 4 domains: 198.40 ns ops over time/Incr, 4 domains: 20.16 M/s time per op/Incr, 8 domains: 329.91 ns ops over time/Incr, 8 domains: 24.25 M/s Bounded_q: time per message/one domain: 181.10 ns messages over time/one domain: 5.52 M/s time per message/1 adder, 1 taker: 1023.19 ns messages over time/1 adder, 1 taker: 1.95 M/s time per message/1 adder, 2 takers: 1806.48 ns messages over time/1 adder, 2 takers: 1.66 M/s time per message/1 adder, 4 takers: 7494.85 ns messages over time/1 adder, 4 takers: 0.67 M/s time per message/2 adders, 1 taker: 1641.66 ns messages over time/2 adders, 1 taker: 1.83 M/s time per message/2 adders, 2 takers: 2965.82 ns messages over time/2 adders, 2 takers: 1.35 M/s time per message/2 adders, 4 takers: 9229.67 ns messages over time/2 adders, 4 takers: 0.65 M/s time per message/4 adders, 1 taker: 3436.85 ns messages over time/4 adders, 1 taker: 1.45 M/s time per message/4 adders, 2 takers: 6088.43 ns messages over time/4 adders, 2 takers: 0.99 M/s time per message/4 adders, 4 takers: 8877.51 ns messages over time/4 adders, 4 takers: 0.90 M/s Hashtbl: time per operation/one domain, 10% reads: 49.66 ns operations over time/one domain, 10% reads: 20.14 M/s time per operation/one domain, 50% reads: 49.43 ns operations over time/one domain, 50% reads: 20.23 M/s time per operation/one domain, 90% reads: 39.85 ns operations over time/one domain, 90% reads: 25.09 M/s time per operation/1 worker, 10% reads: 100.03 ns operations over time/1 worker, 10% reads: 10.00 M/s time per operation/2 workers, 10% reads: 473.93 ns operations over time/2 workers, 10% reads: 4.22 M/s time per operation/4 workers, 10% reads: 2031.95 ns operations over time/4 workers, 10% reads: 1.97 M/s time per operation/8 workers, 10% reads: 6218.76 ns operations over time/8 workers, 10% reads: 1.29 M/s time per operation/1 worker, 50% reads: 190.58 ns operations over time/1 worker, 50% reads: 5.25 M/s time per operation/2 workers, 50% reads: 437.11 ns operations over time/2 workers, 50% reads: 4.58 M/s time per operation/4 workers, 50% reads: 1891.75 ns operations over time/4 workers, 50% reads: 2.11 M/s time per operation/8 workers, 50% reads: 5509.99 ns operations over time/8 workers, 50% reads: 1.45 M/s time per operation/1 worker, 90% reads: 75.32 ns operations over time/1 worker, 90% reads: 13.28 M/s time per operation/2 workers, 90% reads: 529.78 ns operations over time/2 workers, 90% reads: 3.78 M/s time per operation/4 workers, 90% reads: 1426.30 ns operations over time/4 workers, 90% reads: 2.80 M/s time per operation/8 workers, 90% reads: 3995.87 ns operations over time/8 workers, 90% reads: 2.00 M/s Queue: time per message/one domain: 62.30 ns messages over time/one domain: 16.05 M/s Ref with Mutex: time per op/get: 56.10 ns ops over time/get: 17.82 M/s time per op/incr: 64.51 ns ops over time/incr: 15.50 M/s time per op/push & pop: 83.11 ns ops over time/push & pop: 12.03 M/s time per op/cas int: 72.75 ns ops over time/cas int: 13.75 M/s time per op/xchg int: 72.68 ns ops over time/xchg int: 13.76 M/s time per op/swap: 70.68 ns ops over time/swap: 14.15 M/s Ref with [@poll error]: time per op/get: 2.68 ns ops over time/get: 373.31 M/s time per op/incr: 9.07 ns ops over time/incr: 110.19 M/s time per op/push & pop: 25.26 ns ops over time/push & pop: 39.60 M/s time per op/cas int: 19.88 ns ops over time/cas int: 50.30 M/s time per op/xchg int: 19.26 ns ops over time/xchg int: 51.92 M/s time per op/swap: 20.53 ns ops over time/swap: 48.71 M/s Stack: time per message/one domain: 41.02 ns messages over time/one domain: 24.38 M/s Unix: time per blocking read/1 worker: 1313.62 ns blocking reads over time/1 worker: 0.76 M/s time per blocking read/2 workers: 1448.37 ns blocking reads over time/2 workers: 1.38 M/s time per blocking read/4 workers: 1178.70 ns blocking reads over time/4 workers: 3.39 M/s 2024-09-11 14:33.15 ---> saved as "f0cfeb430501aed9f014dc20e9f37e980f24faefa321d9787f2b4d2e464c97d4" Job succeeded 2024-09-11 14:33.15: Job succeeded