Organisationsocaml-multicoremulticore-benchadb1f6 ()(lower-bound)

(lower-bound)

Logs

Show full logs
2025-05-05 07:58.07: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (adb1f6a5d252f2a3952c65542f8dba1226ae5c3e) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.12@sha256:4b9efbcf4ac093bf22370a906fdf796212f8c853c23cde244396a52d1fad9c3b
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 adb1f6a5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.12@sha256:4b9efbcf4ac093bf22370a906fdf796212f8c853c23cde244396a52d1fad9c3b
# 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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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.1.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.14.0 fmt.0.8.7 jbuilder.1.0+beta20.1 logs.0.7.0 mdx.2.4.0 mtime.2.0.0 multicore-magic.2.1.0 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.2.4.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.3 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-05-05 07:58.07: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-4.12@sha256:4b9efbcf4ac093bf22370a906fdf796212f8c853c23cde244396a52d1fad9c3b-debian-12-4.12_opam-2.3-435dab50bf1125c9341561c20784ce59"
2025-05-05 07:58.07: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.12@sha256:4b9efbcf4ac093bf22370a906fdf796212f8c853c23cde244396a52d1fad9c3b)
 (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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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.1.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.14.0 fmt.0.8.7 jbuilder.1.0+beta20.1 logs.0.7.0 mdx.2.4.0 mtime.2.0.0 multicore-magic.2.1.0 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.2.4.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.3 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-05-05 07:58.07: Waiting for resource in pool OCluster
2025-05-05 07:58.07: Waiting for worker…
2025-05-05 07:58.37: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
HEAD is now at deca528 Ignore results from ops on `ref` benchmarks
HEAD is now at adb1f6a Bench queues and stacks with heap allocated blocks

(from ocaml/opam:debian-12-ocaml-4.12@sha256:4b9efbcf4ac093bf22370a906fdf796212f8c853c23cde244396a52d1fad9c3b)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.12@sha256:4b9efbcf4ac093bf22370a906fdf796212f8c853c23cde244396a52d1fad9c3b' locally
docker.io/ocaml/opam@sha256:4b9efbcf4ac093bf22370a906fdf796212f8c853c23cde244396a52d1fad9c3b: Pulling from ocaml/opam
d49b8f2567a0: Pulling fs layer
d49b8f2567a0: Verifying Checksum
d49b8f2567a0: Download complete
d49b8f2567a0: Pull complete
Digest: sha256:4b9efbcf4ac093bf22370a906fdf796212f8c853c23cde244396a52d1fad9c3b
Status: Downloaded newer image for ocaml/opam@sha256:4b9efbcf4ac093bf22370a906fdf796212f8c853c23cde244396a52d1fad9c3b
2025-05-05 08:00.23 ---> saved as "65df39e46087b3ecae64c26caf6e244fd41db9e647c1da8d64c1947134959a25"

/: (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-05-05 08:00.23 ---> saved as "b5d652509734962d1a7014d5ab085b639f93fbb2180567acb38d2ae708201d15"

/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 39 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=39 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-05 08:00.54 ---> saved as "24add2ea864b1f1102fee0e8bea316d188250f8ccb4d4cffbf22e37853fac28a"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.12.1
2.3.0
2025-05-05 08:00.55 ---> saved as "9743b020fa0ce6e522261813c725dd377db4a4d2834a0c398eb2c42b78b18f5c"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-05-05 08:00.55 ---> saved as "f2ba49c63e5e2ac53f6dea1ab290722c1f6a6515c562c5e1e843f5431034b6bd"

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

<><> 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-05-05 08:01.18 ---> saved as "19fe548c4ba72e832e92db0fab091e9c4faeaa9a8c7cb72eb56190677a4a4985"

/src: (copy (src multicore-bench.opam) (dst ./))
2025-05-05 08:01.18 ---> saved as "d74b97dc3f25803ca224ad1f92f82248cf0a0afae7799a9b5f2170794490edb0"

/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-05-05 08:01.20 ---> saved as "02a34a40b37156f1798c67c007df6b77a7a855e4b1e0ab17eed9eadb55d209bb"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-05 08:01.20 ---> saved as "25392bc843829ebe58fc0da73a49a40abc5cdb82f78a57164cce1d7106b4e153"

/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.1.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.14.0 fmt.0.8.7 jbuilder.1.0+beta20.1 logs.0.7.0 mdx.2.4.0 mtime.2.0.0 multicore-magic.2.1.0 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.2.4.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.3 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 [258 kB]
- Fetched 361 kB in 0s (1201 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-05-05 08:01.34 ---> saved as "9488308ae5f346d030b13da00f06d59836e9f0d21fd3a56b48fd3f8342b393cb"

/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.1.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.14.0
  - install fmt                0.8.7
  - install jbuilder           1.0+beta20.1 (deprecated)
  - install logs               0.7.0
  - install mdx                2.4.0
  - install mtime              2.0.0
  - install multicore-magic    2.1.0
  - install ocaml-version      2.4.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.3
  - install yojson             2.1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.1  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.1.0  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-m4.1
-> 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.7  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved mdx.2.4.0  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved mtime.2.0.0  (cached)
-> retrieved multicore-magic.2.1.0  (cached)
-> retrieved ocaml-version.2.4.0  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved dune.3.14.0  (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.3  (cached)
-> retrieved yojson.2.1.0  (cached)
-> installed cmdliner.1.1.0
-> 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.3
-> installed mtime.2.0.0
-> installed astring.0.8.5
-> installed dune.3.14.0
-> installed domain_shims.0.1.0
-> installed seq.0.3
-> installed multicore-magic.2.1.0
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed stdlib-shims.0.1.0
-> installed backoff.0.1.1
-> installed camlp-streams.5.0.1
-> installed ocaml-version.2.4.0
-> installed csexp.1.3.2
-> installed domain-local-await.1.0.1
-> installed fmt.0.8.7
-> 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-05-05 08:02.20 ---> saved as "ee9467ce7cb98d084bba35f466dae87fad814bd2d9894b89d5d1a55668e55e3e"

/src: (copy (src .) (dst /src))
2025-05-05 08:02.20 ---> saved as "a74bb8baa90ea9b5773ce62697e4181bd65dde8b4de6fe6a852707b673ad1a10"

/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:
    148.41 M/s
  ops over time/get:
    516.60 M/s
  ops over time/incr:
    239.61 M/s
  ops over time/push & pop:
    48.28 M/s
  ops over time/swap:
    96.37 M/s
  ops over time/xchg int:
    135.90 M/s
  time per op/cas int:
    6.74 ns
  time per op/get:
    1.94 ns
  time per op/incr:
    4.17 ns
  time per op/push & pop:
    20.71 ns
  time per op/swap:
    10.38 ns
  time per op/xchg int:
    7.36 ns
Atomic incr:
  ops over time/CAS, 1 domains:
    146.28 M/s
  ops over time/CAS with backoff, 1 domains:
    150.01 M/s
  ops over time/Incr, 1 domains:
    213.18 M/s
  time per op/CAS, 1 domains:
    6.84 ns
  time per op/CAS with backoff, 1 domains:
    6.67 ns
  time per op/Incr, 1 domains:
    4.69 ns
Bounded_q:
  messages over time/one domain:
    7.90 M/s
  time per message/one domain:
    126.65 ns
Hashtbl:
  operations over time/1 worker, 10% reads:
    9.08 M/s
  operations over time/1 worker, 50% reads:
    9.08 M/s
  operations over time/1 worker, 90% reads:
    8.89 M/s
  operations over time/2 workers, 10% reads:
    8.87 M/s
  operations over time/2 workers, 50% reads:
    8.92 M/s
  operations over time/2 workers, 90% reads:
    8.80 M/s
  operations over time/4 workers, 10% reads:
    8.91 M/s
  operations over time/4 workers, 50% reads:
    8.99 M/s
  operations over time/4 workers, 90% reads:
    9.35 M/s
  operations over time/8 workers, 10% reads:
    8.75 M/s
  operations over time/8 workers, 50% reads:
    8.90 M/s
  operations over time/8 workers, 90% reads:
    9.42 M/s
  operations over time/one domain, 10% reads:
    15.04 M/s
  operations over time/one domain, 50% reads:
    16.01 M/s
  operations over time/one domain, 90% reads:
    16.76 M/s
  time per operation/1 worker, 10% reads:
    110.12 ns
  time per operation/1 worker, 50% reads:
    110.17 ns
  time per operation/1 worker, 90% reads:
    112.49 ns
  time per operation/2 workers, 10% reads:
    225.49 ns
  time per operation/2 workers, 50% reads:
    224.33 ns
  time per operation/2 workers, 90% reads:
    227.24 ns
  time per operation/4 workers, 10% reads:
    448.82 ns
  time per operation/4 workers, 50% reads:
    444.88 ns
  time per operation/4 workers, 90% reads:
    427.88 ns
  time per operation/8 workers, 10% reads:
    914.75 ns
  time per operation/8 workers, 50% reads:
    899.32 ns
  time per operation/8 workers, 90% reads:
    849.05 ns
  time per operation/one domain, 10% reads:
    66.47 ns
  time per operation/one domain, 50% reads:
    62.45 ns
  time per operation/one domain, 90% reads:
    59.68 ns
Queue:
  messages over time/one domain:
    35.79 M/s
  time per message/one domain:
    27.94 ns
Ref with Mutex:
  ops over time/cas int:
    18.53 M/s
  ops over time/get:
    20.26 M/s
  ops over time/incr:
    20.16 M/s
  ops over time/push & pop:
    18.70 M/s
  ops over time/swap:
    18.95 M/s
  ops over time/xchg int:
    19.14 M/s
  time per op/cas int:
    53.98 ns
  time per op/get:
    49.37 ns
  time per op/incr:
    49.61 ns
  time per op/push & pop:
    53.47 ns
  time per op/swap:
    52.76 ns
  time per op/xchg int:
    52.25 ns
Ref with [@poll error]:
  ops over time/cas int:
    149.25 M/s
  ops over time/get:
    505.53 M/s
  ops over time/incr:
    262.54 M/s
  ops over time/push & pop:
    48.33 M/s
  ops over time/swap:
    95.54 M/s
  ops over time/xchg int:
    155.88 M/s
  time per op/cas int:
    6.70 ns
  time per op/get:
    1.98 ns
  time per op/incr:
    3.81 ns
  time per op/push & pop:
    20.69 ns
  time per op/swap:
    10.47 ns
  time per op/xchg int:
    6.42 ns
Stack:
  messages over time/one domain:
    39.81 M/s
  time per message/one domain:
    25.12 ns
Unix:
  blocking reads over time/1 worker:
    0.39 M/s
  time per blocking read/1 worker:
    2586.59 ns
2025-05-05 08:02.23 ---> saved as "010e72bf8cfde4d7a3a4334fb70b9092d2af7efc566c4933b67c32280c611f01"
Job succeeded
2025-05-05 08:02.23: Job succeeded