Organisationsocaml-multicoremulticore-benchefb15d (main)(lower-bound)

(lower-bound)

Logs

Show full logs
2025-11-14 10:17.01: 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-13-ocaml-4.12@sha256:d928c76c87bc579e622b82bbc5416f92e849ccd1cb1217faa61aca2dbbd6c0da
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-13-ocaml-4.12@sha256:d928c76c87bc579e622b82bbc5416f92e849ccd1cb1217faa61aca2dbbd6c0da
# debian-13-4.12_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 f736a66f83aeced5a0c0d90b769613178cd63b26 || git fetch origin master) && git reset -q --hard f736a66f83aeced5a0c0d90b769613178cd63b26 && 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.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-11-14 10:17.01: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-13-ocaml-4.12@sha256:d928c76c87bc579e622b82bbc5416f92e849ccd1cb1217faa61aca2dbbd6c0da-debian-13-4.12_opam-2.4-838e6936dcb543d510132c085fb51b31"
2025-11-14 10:17.01: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.12@sha256:d928c76c87bc579e622b82bbc5416f92e849ccd1cb1217faa61aca2dbbd6c0da)
 (comment debian-13-4.12_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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 f736a66f83aeced5a0c0d90b769613178cd63b26 || git fetch origin master) && git reset -q --hard f736a66f83aeced5a0c0d90b769613178cd63b26 && 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.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-11-14 10:17.01: Waiting for resource in pool OCluster
2025-11-14 11:47.39: Waiting for worker…
2025-11-14 11:53.42: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at efb15d8 Inline `Atomic` and `Ref` ops and unroll

(from ocaml/opam:debian-13-ocaml-4.12@sha256:d928c76c87bc579e622b82bbc5416f92e849ccd1cb1217faa61aca2dbbd6c0da)
2025-11-14 11:59.37 ---> using "00b2fce1e3fdf51b2b416ff8da9949ddd87c1779e8b58b70219558359d597f53" from cache

/: (comment debian-13-4.12_opam-2.4)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-11-14 11:59.37 ---> using "9a7f4acd91e9a8c240b2b1298651d6d56496f293a07cf6edd3dfd7d06d6b77f9" 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 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] Initialised
2025-11-14 11:59.37 ---> using "a8fdf9d0f1599cf0fe544b341d734a0b6449eadc8aef5d6f19861f9c4df08f2e" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 4.12.1
2.4.1
2025-11-14 11:59.37 ---> using "62a787a84044f3ef01f716e12fd70b8b03bd388b067b6c82da676e52b5499752" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-11-14 11:59.37 ---> using "9417c6d92a3ef9bc390b0a8f994c28200fd30cb3048e919c99cb92ebf4712ea8" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e f736a66f83aeced5a0c0d90b769613178cd63b26 || git fetch origin master) && git reset -q --hard f736a66f83aeced5a0c0d90b769613178cd63b26 && git log --no-decorate -n1 --oneline && opam update -u"))
f736a66f83 Merge pull request #28602 from dbuenzli/cmdliner-incompat

<><> 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 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.
# To update the current shell environment, run: eval $(opam env)
2025-11-14 11:59.37 ---> using "70a920a008f0bcf3b0c777e81c214aff7b77810512c750077844feae0fc9b0a3" from cache

/src: (copy (src multicore-bench.opam) (dst ./))
2025-11-14 11:59.37 ---> saved as "08f4bbc12f98f69b25eccbd7f9dd49030230a770b03b0b5071afacdc9e96abfa"

/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-11-14 11:59.41 ---> saved as "ba66f6a72a13d5f937f89f475b792f26c137096b7fcc1130eba9e88ed0d36e17"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-11-14 11:59.41 ---> saved as "8f9b466e7aa559db2ed92c7d6a30b674bf20485fc50ecc3ca7e69a59d4263a56"

