2025-10-09 20:51.49: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (efb15d8562dbdc1ba976ffc574de028e3c11c123) (freebsd-x86_64:freebsd-14.3-4.14_opam-2.4) Base: freebsd-14.3-ocaml-4.14 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 freebsd-14.3-ocaml-4.14 # freebsd-14.3-4.14_opam-2.4 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/local/bin/opam-2.4 /usr/local/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 5fa485a3e0921a1bb8337a6c35f106a48b9516e7 || git fetch origin master) && git reset -q --hard 5fa485a3e0921a1bb8337a6c35f106a48b9516e7 && 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-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.20.2 fmt.0.11.0 logs.0.9.0 mdx.2.5.1 mtime.2.1.0 multicore-magic.2.3.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.4.0.2 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 thread-table.1.0.0 topkg.1.1.0 yojson.3.0.0" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.4 --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-10-09 20:51.49: Using cache hint "ocaml-multicore/multicore-bench-freebsd-14.3-ocaml-4.14-freebsd-14.3-4.14_opam-2.4-cbc56b3dd8e60f14bcf2e5ecd39c17a8" 2025-10-09 20:51.49: Using OBuilder spec: ((from freebsd-14.3-ocaml-4.14) (comment freebsd-14.3-4.14_opam-2.4) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/local/bin/opam-2.4 /usr/local/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 5fa485a3e0921a1bb8337a6c35f106a48b9516e7 || git fetch origin master) && git reset -q --hard 5fa485a3e0921a1bb8337a6c35f106a48b9516e7 && 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-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.20.2 fmt.0.11.0 logs.0.9.0 mdx.2.5.1 mtime.2.1.0 multicore-magic.2.3.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.4.0.2 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 thread-table.1.0.0 topkg.1.1.0 yojson.3.0.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.4 --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-10-09 20:51.49: Waiting for resource in pool OCluster 2025-10-09 20:51.50: Waiting for worker… 2025-10-09 20:51.50: Got resource from pool OCluster Building on rosemary All commits already cached HEAD is now at efb15d8 Inline `Atomic` and `Ref` ops and unroll (from freebsd-14.3-ocaml-4.14) 2025-10-09 20:50.07 ---> using "7e5247e9853d1c2fb95ef9ffdfdb895ef70516f48155f08a9b10db936cb8c6c6" from cache /: (comment freebsd-14.3-4.14_opam-2.4) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/local/bin/opam-2.4 /usr/local/bin/opam")) 2025-10-09 20:50.07 ---> using "f8f2ae50f983ba53790a433c81d8570b8becc44c74ab2707cf43746ed1b463d1" from cache /src: (run (shell "opam init --reinit -ni")) No configuration file found, using 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.1 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 1 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=1 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] no changes from git+file:///home/opam/opam-repository 2025-10-09 20:50.07 ---> using "a95cd97103c96a777086d9508c45964fbffa4285a5c5e6703b704acabfb6945b" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) FreeBSD 14.3-RELEASE-p3 The OCaml toplevel, version 4.14.2 2.4.1 2025-10-09 20:50.07 ---> using "199d8be57ed603ac6837a6d6cc7e578c2f630e2b79e2520a8892deff98662ca8" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-10-09 20:50.08 ---> using "c9d8693a3c313f3750cea43d98891a3f5490d8d3ab8357236d5eb49fea038272" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 5fa485a3e0921a1bb8337a6c35f106a48b9516e7 || git fetch origin master) && git reset -q --hard 5fa485a3e0921a1bb8337a6c35f106a48b9516e7 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 98696b94e2..38a1469dbb master -> origin/master 5fa485a3e0 Merge pull request #28665 from mtelvers/opam-publish-ocaml-version.4.0.2 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///home/opam/opam-repository Everything as up-to-date as possible The following packages are not being upgraded because the new versions conflict with other installed packages: - ocaml.5.3.0 - ocaml-config.3 However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.0"), which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. 2025-10-09 20:50.24 ---> saved as "d18101c50d77f3a76bed37b761bc9af2b10e983b59db8a4b7c0656a0dbe8557e" /src: (copy (src multicore-bench.opam) (dst ./)) 2025-10-09 20:50.25 ---> saved as "76fe67c3f7f6149d85e7813995a3d9446054745a37e0d224adfeb9a8d5219d90" /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-10-09 20:50.27 ---> saved as "070ab9f1bcc7ee36f962270f45e609de9ec1d93ff9ff2fc3a2ce86a260168bb6" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-10-09 20:50.28 ---> saved as "1e406dd030b8cae3d0330250a184c458cb18a5910f6a39d69b72efd28d6ab68c" /src: (env DEPS "astring.0.8.5 backoff.0.1.1 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.20.2 fmt.0.11.0 logs.0.9.0 mdx.2.5.1 mtime.2.1.0 multicore-magic.2.3.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.4.0.2 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 thread-table.1.0.0 topkg.1.1.0 yojson.3.0.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.4 --depext-only -y multicore-bench.dev $DEPS")) [WARNING] Unknown update command for bsd, skipping system update <><> 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.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [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). 2025-10-09 20:50.36 ---> saved as "d5dbd52071425ba6dc88449e469d4ba8c4833603cf48429e97ee4c0a7d129c4f" /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 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 22 packages ∗ astring 0.8.5 ∗ backoff 0.1.1 ∗ camlp-streams 5.0.1 ∗ cmdliner 2.0.0 ∗ cppo 1.8.0 ∗ csexp 1.5.2 ∗ domain-local-await 1.0.1 ∗ domain_shims 0.1.0 ∗ dune 3.20.2 ∗ fmt 0.11.0 ∗ logs 0.9.0 ∗ mdx 2.5.1 ∗ mtime 2.1.0 ∗ multicore-magic 2.3.1 ∗ ocaml-version 4.0.2 ∗ ocamlbuild 0.16.1 ∗ ocamlfind 1.9.8 ∗ re 1.14.0 ∗ result 1.5 ∗ thread-table 1.0.0 ∗ topkg 1.1.0 ∗ yojson 3.0.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> ⬇ retrieved camlp-streams.5.0.1 (cached) ⬇ retrieved backoff.0.1.1 (cached) ⬇ retrieved astring.0.8.5 (cached) ⬇ retrieved cppo.1.8.0 (cached) ⬇ retrieved csexp.1.5.2 (cached) ⬇ retrieved cmdliner.2.0.0 (cached) ⬇ retrieved domain_shims.0.1.0 (cached) ⬇ retrieved domain-local-await.1.0.1 (cached) ⬇ retrieved fmt.0.11.0 (cached) ⬇ retrieved logs.0.9.0 (cached) ⬇ retrieved mtime.2.1.0 (cached) ⬇ retrieved multicore-magic.2.3.1 (cached) ⬇ retrieved mdx.2.5.1 (cached) ⬇ retrieved ocamlbuild.0.16.1 (cached) ⬇ retrieved ocamlfind.1.9.8 (cached) ⬇ retrieved re.1.14.0 (cached) ⬇ retrieved result.1.5 (cached) ⬇ retrieved ocaml-version.4.0.2 (https://github.com/ocurrent/ocaml-version/releases/download/v4.0.2/ocaml-version-4.0.2.tbz) ⬇ retrieved thread-table.1.0.0 (cached) ⬇ retrieved topkg.1.1.0 (cached) ⬇ retrieved yojson.3.0.0 (cached) ⬇ retrieved dune.3.20.2 (cached) ∗ installed cmdliner.2.0.0 ∗ installed ocamlfind.1.9.8 ∗ installed ocamlbuild.0.16.1 ∗ installed topkg.1.1.0 ∗ installed mtime.2.1.0 ∗ installed fmt.0.11.0 ∗ installed astring.0.8.5 ∗ installed logs.0.9.0 ∗ installed dune.3.20.2 ∗ installed csexp.1.5.2 ∗ installed domain_shims.0.1.0 ∗ installed result.1.5 ∗ installed ocaml-version.4.0.2 ∗ installed backoff.0.1.1 ∗ installed thread-table.1.0.0 ∗ 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 yojson.3.0.0 ∗ installed re.1.14.0 ∗ installed mdx.2.5.1 Done. 2025-10-09 20:52.37 ---> saved as "11fe07bee21626b387d54481826d294aaf95fafaae2dc00c841552cbfedd949b" /src: (copy (src .) (dst /src)) 2025-10-09 20:52.39 ---> saved as "98ae8e4cb6944d4f61d19083fdac42b4345d2b9d3ec7d5d5a788145c4e7a06ee" /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: 120.94 M/s ops over time/get: 1243.35 M/s ops over time/incr: 275.04 M/s ops over time/push & pop: 55.69 M/s ops over time/swap: 57.98 M/s ops over time/xchg int: 122.32 M/s time per op/cas int: 8.27 ns time per op/get: 0.80 ns time per op/incr: 3.64 ns time per op/push & pop: 17.96 ns time per op/swap: 17.25 ns time per op/xchg int: 8.18 ns Atomic incr: ops over time/CAS, 1 domains: 98.01 M/s ops over time/CAS with backoff, 1 domains: 90.91 M/s ops over time/Incr, 1 domains: 192.46 M/s time per op/CAS, 1 domains: 10.20 ns time per op/CAS with backoff, 1 domains: 11.00 ns time per op/Incr, 1 domains: 5.20 ns Bounded_q: messages over time/one domain: 3.71 M/s time per message/one domain: 269.82 ns Hashtbl: operations over time/1 worker, 10% reads: 5.17 M/s operations over time/1 worker, 50% reads: 5.12 M/s operations over time/1 worker, 90% reads: 5.59 M/s operations over time/2 workers, 10% reads: 5.10 M/s operations over time/2 workers, 50% reads: 5.17 M/s operations over time/2 workers, 90% reads: 4.66 M/s operations over time/4 workers, 10% reads: 4.94 M/s operations over time/4 workers, 50% reads: 4.94 M/s operations over time/4 workers, 90% reads: 5.42 M/s operations over time/8 workers, 10% reads: 4.56 M/s operations over time/8 workers, 50% reads: 4.65 M/s operations over time/8 workers, 90% reads: 4.52 M/s operations over time/one domain, 10% reads: 12.25 M/s operations over time/one domain, 50% reads: 11.58 M/s operations over time/one domain, 90% reads: 13.29 M/s time per operation/1 worker, 10% reads: 193.45 ns time per operation/1 worker, 50% reads: 195.26 ns time per operation/1 worker, 90% reads: 178.84 ns time per operation/2 workers, 10% reads: 391.95 ns time per operation/2 workers, 50% reads: 386.67 ns time per operation/2 workers, 90% reads: 428.86 ns time per operation/4 workers, 10% reads: 809.16 ns time per operation/4 workers, 50% reads: 809.25 ns time per operation/4 workers, 90% reads: 737.56 ns time per operation/8 workers, 10% reads: 1754.21 ns time per operation/8 workers, 50% reads: 1718.67 ns time per operation/8 workers, 90% reads: 1768.59 ns time per operation/one domain, 10% reads: 81.66 ns time per operation/one domain, 50% reads: 86.39 ns time per operation/one domain, 90% reads: 75.26 ns Queue: messages over time/one domain: 22.51 M/s time per message/one domain: 44.42 ns Ref with Mutex: ops over time/cas int: 10.35 M/s ops over time/get: 11.45 M/s ops over time/incr: 11.33 M/s ops over time/push & pop: 9.80 M/s ops over time/swap: 10.30 M/s ops over time/xchg int: 10.51 M/s time per op/cas int: 96.58 ns time per op/get: 87.31 ns time per op/incr: 88.29 ns time per op/push & pop: 102.09 ns time per op/swap: 97.09 ns time per op/xchg int: 95.11 ns Ref with [@poll error]: ops over time/cas int: 105.74 M/s ops over time/get: 1241.94 M/s ops over time/incr: 357.38 M/s ops over time/push & pop: 52.38 M/s ops over time/swap: 55.49 M/s ops over time/xchg int: 124.61 M/s time per op/cas int: 9.46 ns time per op/get: 0.81 ns time per op/incr: 2.80 ns time per op/push & pop: 19.09 ns time per op/swap: 18.02 ns time per op/xchg int: 8.02 ns Stack: messages over time/one domain: 23.74 M/s time per message/one domain: 42.12 ns Unix: blocking reads over time/1 worker: 0.53 M/s time per blocking read/1 worker: 1900.81 ns 2025-10-09 20:52.53 ---> saved as "22b625e304ed23fe3e4eaa7cce9eaba6800a3f276496fc5ff6aeb651542899fe" Job succeeded 2025-10-09 20:54.36: Job succeeded