2025-01-08 21:57.28: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (01ef4eb5bba33f6093286a7c3240192d097b6999) (linux-x86_64:ubuntu-24.10-5.2_opam-2.3) Base: ocaml/opam:ubuntu-24.10-ocaml-5.2@sha256:35bfa3e4f4ba21912623ec2ac613e65056374e1db64d0e779153fcad04ce5d39 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 01ef4eb5 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-24.10-ocaml-5.2@sha256:35bfa3e4f4ba21912623ec2ac613e65056374e1db64d0e779153fcad04ce5d39 # ubuntu-24.10-5.2_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 3bf64585fc5ee152bbad91f6d48717c1b37b48f8 || git fetch origin master) && git reset -q --hard 3bf64585fc5ee152bbad91f6d48717c1b37b48f8 && 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-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.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 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-08 21:57.28: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:ubuntu-24.10-ocaml-5.2@sha256:35bfa3e4f4ba21912623ec2ac613e65056374e1db64d0e779153fcad04ce5d39-ubuntu-24.10-5.2_opam-2.3-07d0a9da36416ce62039a926fb978eb0" 2025-01-08 21:57.28: Using OBuilder spec: ((from ocaml/opam:ubuntu-24.10-ocaml-5.2@sha256:35bfa3e4f4ba21912623ec2ac613e65056374e1db64d0e779153fcad04ce5d39) (comment ubuntu-24.10-5.2_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 3bf64585fc5ee152bbad91f6d48717c1b37b48f8 || git fetch origin master) && git reset -q --hard 3bf64585fc5ee152bbad91f6d48717c1b37b48f8 && 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-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.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 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-08 21:57.28: Waiting for resource in pool OCluster 2025-01-08 22:33.35: Waiting for worker… 2025-01-08 22:41.26: Got resource from pool OCluster Building on x86-bm-c3.sw.ocaml.org hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name> Initialized empty Git repository in /var/cache/obuilder/ocluster/git/multicore-bench.git-b64f3a44a0cd11cb5d9a386b4ded860bff164371/.git/ HEAD is now at 01ef4eb Upgrade to ocamlformat 0.27.0 (from ocaml/opam:ubuntu-24.10-ocaml-5.2@sha256:35bfa3e4f4ba21912623ec2ac613e65056374e1db64d0e779153fcad04ce5d39) 2025-01-08 22:41.27 ---> using "02141074643e548bae82683d62c05e394296999125a1f3cdda8dcbf2db19a537" from cache /: (comment ubuntu-24.10-5.2_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-08 22:41.27 ---> using "64ee141190e9c3aa64f10c93fdd2aba13664fb4e2fca6f7330946008c5d35f1b" 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-08 22:41.27 ---> using "1ac8d08f0ee350ff05d0f6006180d7abf9805d2fcd4fb60984d48c300a56781e" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-130-generic The OCaml toplevel, version 5.2.1 2.3.0 2025-01-08 22:41.27 ---> using "bd25943c00584c32450fe3db9abc5c4f6bd282ce25d6d0edf2620cfc85a6df4f" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-01-08 22:41.27 ---> using "5f158e83eb2364dd8e31ec4371db881376bbcaf30d71b297a71ab83aaab79b1a" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 3bf64585fc5ee152bbad91f6d48717c1b37b48f8 || git fetch origin master) && git reset -q --hard 3bf64585fc5ee152bbad91f6d48717c1b37b48f8 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD de786e28db..f93eb7cb02 master -> origin/master 3bf64585fc Merge pull request #27233 from mtelvers/opam-publish-ocaml-version.3.7.3 <><> 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-08 22:41.27 ---> using "eaf6cd252ea6a2142248bcffdf08df2a66f34c990c8c11b1e901a09ed5e08f37" from cache /src: (copy (src multicore-bench.opam) (dst ./)) 2025-01-08 22:41.27 ---> saved as "c9adffac0ebf031b98d1c7f6fa1b6dafba441472a51fa8ddca79f4ae12d108ce" /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-08 22:41.29 ---> saved as "fb9eea2f0acd5da9d466651ac2836e6f8851722ec40832fd47beec8f5e136a38" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-01-08 22:41.29 ---> saved as "70ce2537ce768f02cfcfa3460d021112ffefe61d72cbe56d6b98287273969458" /src: (env DEPS "astring.0.8.5 backoff.0.1.1 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.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 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 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://archive.ubuntu.com/ubuntu oracular InRelease - Get:2 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB] - Get:3 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB] - Get:4 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB] - Get:5 http://archive.ubuntu.com/ubuntu oracular-updates/restricted amd64 Packages [101 kB] - Get:6 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [253 kB] - Get:7 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [154 kB] - Get:8 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [107 kB] - Get:9 http://security.ubuntu.com/ubuntu oracular-security/restricted amd64 Packages [90.3 kB] - Get:10 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [134 kB] - Fetched 1217 kB in 1s (1501 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-base-compiler is already installed (current version is 5.2.1). [NOTE] Package ocaml is already installed (current version is 5.2.1). [NOTE] Package host-system-other is already installed (current version is 1). [NOTE] Package host-arch-x86_64 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). 2025-01-08 22:41.49 ---> saved as "6023a8a4b61a914b8be295fe50fdbef96c07798751bf26a91938d9cb8560ae4b" /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.1). [NOTE] Package ocaml is already installed (current version is 5.2.1). [NOTE] Package host-system-other is already installed (current version is 1). [NOTE] Package host-arch-x86_64 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.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.0 - 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 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.0 (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 ocamlfind.1.9.6 -> 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.1 -> installed domain_shims.0.1.0 -> installed backoff.0.1.1 -> installed csexp.1.5.2 -> installed result.1.5 -> installed ocaml-version.3.7.3 -> installed thread-table.1.0.0 -> installed multicore-magic.2.3.0 -> 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-01-08 22:42.36 ---> saved as "de1c1ae02b870056f39722f698e42f0fbee7ca722a4dcc61fd025c301a71844b" /src: (copy (src .) (dst /src)) 2025-01-08 22:42.37 ---> saved as "1a0ecfaec407d6053152a12a0360b24b9a096794f01557ed972e16a2f6f9e286" /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: 87.53 M/s ops over time/get: 481.03 M/s ops over time/incr: 99.57 M/s ops over time/push & pop: 27.41 M/s ops over time/swap: 61.84 M/s ops over time/xchg int: 73.35 M/s time per op/cas int: 11.43 ns time per op/get: 2.08 ns time per op/incr: 10.04 ns time per op/push & pop: 36.48 ns time per op/swap: 16.17 ns time per op/xchg int: 13.63 ns Atomic incr: ops over time/CAS, 1 domains: 74.76 M/s ops over time/CAS, 2 domains: 12.12 M/s ops over time/CAS, 4 domains: 9.96 M/s ops over time/CAS, 8 domains: 6.92 M/s ops over time/CAS with backoff, 1 domains: 75.00 M/s ops over time/CAS with backoff, 2 domains: 62.89 M/s ops over time/CAS with backoff, 4 domains: 46.92 M/s ops over time/CAS with backoff, 8 domains: 23.72 M/s ops over time/Incr, 1 domains: 101.83 M/s ops over time/Incr, 2 domains: 45.72 M/s ops over time/Incr, 4 domains: 46.45 M/s ops over time/Incr, 8 domains: 35.12 M/s time per op/CAS, 1 domains: 13.38 ns time per op/CAS, 2 domains: 164.96 ns time per op/CAS, 4 domains: 401.76 ns time per op/CAS, 8 domains: 1155.25 ns time per op/CAS with backoff, 1 domains: 13.33 ns time per op/CAS with backoff, 2 domains: 31.80 ns time per op/CAS with backoff, 4 domains: 85.26 ns time per op/CAS with backoff, 8 domains: 337.30 ns time per op/Incr, 1 domains: 9.82 ns time per op/Incr, 2 domains: 43.75 ns time per op/Incr, 4 domains: 86.11 ns time per op/Incr, 8 domains: 227.81 ns Bounded_q: messages over time/1 adder, 1 taker: 2.77 M/s messages over time/1 adder, 2 takers: 2.56 M/s messages over time/1 adder, 4 takers: 1.16 M/s messages over time/2 adders, 1 taker: 4.70 M/s messages over time/2 adders, 2 takers: 2.64 M/s messages over time/2 adders, 4 takers: 1.49 M/s messages over time/4 adders, 1 taker: 3.37 M/s messages over time/4 adders, 2 takers: 2.40 M/s messages over time/4 adders, 4 takers: 1.80 M/s messages over time/one domain: 6.30 M/s time per message/1 adder, 1 taker: 723.08 ns time per message/1 adder, 2 takers: 1171.10 ns time per message/1 adder, 4 takers: 4294.35 ns time per message/2 adders, 1 taker: 637.95 ns time per message/2 adders, 2 takers: 1515.63 ns time per message/2 adders, 4 takers: 4035.99 ns time per message/4 adders, 1 taker: 1483.37 ns time per message/4 adders, 2 takers: 2494.87 ns time per message/4 adders, 4 takers: 4451.94 ns time per message/one domain: 158.74 ns Hashtbl: operations over time/1 worker, 10% reads: 5.71 M/s operations over time/1 worker, 50% reads: 8.15 M/s operations over time/1 worker, 90% reads: 8.53 M/s operations over time/2 workers, 10% reads: 1.62 M/s operations over time/2 workers, 50% reads: 3.82 M/s operations over time/2 workers, 90% reads: 4.46 M/s operations over time/4 workers, 10% reads: 1.84 M/s operations over time/4 workers, 50% reads: 3.95 M/s operations over time/4 workers, 90% reads: 4.48 M/s operations over time/8 workers, 10% reads: 1.60 M/s operations over time/8 workers, 50% reads: 2.82 M/s operations over time/8 workers, 90% reads: 3.38 M/s operations over time/one domain, 10% reads: 15.95 M/s operations over time/one domain, 50% reads: 16.26 M/s operations over time/one domain, 90% reads: 18.52 M/s time per operation/1 worker, 10% reads: 175.04 ns time per operation/1 worker, 50% reads: 122.69 ns time per operation/1 worker, 90% reads: 117.20 ns time per operation/2 workers, 10% reads: 1231.23 ns time per operation/2 workers, 50% reads: 523.37 ns time per operation/2 workers, 90% reads: 448.22 ns time per operation/4 workers, 10% reads: 2177.46 ns time per operation/4 workers, 50% reads: 1011.58 ns time per operation/4 workers, 90% reads: 892.53 ns time per operation/8 workers, 10% reads: 4991.46 ns time per operation/8 workers, 50% reads: 2841.14 ns time per operation/8 workers, 90% reads: 2365.91 ns time per operation/one domain, 10% reads: 62.69 ns time per operation/one domain, 50% reads: 61.49 ns time per operation/one domain, 90% reads: 54.01 ns Queue: messages over time/one domain: 30.20 M/s time per message/one domain: 33.12 ns Ref with Mutex: ops over time/cas int: 15.39 M/s ops over time/get: 16.28 M/s ops over time/incr: 16.62 M/s ops over time/push & pop: 13.88 M/s ops over time/swap: 14.26 M/s ops over time/xchg int: 15.43 M/s time per op/cas int: 64.97 ns time per op/get: 61.42 ns time per op/incr: 60.15 ns time per op/push & pop: 72.05 ns time per op/swap: 70.10 ns time per op/xchg int: 64.83 ns Ref with [@poll error]: ops over time/cas int: 132.15 M/s ops over time/get: 491.73 M/s ops over time/incr: 236.57 M/s ops over time/push & pop: 34.40 M/s ops over time/swap: 88.62 M/s ops over time/xchg int: 140.05 M/s time per op/cas int: 7.57 ns time per op/get: 2.03 ns time per op/incr: 4.23 ns time per op/push & pop: 29.07 ns time per op/swap: 11.28 ns time per op/xchg int: 7.14 ns Stack: messages over time/one domain: 36.96 M/s time per message/one domain: 27.06 ns Unix: blocking reads over time/1 worker: 1.28 M/s blocking reads over time/2 workers: 2.54 M/s blocking reads over time/4 workers: 4.82 M/s time per blocking read/1 worker: 781.14 ns time per blocking read/2 workers: 786.53 ns time per blocking read/4 workers: 829.31 ns 2025-01-08 22:42.51 ---> saved as "12bdeda8b37a980eb628e99a76baec4a730f36b384a2647ce38a9a28d342bac9" Job succeeded 2025-01-08 22:42.51: Job succeeded