/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.4 --depext-only -y multicore-bench.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [71.4 kB]
- Fetched 162 kB in 0s (922 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"
- 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 ... 20622 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...
2025-11-14 12:00.09 ---> saved as "146024600b1713f3f7a9ac16abecb1a2ecad860a83fc4a3e2407ea7ee2b3643b"

/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 astring.0.8.5  (cached)
-> retrieved backoff.0.1.1  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-m4.1
-> retrieved cmdliner.1.3.0  (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 mtime.2.1.0  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved multicore-magic.2.3.1  (cached)
-> retrieved ocaml-version.3.5.0  (cached)
-> retrieved ocamlbuild.0.14.0  (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 yojson.2.1.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved dune.3.15.3  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed topkg.1.0.8
-> installed cppo.1.6.1
-> installed re.1.7.2
-> 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 backoff.0.1.1
-> installed result.1.5
-> installed camlp-streams.5.0.1
-> installed multicore-magic.2.3.1
-> installed ocaml-version.3.5.0
-> installed stdlib-shims.0.1.0
-> 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-11-14 12:01.50 ---> saved as "23471576830bae2fdac02a07f35ea90cd298f5fa86c4b54a2bbd455790c89e67"

/src: (copy (src .) (dst /src))
2025-11-14 12:01.51 ---> saved as "6df079fd04620a25a427685c497a6a865d5604904112d91cc7b39451b6203874"

/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:
    128.45 M/s
  ops over time/get:
    4146.23 M/s
  ops over time/incr:
    276.81 M/s
  ops over time/push & pop:
    53.91 M/s
  ops over time/swap:
    60.09 M/s
  ops over time/xchg int:
    129.41 M/s
  time per op/cas int:
    7.79 ns
  time per op/get:
    0.24 ns
  time per op/incr:
    3.61 ns
  time per op/push & pop:
    18.55 ns
  time per op/swap:
    16.64 ns
  time per op/xchg int:
    7.73 ns
Atomic incr:
  ops over time/CAS, 1 domains:
    100.78 M/s
  ops over time/CAS with backoff, 1 domains:
    96.97 M/s
  ops over time/Incr, 1 domains:
    238.64 M/s
  time per op/CAS, 1 domains:
    9.92 ns
  time per op/CAS with backoff, 1 domains:
    10.31 ns
  time per op/Incr, 1 domains:
    4.19 ns
Bounded_q:
  messages over time/one domain:
    6.07 M/s
  time per message/one domain:
    164.75 ns
Hashtbl:
  operations over time/1 worker, 10% reads:
    6.51 M/s
  operations over time/1 worker, 50% reads:
    6.89 M/s
  operations over time/1 worker, 90% reads:
    3.40 M/s
  operations over time/2 workers, 10% reads:
    6.52 M/s
  operations over time/2 workers, 50% reads:
    6.79 M/s
  operations over time/2 workers, 90% reads:
    7.44 M/s
  operations over time/4 workers, 10% reads:
    6.40 M/s
  operations over time/4 workers, 50% reads:
    6.04 M/s
  operations over time/4 workers, 90% reads:
    7.51 M/s
  operations over time/8 workers, 10% reads:
    6.44 M/s
  operations over time/8 workers, 50% reads:
    6.68 M/s
  operations over time/8 workers, 90% reads:
    7.03 M/s
  operations over time/one domain, 10% reads:
    6.95 M/s
  operations over time/one domain, 50% reads:
    11.14 M/s
  operations over time/one domain, 90% reads:
    12.50 M/s
  time per operation/1 worker, 10% reads:
    153.70 ns
  time per operation/1 worker, 50% reads:
    145.16 ns
  time per operation/1 worker, 90% reads:
    294.55 ns
  time per operation/2 workers, 10% reads:
    306.51 ns
  time per operation/2 workers, 50% reads:
    294.63 ns
  time per operation/2 workers, 90% reads:
    268.94 ns
  time per operation/4 workers, 10% reads:
    624.61 ns
  time per operation/4 workers, 50% reads:
    662.08 ns
  time per operation/4 workers, 90% reads:
    532.57 ns
  time per operation/8 workers, 10% reads:
    1243.03 ns
  time per operation/8 workers, 50% reads:
    1197.17 ns
  time per operation/8 workers, 90% reads:
    1137.77 ns
  time per operation/one domain, 10% reads:
    143.93 ns
  time per operation/one domain, 50% reads:
    89.79 ns
  time per operation/one domain, 90% reads:
    80.01 ns
Queue:
  messages over time/one domain:
    21.64 M/s
  time per message/one domain:
    46.21 ns
Ref with Mutex:
  ops over time/cas int:
    18.45 M/s
  ops over time/get:
    20.17 M/s
  ops over time/incr:
    20.99 M/s
  ops over time/push & pop:
    17.03 M/s
  ops over time/swap:
    17.41 M/s
  ops over time/xchg int:
    17.93 M/s
  time per op/cas int:
    54.19 ns
  time per op/get:
    49.57 ns
  time per op/incr:
    47.63 ns
  time per op/push & pop:
    58.70 ns
  time per op/swap:
    57.44 ns
  time per op/xchg int:
    55.76 ns
Ref with [@poll error]:
  ops over time/cas int:
    125.66 M/s
  ops over time/get:
    4039.36 M/s
  ops over time/incr:
    372.23 M/s
  ops over time/push & pop:
    53.48 M/s
  ops over time/swap:
    59.93 M/s
  ops over time/xchg int:
    135.14 M/s
  time per op/cas int:
    7.96 ns
  time per op/get:
    0.25 ns
  time per op/incr:
    2.69 ns
  time per op/push & pop:
    18.70 ns
  time per op/swap:
    16.69 ns
  time per op/xchg int:
    7.40 ns
Stack:
  messages over time/one domain:
    23.30 M/s
  time per message/one domain:
    42.93 ns
Unix:
  blocking reads over time/1 worker:
    0.30 M/s
  time per blocking read/1 worker:
    3381.20 ns
2025-11-14 12:01.56 ---> saved as "157a7d7a0fb4edd12c84b3a69125ff9f2b0dea0f279ae1bf278825669aad3a5e"
Job succeeded
2025-11-14 12:01.56: Job succeeded