Organisationsocaml-multicoremulticore-bench298c5d ()debian-12-4.14_arm64_opam-2.2

debian-12-4.14_arm64_opam-2.2

Logs

Show full logs
2024-09-11 13:30.32: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (298c5d1e24da82a9640825ef4a68b9aef88daaca) (linux-arm64:debian-12-4.14_arm64_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264
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 298c5d1e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264
# debian-12-4.14_arm64_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 0329818dcfd3de1a722ea09eeeed94cd24caa375 || git fetch origin master) && git reset -q --hard 0329818dcfd3de1a722ea09eeeed94cd24caa375 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 multicore-bench.opam ./
RUN opam pin add -yn multicore-bench.dev './'
ENV DEPS="astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.6.8 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.2 --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

2024-09-11 13:30.32: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264-debian-12-4.14_arm64_opam-2.2-cb3e469ccf1511945bbef2241f437110"
2024-09-11 13:30.32: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264)
 (comment debian-12-4.14_arm64_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /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 0329818dcfd3de1a722ea09eeeed94cd24caa375 || git fetch origin master) && git reset -q --hard 0329818dcfd3de1a722ea09eeeed94cd24caa375 && 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 './'"))
 (env DEPS "astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.6.8 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.2 --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"))
)

2024-09-11 13:30.32: Waiting for resource in pool OCluster
2024-09-11 14:19.31: Waiting for worker…
2024-09-11 16:32.41: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
All commits already cached
HEAD is now at 298c5d1 Add a naïve bounded queue benchmark

(from ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264' locally
docker.io/ocaml/opam@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264: Pulling from ocaml/opam
24e337f7a758: Already exists
c7503b606140: Pulling fs layer
8e63de27d01f: Pulling fs layer
f00d2b5315b8: Pulling fs layer
69d7461ae3b3: Pulling fs layer
69d7461ae3b3: Waiting
8e63de27d01f: Verifying Checksum
8e63de27d01f: Download complete
f00d2b5315b8: Verifying Checksum
f00d2b5315b8: Download complete
69d7461ae3b3: Verifying Checksum
69d7461ae3b3: Download complete
c7503b606140: Verifying Checksum
c7503b606140: Download complete
c7503b606140: Pull complete
8e63de27d01f: Pull complete
f00d2b5315b8: Pull complete
69d7461ae3b3: Pull complete
Digest: sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264
Status: Downloaded newer image for ocaml/opam@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264
2024-09-11 16:32.41 ---> using "950c89a2ebbee9ce8bcf1014e6ad1912c5366217e3bcadb5fece9fe7a308db32" from cache

/: (comment debian-12-4.14_arm64_opam-2.2)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-09-11 16:32.41 ---> using "5f6d8154718cb0ff38006f05185a935cc97d7291dd8304a3d8d3590bf05d7a9a" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-11 16:32.41 ---> using "93c36ecae88c8a06107b4ff201e94ccb388fcd8d06b3d88d3c7cf325bd028b23" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-09-11 16:32.41 ---> using "2957ff589e1455219f3bc480f9ce744f201e51b90321e5f1eb0e147b2267ba33" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-09-11 16:32.41 ---> using "572391a6db702c8d69fe6500cfbd9e4625b2f718288379f88382f6c16cfc539f" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 0329818dcfd3de1a722ea09eeeed94cd24caa375 || git fetch origin master) && git reset -q --hard 0329818dcfd3de1a722ea09eeeed94cd24caa375 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   e89899ac28..0329818dcf  master     -> origin/master
0329818dcf Merge pull request #26527 from dbuenzli/b0-publish-mtime.2.1.0-etc-b00ab5a8b3cb608d

<><> 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.
# Run eval $(opam env) to update the current shell environment
2024-09-11 16:32.41 ---> using "00682b7d3e1d60d14c2e3d7d219a8dd2edd1cdcb1fddf26dc743d1abb73d0831" from cache

/src: (copy (src multicore-bench.opam) (dst ./))
2024-09-11 16:32.42 ---> saved as "4abf985ecf629c77d1eb4ae62604ac1af03963b4d7a4942867da544afbe17a64"

/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)
2024-09-11 16:32.44 ---> saved as "f6bca8d2075a6861d50af6460dd3d44d84ee67497233066cab3fc5a9a018ed22"

/src: (env DEPS "astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.6.8 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.2 --depext-only -y multicore-bench.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main arm64 Packages [8689 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages.diff/Index [11.7 kB]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [176 kB]
- Get:7 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1115 B]
- Get:7 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1115 B]
- Fetched 9132 kB in 1s (7104 kB/s)
- Reading package lists...

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[multicore-bench.dev] synchronised (no changes)

