2025-01-17 21:49.04: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (c4f3be59867507af48fa279a46910f291750f0fa) (linux-x86_64:ubuntu-24.04-5.3_opam-2.3) Base: ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:fea70f753e2f4c0dcd7bb4cdd2fd980d8d4a70030eaa2be0356b45cc59fc2c1d 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 c4f3be59 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:fea70f753e2f4c0dcd7bb4cdd2fd980d8d4a70030eaa2be0356b45cc59fc2c1d # ubuntu-24.04-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 da383c8610c72e3b8a92e6327148910d1d81cd57 || git fetch origin master) && git reset -q --hard da383c8610c72e3b8a92e6327148910d1d81cd57 && 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.1 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.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-17 21:49.04: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:fea70f753e2f4c0dcd7bb4cdd2fd980d8d4a70030eaa2be0356b45cc59fc2c1d-ubuntu-24.04-5.3_opam-2.3-371af18bf17f57d0742a0bdd3f06aae0" 2025-01-17 21:49.04: Using OBuilder spec: ((from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:fea70f753e2f4c0dcd7bb4cdd2fd980d8d4a70030eaa2be0356b45cc59fc2c1d) (comment ubuntu-24.04-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 da383c8610c72e3b8a92e6327148910d1d81cd57 || git fetch origin master) && git reset -q --hard da383c8610c72e3b8a92e6327148910d1d81cd57 && 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.1 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.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-17 21:49.04: Waiting for resource in pool OCluster 2025-01-17 23:35.28: Waiting for worker… 2025-01-17 23:52.20: Got resource from pool OCluster Building on toxis.caelum.ci.dev All commits already cached HEAD is now at c4f3be5 Bench and test with OCaml 5.3 and drop <5.2.1 from Windows tests (from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:fea70f753e2f4c0dcd7bb4cdd2fd980d8d4a70030eaa2be0356b45cc59fc2c1d) 2025-01-17 23:52.20 ---> using "7d9e76f506ea245e10d69d83cfdf9a2f7504c1493f5c7162468166f0694b6a6f" from cache /: (comment ubuntu-24.04-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-01-17 23:52.20 ---> using "ef5feb4871c76304c10ec56339b3b9f2932e11af9391d1d0a42a3f966fd6a25f" 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 [NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using: opam option jobs=255 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2025-01-17 23:52.20 ---> using "333b531581d19688484c3ea8ac24a489e49baabbcc293e896f67128d0fa55237" 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-01-17 23:52.20 ---> using "5e6229b30363089ecbc9a6fdc4afa80cee488fddbd3d646e581e0e5afde3a466" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-01-17 23:52.20 ---> using "7713826330811d07bbadf9a755bb054170a249ea08aeae7b1860a0558086180f" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e da383c8610c72e3b8a92e6327148910d1d81cd57 || git fetch origin master) && git reset -q --hard da383c8610c72e3b8a92e6327148910d1d81cd57 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD f93eb7cb02..da383c8610 master -> origin/master da383c8610 Merge pull request #27275 from xavierleroy/maintenance-intent <><> 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-17 23:52.20 ---> using "d0cb759fdd0ca4acc753a5b3030beca6a22bbba35d006fd50b76a88bac98bd7b" from cache /src: (copy (src multicore-bench.opam) (dst ./)) 2025-01-17 23:52.21 ---> saved as "8b10a3406dc0ae1e47f5670057d16286e6c7fcbe2ab524b7cc6a8a973837e7a9" /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-17 23:52.25 ---> saved as "b489bda22b0c2a7100427e80c64d1184d0d6e87ffd553c0e5e5c11f1880d25a5" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-01-17 23:52.25 ---> saved as "19d06813344493f16c4c67ebb5bfd7ee15317ec9d3002803c62557287536ed2b" /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.1 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.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" - Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB] - Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease - Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB] - Get:4 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [15.5 kB] - Get:5 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [722 kB] - Get:6 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [737 kB] - Get:7 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1035 kB] - Get:8 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB] - Get:9 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1266 kB] - Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [984 kB] - Fetched 5138 kB in 2s (2703 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-01-17 23:53.05 ---> saved as "d9f3f705c003c88a703496a8b123090f63aa4689464c13144657441d29e4a257" /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.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.1 - 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 mdx.2.5.0 (cached) -> retrieved mtime.2.1.0 (cached) -> retrieved multicore-magic.2.3.1 (cached) -> retrieved ocaml-version.3.7.3 (cached) -> retrieved ocamlfind.1.9.6 (cached) -> retrieved ocamlbuild.0.15.0 (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 csexp.1.5.2 -> installed thread-table.1.0.0 -> installed ocaml-version.3.7.3 -> installed result.1.5 -> installed backoff.0.1.1 -> installed multicore-magic.2.3.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-01-17 23:55.23 ---> saved as "df28e41136ce364a5d9aa59b7a1dd54a4ed559cfb9f2c8094f66466ac01aa7e4" /src: (copy (src .) (dst /src)) 2025-01-17 23:55.24 ---> saved as "a0b683d336c89a002d77823b1770199129a6479dc3a02204189fa2ba3cdf5aba" /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: 55.96 M/s ops over time/get: 361.98 M/s ops over time/incr: 77.86 M/s ops over time/push & pop: 16.74 M/s ops over time/swap: 35.50 M/s ops over time/xchg int: 59.23 M/s time per op/cas int: 17.87 ns time per op/get: 2.76 ns time per op/incr: 12.84 ns time per op/push & pop: 59.73 ns time per op/swap: 28.17 ns time per op/xchg int: 16.88 ns Atomic incr: ops over time/CAS, 1 domains: 55.65 M/s ops over time/CAS, 2 domains: 13.56 M/s ops over time/CAS, 4 domains: 8.80 M/s ops over time/CAS, 8 domains: 7.50 M/s ops over time/CAS with backoff, 1 domains: 52.14 M/s ops over time/CAS with backoff, 2 domains: 48.19 M/s ops over time/CAS with backoff, 4 domains: 42.38 M/s ops over time/CAS with backoff, 8 domains: 11.74 M/s ops over time/Incr, 1 domains: 78.82 M/s ops over time/Incr, 2 domains: 44.41 M/s ops over time/Incr, 4 domains: 44.22 M/s ops over time/Incr, 8 domains: 11.79 M/s time per op/CAS, 1 domains: 17.97 ns time per op/CAS, 2 domains: 147.48 ns time per op/CAS, 4 domains: 454.38 ns time per op/CAS, 8 domains: 1066.65 ns time per op/CAS with backoff, 1 domains: 19.18 ns time per op/CAS with backoff, 2 domains: 41.50 ns time per op/CAS with backoff, 4 domains: 94.39 ns time per op/CAS with backoff, 8 domains: 681.63 ns time per op/Incr, 1 domains: 12.69 ns time per op/Incr, 2 domains: 45.03 ns time per op/Incr, 4 domains: 90.46 ns time per op/Incr, 8 domains: 678.46 ns Bounded_q: messages over time/1 adder, 1 taker: 3.43 M/s messages over time/1 adder, 2 takers: 1.28 M/s messages over time/1 adder, 4 takers: 0.18 M/s messages over time/2 adders, 1 taker: 3.81 M/s messages over time/2 adders, 2 takers: 2.88 M/s messages over time/2 adders, 4 takers: 1.92 M/s messages over time/4 adders, 1 taker: 2.45 M/s messages over time/4 adders, 2 takers: 2.22 M/s messages over time/4 adders, 4 takers: 1.96 M/s messages over time/one domain: 4.10 M/s time per message/1 adder, 1 taker: 583.21 ns time per message/1 adder, 2 takers: 2339.79 ns time per message/1 adder, 4 takers: 28495.28 ns time per message/2 adders, 1 taker: 786.74 ns time per message/2 adders, 2 takers: 1389.18 ns time per message/2 adders, 4 takers: 3125.70 ns time per message/4 adders, 1 taker: 2044.73 ns time per message/4 adders, 2 takers: 2701.16 ns time per message/4 adders, 4 takers: 4078.43 ns time per message/one domain: 243.66 ns Hashtbl: operations over time/1 worker, 10% reads: 4.33 M/s operations over time/1 worker, 50% reads: 4.53 M/s operations over time/1 worker, 90% reads: 5.33 M/s operations over time/2 workers, 10% reads: 4.24 M/s operations over time/2 workers, 50% reads: 4.59 M/s operations over time/2 workers, 90% reads: 4.59 M/s operations over time/4 workers, 10% reads: 2.77 M/s operations over time/4 workers, 50% reads: 3.15 M/s operations over time/4 workers, 90% reads: 2.99 M/s operations over time/8 workers, 10% reads: 2.22 M/s operations over time/8 workers, 50% reads: 2.41 M/s operations over time/8 workers, 90% reads: 3.05 M/s operations over time/one domain, 10% reads: 10.28 M/s operations over time/one domain, 50% reads: 10.07 M/s operations over time/one domain, 90% reads: 11.59 M/s time per operation/1 worker, 10% reads: 231.00 ns time per operation/1 worker, 50% reads: 220.91 ns time per operation/1 worker, 90% reads: 187.72 ns time per operation/2 workers, 10% reads: 471.46 ns time per operation/2 workers, 50% reads: 435.31 ns time per operation/2 workers, 90% reads: 435.71 ns time per operation/4 workers, 10% reads: 1444.82 ns time per operation/4 workers, 50% reads: 1269.68 ns time per operation/4 workers, 90% reads: 1338.88 ns time per operation/8 workers, 10% reads: 3610.54 ns time per operation/8 workers, 50% reads: 3324.45 ns time per operation/8 workers, 90% reads: 2623.26 ns time per operation/one domain, 10% reads: 97.31 ns time per operation/one domain, 50% reads: 99.32 ns time per operation/one domain, 90% reads: 86.30 ns Queue: messages over time/one domain: 21.34 M/s time per message/one domain: 46.85 ns Ref with Mutex: ops over time/cas int: 10.49 M/s ops over time/get: 9.28 M/s ops over time/incr: 10.51 M/s ops over time/push & pop: 8.13 M/s ops over time/swap: 8.58 M/s ops over time/xchg int: 9.87 M/s time per op/cas int: 95.34 ns time per op/get: 107.77 ns time per op/incr: 95.12 ns time per op/push & pop: 123.02 ns time per op/swap: 116.52 ns time per op/xchg int: 101.31 ns Ref with [@poll error]: ops over time/cas int: 86.85 M/s ops over time/get: 357.75 M/s ops over time/incr: 212.49 M/s ops over time/push & pop: 23.39 M/s ops over time/swap: 46.45 M/s ops over time/xchg int: 98.72 M/s time per op/cas int: 11.51 ns time per op/get: 2.80 ns time per op/incr: 4.71 ns time per op/push & pop: 42.75 ns time per op/swap: 21.53 ns time per op/xchg int: 10.13 ns Stack: messages over time/one domain: 25.19 M/s time per message/one domain: 39.70 ns Unix: blocking reads over time/1 worker: 0.73 M/s blocking reads over time/2 workers: 1.42 M/s blocking reads over time/4 workers: 2.01 M/s time per blocking read/1 worker: 1377.12 ns time per blocking read/2 workers: 1410.52 ns time per blocking read/4 workers: 1987.78 ns 2025-01-17 23:56.32 ---> saved as "46416aad9272a5fcaf4284f7212222ea6e8ba7a93dc168f3bef432790e360390" Job succeeded 2025-01-17 23:56.32: Job succeeded