2025-02-09 13:20.26: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (deca5287e35206850ec28880adae0705730115e9) (linux-x86_64:ubuntu-24.10-5.3_opam-2.3) Base: ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03 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:ubuntu-24.10-ocaml-5.3@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03 # ubuntu-24.10-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:20.26: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03-ubuntu-24.10-5.3_opam-2.3-bbdea2f49ee045baf858fda2a2111a8d" 2025-02-09 13:20.26: Using OBuilder spec: ((from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03) (comment ubuntu-24.10-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:20.26: Waiting for resource in pool OCluster 2025-02-09 13:42.21: Waiting for worker… 2025-02-09 13:47.22: Got resource from pool OCluster Building on x86-bm-c6.sw.ocaml.org All commits already cached HEAD is now at deca528 Ignore results from ops on `ref` benchmarks (from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03) Unable to find image 'ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03' locally docker.io/ocaml/opam@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03: Pulling from ocaml/opam 5caad8e61a34: Pulling fs layer 5caad8e61a34: Verifying Checksum 5caad8e61a34: Download complete 5caad8e61a34: Pull complete Digest: sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03 Status: Downloaded newer image for ocaml/opam@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03 2025-02-09 13:47.23 ---> using "2a35d0e220c6d2f8ee999fd3eb200a27836ebea0862fa317984b9d90fc798a23" from cache /: (comment ubuntu-24.10-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 13:47.23 ---> using "903d5e3d66e2f366d9341024f25a6f031affeccdbf08b787d79b062a052fb68e" 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-02-09 13:47.23 ---> using "5ccfee2ebf71fa33480ffd338efa16757a9a8d445dbc884fd611c5d08ec1ea94" 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 13:47.23 ---> using "6e4e0a85a237d05ed1aed90d3568d9e0f540059dd7857c3fd5f64ee12664b575" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-02-09 13:47.23 ---> using "595f40d70d476ba69215a2463eab823f4a89d7831735b3251efbf699d6001c0a" 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 ><><><><><><><><><><><><><><><><><><><><><><> [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 13:47.23 ---> using "bedb488aa9dc73cef4d0d8ebc2f1467af382a11281230ac4910d250f90a89c2e" from cache /src: (copy (src multicore-bench.opam) (dst ./)) 2025-02-09 13:47.23 ---> saved as "dd67d8e64cf60366f7c793a58462b40442d95b63885f6f6d9f10edf8291c5030" /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 13:47.25 ---> saved as "b6c9feb0a7524f8cfba4ba0e6bd27ddab0b3ca20ff41fa80cec26b165efe318f" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-02-09 13:47.25 ---> saved as "7c52c215f3d6a1e3de30a9669860a1263899e19800513e45f0a8809f4dddd9bf" /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://archive.ubuntu.com/ubuntu oracular InRelease - Get:2 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB] - Get:3 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB] - Get:4 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB] - Get:5 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [237 kB] - Get:6 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [203 kB] - Get:7 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [343 kB] - Fetched 1162 kB in 0s (3998 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 13:47.42 ---> saved as "c72dcf511769a2d91a98405191dd1cbc0a419352e089df0f634227866f1c9b93" /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 astring.0.8.5 (cached) -> retrieved camlp-streams.5.0.1 (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 backoff.0.1.1 -> installed result.1.5 -> installed ocaml-version.3.7.3 -> installed multicore-magic.2.3.1 -> installed camlp-streams.5.0.1 -> installed domain-local-await.1.0.1 -> installed re.1.12.0 -> installed cppo.1.8.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 13:48.42 ---> saved as "65ccded9a14953cce8c9a3bc4bea20f99606c04985fc0389b849d2fc5dcf5fdc" /src: (copy (src .) (dst /src)) 2025-02-09 13:48.42 ---> saved as "a2026d6bf43b6a6d717ee899897edfd17f9421aa51836a7d435e72b407af162c" /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: 71.22 M/s ops over time/get: 354.90 M/s ops over time/incr: 92.01 M/s ops over time/push & pop: 24.21 M/s ops over time/swap: 43.42 M/s ops over time/xchg int: 74.27 M/s time per op/cas int: 14.04 ns time per op/get: 2.82 ns time per op/incr: 10.87 ns time per op/push & pop: 41.31 ns time per op/swap: 23.03 ns time per op/xchg int: 13.47 ns Atomic incr: ops over time/CAS, 1 domains: 65.77 M/s ops over time/CAS, 2 domains: 15.11 M/s ops over time/CAS, 4 domains: 11.23 M/s ops over time/CAS, 8 domains: 7.26 M/s ops over time/CAS with backoff, 1 domains: 64.85 M/s ops over time/CAS with backoff, 2 domains: 63.98 M/s ops over time/CAS with backoff, 4 domains: 41.24 M/s ops over time/CAS with backoff, 8 domains: 10.47 M/s ops over time/Incr, 1 domains: 94.50 M/s ops over time/Incr, 2 domains: 51.25 M/s ops over time/Incr, 4 domains: 44.16 M/s ops over time/Incr, 8 domains: 11.78 M/s time per op/CAS, 1 domains: 15.20 ns time per op/CAS, 2 domains: 132.36 ns time per op/CAS, 4 domains: 356.10 ns time per op/CAS, 8 domains: 1101.53 ns time per op/CAS with backoff, 1 domains: 15.42 ns time per op/CAS with backoff, 2 domains: 31.26 ns time per op/CAS with backoff, 4 domains: 96.99 ns time per op/CAS with backoff, 8 domains: 763.91 ns time per op/Incr, 1 domains: 10.58 ns time per op/Incr, 2 domains: 39.03 ns time per op/Incr, 4 domains: 90.58 ns time per op/Incr, 8 domains: 679.39 ns Bounded_q: messages over time/1 adder, 1 taker: 4.20 M/s messages over time/1 adder, 2 takers: 2.28 M/s messages over time/1 adder, 4 takers: 1.76 M/s messages over time/2 adders, 1 taker: 4.05 M/s messages over time/2 adders, 2 takers: 4.22 M/s messages over time/2 adders, 4 takers: 1.04 M/s messages over time/4 adders, 1 taker: 3.29 M/s messages over time/4 adders, 2 takers: 2.58 M/s messages over time/4 adders, 4 takers: 1.81 M/s messages over time/one domain: 4.17 M/s time per message/1 adder, 1 taker: 475.68 ns time per message/1 adder, 2 takers: 1316.18 ns time per message/1 adder, 4 takers: 2845.24 ns time per message/2 adders, 1 taker: 741.58 ns time per message/2 adders, 2 takers: 948.19 ns time per message/2 adders, 4 takers: 5778.09 ns time per message/4 adders, 1 taker: 1520.98 ns time per message/4 adders, 2 takers: 2326.97 ns time per message/4 adders, 4 takers: 4419.94 ns time per message/one domain: 239.60 ns Hashtbl: operations over time/1 worker, 10% reads: 8.28 M/s operations over time/1 worker, 50% reads: 5.11 M/s operations over time/1 worker, 90% reads: 4.50 M/s operations over time/2 workers, 10% reads: 3.10 M/s operations over time/2 workers, 50% reads: 5.00 M/s operations over time/2 workers, 90% reads: 5.23 M/s operations over time/4 workers, 10% reads: 1.94 M/s operations over time/4 workers, 50% reads: 3.56 M/s operations over time/4 workers, 90% reads: 3.84 M/s operations over time/8 workers, 10% reads: 1.73 M/s operations over time/8 workers, 50% reads: 2.75 M/s operations over time/8 workers, 90% reads: 2.76 M/s operations over time/one domain, 10% reads: 4.17 M/s operations over time/one domain, 50% reads: 10.38 M/s operations over time/one domain, 90% reads: 12.58 M/s time per operation/1 worker, 10% reads: 120.71 ns time per operation/1 worker, 50% reads: 195.53 ns time per operation/1 worker, 90% reads: 222.18 ns time per operation/2 workers, 10% reads: 645.58 ns time per operation/2 workers, 50% reads: 400.21 ns time per operation/2 workers, 90% reads: 382.58 ns time per operation/4 workers, 10% reads: 2066.44 ns time per operation/4 workers, 50% reads: 1122.98 ns time per operation/4 workers, 90% reads: 1042.71 ns time per operation/8 workers, 10% reads: 4626.47 ns time per operation/8 workers, 50% reads: 2908.63 ns time per operation/8 workers, 90% reads: 2901.76 ns time per operation/one domain, 10% reads: 239.95 ns time per operation/one domain, 50% reads: 96.36 ns time per operation/one domain, 90% reads: 79.50 ns Queue: messages over time/one domain: 23.65 M/s time per message/one domain: 42.29 ns Ref with Mutex: ops over time/cas int: 15.60 M/s ops over time/get: 16.74 M/s ops over time/incr: 16.42 M/s ops over time/push & pop: 14.00 M/s ops over time/swap: 15.04 M/s ops over time/xchg int: 15.56 M/s time per op/cas int: 64.09 ns time per op/get: 59.75 ns time per op/incr: 60.91 ns time per op/push & pop: 71.43 ns time per op/swap: 66.51 ns time per op/xchg int: 64.25 ns Ref with [@poll error]: ops over time/cas int: 110.74 M/s ops over time/get: 340.62 M/s ops over time/incr: 237.09 M/s ops over time/push & pop: 23.03 M/s ops over time/swap: 54.82 M/s ops over time/xchg int: 108.54 M/s time per op/cas int: 9.03 ns time per op/get: 2.94 ns time per op/incr: 4.22 ns time per op/push & pop: 43.43 ns time per op/swap: 18.24 ns time per op/xchg int: 9.21 ns Stack: messages over time/one domain: 36.76 M/s time per message/one domain: 27.20 ns Unix: blocking reads over time/1 worker: 0.81 M/s blocking reads over time/2 workers: 1.61 M/s blocking reads over time/4 workers: 3.26 M/s time per blocking read/1 worker: 1227.02 ns time per blocking read/2 workers: 1242.95 ns time per blocking read/4 workers: 1227.79 ns 2025-02-09 13:49.33 ---> saved as "2b1326eb1a99945a732eb65539a28095bf3165e8a79b316b2e97b2b131123ed7" Job succeeded 2025-02-09 13:49.33: Job succeeded