2025-07-01 12:08.50: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (efb15d8562dbdc1ba976ffc574de028e3c11c123) (linux-x86_64:(lower-bound)) Base: ocaml/opam:debian-12-ocaml-4.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74 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 efb15d85 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-4.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74 # debian-12-4.12_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 5af9fe17257c2e27ab45502c4757e02cfef63b8e || git fetch origin master) && git reset -q --hard 5af9fe17257c2e27ab45502c4757e02cfef63b8e && 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-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 conf-m4.1 cppo.1.6.1 csexp.1.3.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.15.3 fmt.0.8.8 jbuilder.1.0+beta20.1 logs.0.7.0 mdx.2.4.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.1 re.1.7.2 result.1.5 seq.0.3 stdlib-shims.0.1.0 thread-table.1.0.0 topkg.1.0.8 yojson.2.1.0" 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-07-01 12:08.50: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-4.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74-debian-12-4.12_opam-2.3-838e6936dcb543d510132c085fb51b31" 2025-07-01 12:08.50: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74) (comment debian-12-4.12_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 5af9fe17257c2e27ab45502c4757e02cfef63b8e || git fetch origin master) && git reset -q --hard 5af9fe17257c2e27ab45502c4757e02cfef63b8e && 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-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 conf-m4.1 cppo.1.6.1 csexp.1.3.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.15.3 fmt.0.8.8 jbuilder.1.0+beta20.1 logs.0.7.0 mdx.2.4.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.1 re.1.7.2 result.1.5 seq.0.3 stdlib-shims.0.1.0 thread-table.1.0.0 topkg.1.0.8 yojson.2.1.0") (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-07-01 12:08.50: Waiting for resource in pool OCluster 2025-07-01 12:08.50: Waiting for worker… 2025-07-01 12:15.55: Got resource from pool OCluster Building on odawa.caelum.ci.dev All commits already cached HEAD is now at efb15d8 Inline `Atomic` and `Ref` ops and unroll (from ocaml/opam:debian-12-ocaml-4.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74) 2025-07-01 12:21.11 ---> using "1da314489d8a1aa96dc3f82d3e21db390b8f77f7e412f4ac849ce7c521e73be9" from cache /: (comment debian-12-4.12_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-07-01 12:21.11 ---> using "c358228b0cab7212e2b56cd6aea347fd122150aa0fa20072b2ba5085d0175e41" 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 71 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=71 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-07-01 12:21.24 ---> saved as "24db23dd17d764d3315fb05ad6ba9eb5195a4906df98cb785d87d0374ca8a675" /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 6.8.0-60-generic The OCaml toplevel, version 4.12.1 2.3.0 2025-07-01 12:21.25 ---> saved as "27ddaf7b1e4272417564bed9104354206c4b3e7f673505b126fb050bd3e7a2d4" /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-07-01 12:21.25 ---> saved as "cf176336eeb9f7dce24597e25b65bd464fabf14abb4fb789dfe2d4262ee23704" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 5af9fe17257c2e27ab45502c4757e02cfef63b8e || git fetch origin master) && git reset -q --hard 5af9fe17257c2e27ab45502c4757e02cfef63b8e && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD c7269f729a..5af9fe1725 master -> origin/master 5af9fe1725 Merge pull request #28119 from ocaml/mseri-patch-3 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+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-07-01 12:22.00 ---> saved as "2ba3d04399e022dbc0f50335eb4eafae75a7ae9212a427b8128ae9fb9c6fe33a" /src: (copy (src multicore-bench.opam) (dst ./)) 2025-07-01 12:22.00 ---> saved as "b6c81abcf23b83daf6334e0941dacc647cbdd7e8354961080d572b150371f0cf" /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-07-01 12:22.01 ---> saved as "6784fbd3e62d8492d33b41af4e4efd96be90cf62628c9e1646035e27fbf71abb" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-07-01 12:22.01 ---> saved as "c6d2687d905fc86c776d5b62562d4af4063aee2dc7bbd424a96c87f6518476bb" /src: (env DEPS "astring.0.8.5 backoff.0.1.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 conf-m4.1 cppo.1.6.1 csexp.1.3.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.15.3 fmt.0.8.8 jbuilder.1.0+beta20.1 logs.0.7.0 mdx.2.4.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.1 re.1.7.2 result.1.5 seq.0.3 stdlib-shims.0.1.0 thread-table.1.0.0 topkg.1.0.8 yojson.2.1.0") /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://deb.debian.org/debian bookworm InRelease - 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-security bookworm-security/main amd64 Packages [270 kB] - Fetched 373 kB in 0s (919 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 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.12.1). [NOTE] Package ocaml is already installed (current version is 4.12.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 system packages will first need to be installed: m4 <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package m4. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18747 files and directories currently installed.) - Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ... - Unpacking m4 (1.4.19-3) ... - Setting up m4 (1.4.19-3) ... 2025-07-01 12:22.09 ---> saved as "62b9ba6a55e280d20cd1d692729ee6374effb3186593f346d754f61dcd765178" /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.12.1). [NOTE] Package ocaml is already installed (current version is 4.12.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 27 packages - install astring 0.8.5 - install backoff 0.1.1 - install base-bytes base - install camlp-streams 5.0.1 - install cmdliner 1.3.0 - install conf-m4 1 - install cppo 1.6.1 - install csexp 1.3.2 - install domain-local-await 1.0.1 - install domain_shims 0.1.0 - install dune 3.15.3 - install fmt 0.8.8 - install jbuilder 1.0+beta20.1 (deprecated) - install logs 0.7.0 - install mdx 2.4.0 - install mtime 2.1.0 - install multicore-magic 2.3.1 - install ocaml-version 3.5.0 - install ocamlbuild 0.14.0 - install ocamlfind 1.8.1 - install re 1.7.2 - install result 1.5 - install seq 0.3 - install stdlib-shims 0.1.0 - install thread-table 1.0.0 - install topkg 1.0.8 - install yojson 2.1.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved backoff.0.1.1 (cached) -> retrieved astring.0.8.5 (cached) -> retrieved camlp-streams.5.0.1 (cached) -> installed conf-m4.1 -> retrieved cmdliner.1.3.0 (cached) -> retrieved cppo.1.6.1 (cached) -> retrieved csexp.1.3.2 (cached) -> retrieved domain-local-await.1.0.1 (cached) -> retrieved domain_shims.0.1.0 (cached) -> retrieved fmt.0.8.8 (cached) -> retrieved logs.0.7.0 (cached) -> retrieved mdx.2.4.0 (cached) -> retrieved jbuilder.1.0+beta20.1 (cached) -> retrieved mtime.2.1.0 (cached) -> retrieved multicore-magic.2.3.1 (cached) -> retrieved ocaml-version.3.5.0 (cached) -> retrieved ocamlbuild.0.14.0 (cached) -> retrieved dune.3.15.3 (cached) -> retrieved ocamlfind.1.8.1 (cached) -> retrieved re.1.7.2 (cached) -> retrieved result.1.5 (cached) -> retrieved seq.0.3 (cached) -> retrieved stdlib-shims.0.1.0 (cached) -> retrieved thread-table.1.0.0 (cached) -> retrieved topkg.1.0.8 (cached) -> installed cmdliner.1.3.0 -> retrieved yojson.2.1.0 (cached) -> installed ocamlfind.1.8.1 -> installed base-bytes.base -> installed ocamlbuild.0.14.0 -> installed jbuilder.1.0+beta20.1 -> installed cppo.1.6.1 -> installed re.1.7.2 -> installed topkg.1.0.8 -> installed mtime.2.1.0 -> installed astring.0.8.5 -> installed dune.3.15.3 -> installed domain_shims.0.1.0 -> installed seq.0.3 -> installed ocaml-version.3.5.0 -> installed result.1.5 -> installed stdlib-shims.0.1.0 -> installed camlp-streams.5.0.1 -> installed multicore-magic.2.3.1 -> installed backoff.0.1.1 -> installed thread-table.1.0.0 -> installed csexp.1.3.2 -> installed domain-local-await.1.0.1 -> installed fmt.0.8.8 -> installed yojson.2.1.0 -> installed logs.0.7.0 -> installed mdx.2.4.0 Done. <><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><> => Note: This package is deprecated. # To update the current shell environment, run: eval $(opam env) 2025-07-01 12:22.35 ---> saved as "2c8021997cb04975644abd8d8d6c3311fd575095ce76cfb70b49092a1e337910" /src: (copy (src .) (dst /src)) 2025-07-01 12:22.36 ---> saved as "a22b93d05952245bd0038a33eb0c4cb16b5da33c46401aade54ea5c03d6e2f31" /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: 252.66 M/s ops over time/get: 8640.20 M/s ops over time/incr: 694.48 M/s ops over time/push & pop: 121.30 M/s ops over time/swap: 133.41 M/s ops over time/xchg int: 281.95 M/s time per op/cas int: 3.96 ns time per op/get: 0.12 ns time per op/incr: 1.44 ns time per op/push & pop: 8.24 ns time per op/swap: 7.50 ns time per op/xchg int: 3.55 ns Atomic incr: ops over time/CAS, 1 domains: 224.51 M/s ops over time/CAS with backoff, 1 domains: 210.16 M/s ops over time/Incr, 1 domains: 485.18 M/s time per op/CAS, 1 domains: 4.45 ns time per op/CAS with backoff, 1 domains: 4.76 ns time per op/Incr, 1 domains: 2.06 ns Bounded_q: messages over time/one domain: 17.14 M/s time per message/one domain: 58.35 ns Hashtbl: operations over time/1 worker, 10% reads: 19.26 M/s operations over time/1 worker, 50% reads: 18.81 M/s operations over time/1 worker, 90% reads: 24.04 M/s operations over time/2 workers, 10% reads: 18.85 M/s operations over time/2 workers, 50% reads: 18.61 M/s operations over time/2 workers, 90% reads: 23.51 M/s operations over time/4 workers, 10% reads: 18.45 M/s operations over time/4 workers, 50% reads: 18.22 M/s operations over time/4 workers, 90% reads: 21.93 M/s operations over time/8 workers, 10% reads: 16.79 M/s operations over time/8 workers, 50% reads: 16.04 M/s operations over time/8 workers, 90% reads: 20.73 M/s operations over time/one domain, 10% reads: 28.74 M/s operations over time/one domain, 50% reads: 27.46 M/s operations over time/one domain, 90% reads: 36.00 M/s time per operation/1 worker, 10% reads: 51.92 ns time per operation/1 worker, 50% reads: 53.17 ns time per operation/1 worker, 90% reads: 41.60 ns time per operation/2 workers, 10% reads: 106.09 ns time per operation/2 workers, 50% reads: 107.44 ns time per operation/2 workers, 90% reads: 85.07 ns time per operation/4 workers, 10% reads: 216.81 ns time per operation/4 workers, 50% reads: 219.62 ns time per operation/4 workers, 90% reads: 182.37 ns time per operation/8 workers, 10% reads: 476.44 ns time per operation/8 workers, 50% reads: 498.73 ns time per operation/8 workers, 90% reads: 385.95 ns time per operation/one domain, 10% reads: 34.79 ns time per operation/one domain, 50% reads: 36.42 ns time per operation/one domain, 90% reads: 27.78 ns Queue: messages over time/one domain: 46.77 M/s time per message/one domain: 21.38 ns Ref with Mutex: ops over time/cas int: 48.62 M/s ops over time/get: 58.86 M/s ops over time/incr: 58.86 M/s ops over time/push & pop: 49.47 M/s ops over time/swap: 49.17 M/s ops over time/xchg int: 49.04 M/s time per op/cas int: 20.57 ns time per op/get: 16.99 ns time per op/incr: 16.99 ns time per op/push & pop: 20.21 ns time per op/swap: 20.34 ns time per op/xchg int: 20.39 ns Ref with [@poll error]: ops over time/cas int: 255.99 M/s ops over time/get: 8640.20 M/s ops over time/incr: 720.24 M/s ops over time/push & pop: 117.92 M/s ops over time/swap: 141.31 M/s ops over time/xchg int: 255.99 M/s time per op/cas int: 3.91 ns time per op/get: 0.12 ns time per op/incr: 1.39 ns time per op/push & pop: 8.48 ns time per op/swap: 7.08 ns time per op/xchg int: 3.91 ns Stack: messages over time/one domain: 53.06 M/s time per message/one domain: 18.85 ns Unix: blocking reads over time/1 worker: 0.74 M/s time per blocking read/1 worker: 1355.07 ns 2025-07-01 12:22.38 ---> saved as "166d19b19a74d1d9b00efc2ab8cb168d682e33dca733a3ce7bb2ad2c9c81a4a6" Job succeeded 2025-07-01 12:22.38: Job succeeded