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-4.14_ppc64_opam-2.2) Base: ocaml/opam:debian-12-ocaml-4.14@sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88 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-4.14@sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88 # debian-12-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-4.14@sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88-debian-12-4.14_ppc64_opam-2.2-dcdd0efa524ce59ea02dc55b2f39c117" 2024-09-11 13:30.32: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.14@sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88) (comment debian-12-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.16: 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-4.14@sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88) Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88' locally docker.io/ocaml/opam@sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88: Pulling from ocaml/opam Digest: sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88 Status: Downloaded newer image for ocaml/opam@sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88 2024-09-11 14:28.47 ---> using "a02ea727028062210aff22981ff1a5c690c993af6974f1d675dc4da1200db18e" from cache /: (comment debian-12-4.14_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.47 ---> using "bcb449a6021353e6b763a990c063c8cc7520e312abb2668592cfae82cb72cc4c" 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.47 ---> using "02f5eb5997357c15d8ed0bd1dd8a120e26b2940f1dd1c407d6825993e20ba676" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 6.8.0-41-generic The OCaml toplevel, version 4.14.2 2.2.1 2024-09-11 14:28.47 ---> using "f3c7e80f59cbb67bc615cfb0094f1326d2656a34e9752d3f8ff09db3f012ae73" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2024-09-11 14:28.47 ---> using "396da395fafa8088ef0bb6756b1aff7230ad1a8b5c366e926b7ef7f023982546" 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.47 ---> using "644d760e2c50802d9a79f2d8aeb9033e8d8eb2003d9255095d30054b06a40f3c" from cache /src: (copy (src multicore-bench.opam) (dst ./)) 2024-09-11 14:29.32 ---> saved as "689fa88e9605786e75a1f3fd591d82d975fa927bda024abb275e459175f404a2" /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:29.38 ---> saved as "6365367c56c42af103310c9ef7a0e7823dcb4145714c226c2df7b32b6a0fc9e5" /src: (env DEPS "astring.0.8.5 backoff.0.1.0 base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 6s (1610 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 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 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-bigarray is already installed (current version is base). 2024-09-11 14:31.47 ---> saved as "9f55494b56d78ec3fa2273ec27c11a4afaed15d4d2bf768338ffff8ddbc0f226" /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 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-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 re.1.12.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved dune.3.16.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 ocamlbuild.0.15.0 -> installed ocamlfind.1.9.6 -> installed topkg.1.0.7 -> installed dune.3.16.0 -> installed domain_shims.0.1.0 -> installed csexp.1.5.2 -> installed ocaml-version.3.6.8 -> installed thread-table.1.0.0 -> installed mtime.2.1.0 -> installed result.1.5 -> installed camlp-streams.5.0.1 -> installed backoff.0.1.0 -> installed multicore-magic.2.3.0 -> installed fmt.0.9.0 -> installed domain-local-await.1.0.1 -> installed astring.0.8.5 -> installed cppo.1.7.0 -> installed re.1.12.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:33.36 ---> saved as "d04e58b601d4972cad3fe3de2134b0c83f1dde0c388c45c7a0f9b50883d6a3c4" /src: (copy (src .) (dst /src)) 2024-09-11 14:33.58 ---> saved as "4e32a0629665b33084dc9fd045c6b9447dc8aac4ec8b6c461c2dd727d1d93f2e" /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.22 M/s time per op/incr: 6.30 ns ops over time/incr: 158.71 M/s time per op/push & pop: 17.19 ns ops over time/push & pop: 58.17 M/s time per op/cas int: 10.32 ns ops over time/cas int: 96.93 M/s time per op/xchg int: 9.71 ns ops over time/xchg int: 103.01 M/s time per op/swap: 17.27 ns ops over time/swap: 57.92 M/s Atomic incr: time per op/CAS, 1 domains: 7.61 ns ops over time/CAS, 1 domains: 131.43 M/s time per op/CAS with backoff, 1 domains: 7.61 ns ops over time/CAS with backoff, 1 domains: 131.48 M/s time per op/Incr, 1 domains: 4.93 ns ops over time/Incr, 1 domains: 202.92 M/s Bounded_q: time per message/one domain: 132.56 ns messages over time/one domain: 7.54 M/s Hashtbl: time per operation/one domain, 10% reads: 61.25 ns operations over time/one domain, 10% reads: 16.33 M/s time per operation/one domain, 50% reads: 60.29 ns operations over time/one domain, 50% reads: 16.59 M/s time per operation/one domain, 90% reads: 45.45 ns operations over time/one domain, 90% reads: 22.00 M/s time per operation/1 worker, 10% reads: 98.92 ns operations over time/1 worker, 10% reads: 10.11 M/s time per operation/2 workers, 10% reads: 201.31 ns operations over time/2 workers, 10% reads: 9.93 M/s time per operation/4 workers, 10% reads: 416.57 ns operations over time/4 workers, 10% reads: 9.60 M/s time per operation/8 workers, 10% reads: 1158.94 ns operations over time/8 workers, 10% reads: 6.90 M/s time per operation/1 worker, 50% reads: 91.17 ns operations over time/1 worker, 50% reads: 10.97 M/s time per operation/2 workers, 50% reads: 179.27 ns operations over time/2 workers, 50% reads: 11.16 M/s time per operation/4 workers, 50% reads: 676.99 ns operations over time/4 workers, 50% reads: 5.91 M/s time per operation/8 workers, 50% reads: 951.84 ns operations over time/8 workers, 50% reads: 8.40 M/s time per operation/1 worker, 90% reads: 78.15 ns operations over time/1 worker, 90% reads: 12.80 M/s time per operation/2 workers, 90% reads: 167.38 ns operations over time/2 workers, 90% reads: 11.95 M/s time per operation/4 workers, 90% reads: 330.70 ns operations over time/4 workers, 90% reads: 12.10 M/s time per operation/8 workers, 90% reads: 787.43 ns operations over time/8 workers, 90% reads: 10.16 M/s Queue: time per message/one domain: 37.91 ns messages over time/one domain: 26.38 M/s Ref with Mutex: time per op/get: 61.39 ns ops over time/get: 16.29 M/s time per op/incr: 61.03 ns ops over time/incr: 16.38 M/s time per op/push & pop: 63.06 ns ops over time/push & pop: 15.86 M/s time per op/cas int: 64.56 ns ops over time/cas int: 15.49 M/s time per op/xchg int: 63.76 ns ops over time/xchg int: 15.68 M/s time per op/swap: 67.31 ns ops over time/swap: 14.86 M/s Ref with [@poll error]: time per op/get: 2.39 ns ops over time/get: 418.33 M/s time per op/incr: 4.34 ns ops over time/incr: 230.48 M/s time per op/push & pop: 15.54 ns ops over time/push & pop: 64.37 M/s time per op/cas int: 9.71 ns ops over time/cas int: 102.97 M/s time per op/xchg int: 7.90 ns ops over time/xchg int: 126.65 M/s time per op/swap: 17.91 ns ops over time/swap: 55.85 M/s Stack: time per message/one domain: 32.69 ns messages over time/one domain: 30.59 M/s Unix: time per blocking read/1 worker: 3035.62 ns blocking reads over time/1 worker: 0.33 M/s 2024-09-11 14:34.36 ---> saved as "c530f9324797aa669a13068159fbd5cfe8126fc2fe9c622eeb7f0f71775b3a60" Job succeeded 2024-09-11 14:34.40: Job succeeded