[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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 is already installed (current version is 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).
2024-09-11 16:32.58 ---> saved as "778028f2835d4bc8c367c711d92851c6226de76915355055d56106e02a6fae74"

/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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 is already installed (current version is 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 23 packages
  - install astring            0.8.5
  - install backoff            0.1.0
  - install camlp-streams      5.0.1
  - install cmdliner           1.3.0
  - install cppo               1.7.0
  - install csexp              1.5.2
  - install domain-local-await 1.0.1
  - install domain_shims       0.1.0
  - install dune               3.16.0
  - install fmt                0.9.0
  - install logs               0.7.0
  - install mdx                2.4.1
  - install mtime              2.1.0
  - install multicore-magic    2.3.0
  - install ocaml-version      3.6.8
  - 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 camlp-streams.5.0.1  (cached)
-> retrieved backoff.0.1.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cppo.1.7.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 mtime.2.1.0  (cached)
-> retrieved mdx.2.4.1  (cached)
-> retrieved multicore-magic.2.3.0  (cached)
-> retrieved ocaml-version.3.6.8  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.12.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved topkg.1.0.7  (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.16.0
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed camlp-streams.5.0.1
-> installed backoff.0.1.0
-> installed multicore-magic.2.3.0
-> installed ocaml-version.3.6.8
-> installed domain-local-await.1.0.1
-> installed re.1.12.0
-> installed cppo.1.7.0
-> installed yojson.2.2.2
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-11 16:33.34 ---> saved as "082e8aa17cf0e3be464629d5b1b96f412e187e907f04859888824162341b7574"

/src: (copy (src .) (dst /src))
2024-09-11 16:33.35 ---> saved as "9d43f4066e83ed2a8340f04b0c71f98b60745a2d7556e9eb280fe1b9367faa24"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/bench && ./main.exe -brief)
Atomic:
  time per op/get:
    1.26 ns
  ops over time/get:
    792.51 M/s
  time per op/incr:
    2.35 ns
  ops over time/incr:
    425.46 M/s
  time per op/push & pop:
    11.00 ns
  ops over time/push & pop:
    90.89 M/s
  time per op/cas int:
    4.85 ns
  ops over time/cas int:
    206.37 M/s
  time per op/xchg int:
    4.57 ns
  ops over time/xchg int:
    218.64 M/s
  time per op/swap:
    9.71 ns
  ops over time/swap:
    103.00 M/s
Atomic incr:
  time per op/CAS, 1 domains:
    4.50 ns
  ops over time/CAS, 1 domains:
    222.10 M/s
  time per op/CAS with backoff, 1 domains:
    5.09 ns
  ops over time/CAS with backoff, 1 domains:
    196.51 M/s
  time per op/Incr, 1 domains:
    4.08 ns
  ops over time/Incr, 1 domains:
    245.39 M/s
Bounded_q:
  time per message/one domain:
    76.87 ns
  messages over time/one domain:
    13.01 M/s
Hashtbl:
  time per operation/one domain, 10% reads:
    40.60 ns
  operations over time/one domain, 10% reads:
    24.63 M/s
  time per operation/one domain, 50% reads:
    39.87 ns
  operations over time/one domain, 50% reads:
    25.08 M/s
  time per operation/one domain, 90% reads:
    30.34 ns
  operations over time/one domain, 90% reads:
    32.96 M/s
  time per operation/1 worker, 10% reads:
    64.75 ns
  operations over time/1 worker, 10% reads:
    15.44 M/s
  time per operation/2 workers, 10% reads:
    138.81 ns
  operations over time/2 workers, 10% reads:
    14.41 M/s
  time per operation/4 workers, 10% reads:
    452.67 ns
  operations over time/4 workers, 10% reads:
    8.87 M/s
  time per operation/8 workers, 10% reads:
    1493.03 ns
  operations over time/8 workers, 10% reads:
    5.36 M/s
  time per operation/1 worker, 50% reads:
    68.92 ns
  operations over time/1 worker, 50% reads:
    14.59 M/s
  time per operation/2 workers, 50% reads:
    136.28 ns
  operations over time/2 workers, 50% reads:
    14.68 M/s
  time per operation/4 workers, 50% reads:
    465.04 ns
  operations over time/4 workers, 50% reads:
    8.60 M/s
  time per operation/8 workers, 50% reads:
    1352.84 ns
  operations over time/8 workers, 50% reads:
    5.91 M/s
  time per operation/1 worker, 90% reads:
    57.62 ns
  operations over time/1 worker, 90% reads:
    17.36 M/s
  time per operation/2 workers, 90% reads:
    116.71 ns
  operations over time/2 workers, 90% reads:
    17.14 M/s
  time per operation/4 workers, 90% reads:
    482.31 ns
  operations over time/4 workers, 90% reads:
    8.40 M/s
  time per operation/8 workers, 90% reads:
    1127.12 ns
  operations over time/8 workers, 90% reads:
    7.10 M/s
Queue:
  time per message/one domain:
    25.54 ns
  messages over time/one domain:
    39.16 M/s
Ref with Mutex:
  time per op/get:
    24.17 ns
  ops over time/get:
    41.37 M/s
  time per op/incr:
    24.01 ns
  ops over time/incr:
    41.66 M/s
  time per op/push & pop:
    29.96 ns
  ops over time/push & pop:
    33.38 M/s
  time per op/cas int:
    28.73 ns
  ops over time/cas int:
    34.81 M/s
  time per op/xchg int:
    29.06 ns
  ops over time/xchg int:
    34.41 M/s
  time per op/swap:
    27.97 ns
  ops over time/swap:
    35.75 M/s
Ref with [@poll error]:
  time per op/get:
    1.17 ns
  ops over time/get:
    857.04 M/s
  time per op/incr:
    1.90 ns
  ops over time/incr:
    527.42 M/s
  time per op/push & pop:
    11.50 ns
  ops over time/push & pop:
    86.94 M/s
  time per op/cas int:
    4.80 ns
  ops over time/cas int:
    208.51 M/s
  time per op/xchg int:
    4.58 ns
  ops over time/xchg int:
    218.26 M/s
  time per op/swap:
    9.75 ns
  ops over time/swap:
    102.58 M/s
Stack:
  time per message/one domain:
    22.18 ns
  messages over time/one domain:
    45.08 M/s
Unix:
  time per blocking read/1 worker:
    1472.00 ns
  blocking reads over time/1 worker:
    0.68 M/s
2024-09-11 16:33.41 ---> saved as "188460354f9db97371fb8cb392ec542e0eabd3851e91c1176dcd46ac9b1964be"
Job succeeded
2024-09-11 16:33.41: Job succeeded