Organisationsocaml-multicoremulticore-benchd2dcd9 ()debian-12-4.14_s390x_opam-2.3

debian-12-4.14_s390x_opam-2.3

Link Copied
Code Copied

Logs

2025-06-12 14:21.29: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (d2dcd9f17eb27ef2e967e6e40389827f80fd9514) (linux-s390x:debian-12-4.14_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:1ffce482488eac184a17cb8a69cee2f0dcf6dfa28ee08dd73f421c4957253c0c
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 d2dcd9f1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:1ffce482488eac184a17cb8a69cee2f0dcf6dfa28ee08dd73f421c4957253c0c
# debian-12-4.14_s390x_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.1.3.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.19.1 fmt.0.10.0 logs.0.8.0 mdx.2.5.0 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.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.8 yojson.3.0.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-06-12 14:21.29: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-4.14@sha256:1ffce482488eac184a17cb8a69cee2f0dcf6dfa28ee08dd73f421c4957253c0c-debian-12-4.14_s390x_opam-2.3-5e4c8ffe3a82688c609d0a76996fa04b"
2025-06-12 14:21.29: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:1ffce482488eac184a17cb8a69cee2f0dcf6dfa28ee08dd73f421c4957253c0c)
(comment debian-12-4.14_s390x_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.1.3.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.19.1 fmt.0.10.0 logs.0.8.0 mdx.2.5.0 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.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.8 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.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-06-12 14:21.29: Waiting for resource in pool OCluster
2025-06-14 11:33.57: Waiting for worker…
2025-06-14 17:01.22: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
HEAD is now at d2dcd9f Try to avoid false sharing


(from ocaml/opam:debian-12-ocaml-4.14@sha256:1ffce482488eac184a17cb8a69cee2f0dcf6dfa28ee08dd73f421c4957253c0c)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:1ffce482488eac184a17cb8a69cee2f0dcf6dfa28ee08dd73f421c4957253c0c' locally
docker.io/ocaml/opam@sha256:1ffce482488eac184a17cb8a69cee2f0dcf6dfa28ee08dd73f421c4957253c0c: Pulling from ocaml/opam
a5e7ec27bb28: Already exists
1a0a5e1ae837: Already exists
af5cbbca5a95: Already exists
e38b34443d5d: Already exists
6e118d4646e7: Already exists
772a298ca0a2: Already exists
3d4175a24c80: Already exists
934849f2d033: Already exists
53a641444425: Already exists
15d735fb1af2: Already exists
bec537f5413b: Already exists
d9da8ae6a8ab: Already exists
9e2bba1421b6: Already exists
73dff342593d: Already exists
cffcef3786c1: Already exists
1f29ff394d17: Already exists
290ee4e4e08b: Already exists
6c6c913d6376: Already exists
08dd7cf10b89: Already exists
a23c090c6420: Already exists
4f4fb700ef54: Already exists
2730820e2971: Already exists
b97e8fd89a0d: Already exists
3ccc56a83714: Already exists
348c052fbda1: Already exists
981024d3975f: Already exists
5de21fc49d0e: Already exists
ea4c40d04363: Already exists
308356ae1ebf: Already exists
aa560d2e1541: Already exists
f7b4bb836469: Already exists
9d7ef2ee0716: Already exists
ab70bd6b0f1d: Already exists
588bc858f107: Already exists
43a4fc81c76e: Already exists
7f8048c7e6ce: Already exists
fddea7f6c454: Already exists
5e5429890309: Already exists
d6d0411a6918: Pulling fs layer
17f147029e45: Pulling fs layer
6dd39dd1fcba: Pulling fs layer
a3aaa61ab204: Pulling fs layer
a3aaa61ab204: Waiting
17f147029e45: Verifying Checksum
17f147029e45: Download complete
6dd39dd1fcba: Verifying Checksum
6dd39dd1fcba: Download complete
a3aaa61ab204: Verifying Checksum
a3aaa61ab204: Download complete
d6d0411a6918: Verifying Checksum
d6d0411a6918: Download complete
d6d0411a6918: Pull complete
17f147029e45: Pull complete
6dd39dd1fcba: Pull complete
a3aaa61ab204: Pull complete
Digest: sha256:1ffce482488eac184a17cb8a69cee2f0dcf6dfa28ee08dd73f421c4957253c0c
Status: Downloaded newer image for ocaml/opam@sha256:1ffce482488eac184a17cb8a69cee2f0dcf6dfa28ee08dd73f421c4957253c0c
2025-06-14 17:01.22 ---> using "f04b843bee7ae47bda153d751ae56ee0b5ce5385704bf12473d4734c6c587952" from cache


/: (comment debian-12-4.14_s390x_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-06-14 17:01.22 ---> using "e5d0bfe0af68005ff21bcecf32e0f61408ac40e253fbdfeb6fde2593b5282a7d" 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.


Continue? [y/n] y
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.


Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-14 17:01.22 ---> using "6d99e9d0c43298c002cde5a2bda647f5790fb9b530059946643370cbae477a94" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-55-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-14 17:01.22 ---> using "383bed55cde2c85868ef7c4d86e57818c104276ae8fc8e6854e10fdbdbb3feff" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-06-14 17:01.22 ---> using "5fe78da35ca2d82d3fe7f60fe29c40f9c4a541ca935796d16eaa35959460066e" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
0d013e603b..a28eb8a148  master     -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1


<><> 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-06-14 17:01.22 ---> using "0cbd61b89dcd7ed08313500e5fcbb0dabf9e027eadd36553d1f98bbcd62d8dbf" from cache


/src: (copy (src multicore-bench.opam) (dst ./))
2025-06-14 17:01.25 ---> saved as "0136e0b434e80bb0c771c70831941a24e40cca99688e885717fefbe601cdc500"


/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-06-14 17:01.31 ---> saved as "896a45c902afedf56dcbd5b17884ea5ff6ecee7dce395275359c7ab49f1c3306"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-14 17:01.32 ---> saved as "3310fcffea8c425710634fdb09f1c146255459298451c81695f68444549c4299"


/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.1.3.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.19.1 fmt.0.10.0 logs.0.8.0 mdx.2.5.0 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.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.8 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.3 --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 s390x Packages [8458 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main s390x Packages.diff/Index [17.3 kB]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main s390x Packages [233 kB]
- Get:7 http://deb.debian.org/debian bookworm-updates/main s390x Packages T-2025-06-13-1410.14-F-2025-06-13-1410.14.pdiff [434 B]
- Get:7 http://deb.debian.org/debian bookworm-updates/main s390x Packages T-2025-06-13-1410.14-F-2025-06-13-1410.14.pdiff [434 B]
- Fetched 8964 kB in 1s (6456 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.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-06-14 17:01.52 ---> saved as "c79f215b9afe9fa3e5ac16b4f7a5ae43e5b33f2b14b76301ecedc8b70939d2b0"


/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 23 packages
- install astring            0.8.5
- install backoff            0.1.1
- install camlp-streams      5.0.1
- install cmdliner           1.3.0
- install cppo               1.8.0
- install csexp              1.5.2
- install domain-local-await 1.0.1
- install domain_shims       0.1.0
- install dune               3.19.1
- install fmt                0.10.0
- install logs               0.8.0
- install mdx                2.5.0
- install mtime              2.1.0
- install multicore-magic    2.3.1
- install ocaml-version      4.0.1
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install re                 1.12.0
- install result             1.5
- install seq                base
- install thread-table       1.0.0
- install topkg              1.0.8
- install yojson             3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.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.10.0  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved mdx.2.5.0  (cached)
-> retrieved multicore-magic.2.3.1  (cached)
-> retrieved ocaml-version.4.0.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved dune.3.19.1  (cached)
-> retrieved seq.base  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed seq.base
-> installed topkg.1.0.8
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed mtime.2.1.0
-> installed logs.0.8.0
-> installed dune.3.19.1
-> installed camlp-streams.5.0.1
-> installed backoff.0.1.1
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed ocaml-version.4.0.1
-> installed multicore-magic.2.3.1
-> installed cppo.1.8.0
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed domain-local-await.1.0.1
-> installed re.1.12.0
-> installed yojson.3.0.0
-> installed mdx.2.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-14 17:02.56 ---> saved as "1beb35a511139ba372267ae450eb73390ba8ed5b330abeff2b0f9da1c3b6f34a"


/src: (copy (src .) (dst /src))
2025-06-14 17:02.58 ---> saved as "c2a7a7828d31a4ee2235c2334fda2735dbb352a41cb2e4a09fcd400f85f1ef03"


/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:
197.21 M/s
ops over time/get:
602.12 M/s
ops over time/incr:
290.27 M/s
ops over time/push & pop:
104.75 M/s
ops over time/swap:
124.36 M/s
ops over time/xchg int:
198.81 M/s
time per op/cas int:
5.07 ns
time per op/get:
1.66 ns
time per op/incr:
3.45 ns
time per op/push & pop:
9.55 ns
time per op/swap:
8.04 ns
time per op/xchg int:
5.03 ns
Atomic incr:
ops over time/CAS, 1 domains:
208.67 M/s
ops over time/CAS with backoff, 1 domains:
201.42 M/s
ops over time/Incr, 1 domains:
415.12 M/s
time per op/CAS, 1 domains:
4.79 ns
time per op/CAS with backoff, 1 domains:
4.96 ns
time per op/Incr, 1 domains:
2.41 ns
Bounded_q:
messages over time/one domain:
14.91 M/s
time per message/one domain:
67.06 ns
Hashtbl:
operations over time/1 worker, 10% reads:
16.94 M/s
operations over time/1 worker, 50% reads:
16.86 M/s
operations over time/1 worker, 90% reads:
19.32 M/s
operations over time/2 workers, 10% reads:
16.90 M/s
operations over time/2 workers, 50% reads:
15.63 M/s
operations over time/2 workers, 90% reads:
19.06 M/s
operations over time/4 workers, 10% reads:
15.71 M/s
operations over time/4 workers, 50% reads:
16.34 M/s
operations over time/4 workers, 90% reads:
18.80 M/s
operations over time/8 workers, 10% reads:
11.26 M/s
operations over time/8 workers, 50% reads:
16.47 M/s
operations over time/8 workers, 90% reads:
18.78 M/s
operations over time/one domain, 10% reads:
22.93 M/s
operations over time/one domain, 50% reads:
21.60 M/s
operations over time/one domain, 90% reads:
28.44 M/s
time per operation/1 worker, 10% reads:
59.04 ns
time per operation/1 worker, 50% reads:
59.30 ns
time per operation/1 worker, 90% reads:
51.75 ns
time per operation/2 workers, 10% reads:
118.32 ns
time per operation/2 workers, 50% reads:
128.33 ns
time per operation/2 workers, 90% reads:
104.95 ns
time per operation/4 workers, 10% reads:
254.59 ns
time per operation/4 workers, 50% reads:
244.77 ns
time per operation/4 workers, 90% reads:
212.81 ns
time per operation/8 workers, 10% reads:
710.20 ns
time per operation/8 workers, 50% reads:
485.84 ns
time per operation/8 workers, 90% reads:
426.06 ns
time per operation/one domain, 10% reads:
43.61 ns
time per operation/one domain, 50% reads:
46.29 ns
time per operation/one domain, 90% reads:
35.17 ns
Queue:
messages over time/one domain:
31.14 M/s
time per message/one domain:
32.11 ns
Ref with Mutex:
ops over time/cas int:
60.99 M/s
ops over time/get:
69.39 M/s
ops over time/incr:
71.36 M/s
ops over time/push & pop:
57.99 M/s
ops over time/swap:
60.75 M/s
ops over time/xchg int:
63.63 M/s
time per op/cas int:
16.40 ns
time per op/get:
14.41 ns
time per op/incr:
14.01 ns
time per op/push & pop:
17.24 ns
time per op/swap:
16.46 ns
time per op/xchg int:
15.72 ns
Ref with [@poll error]:
ops over time/cas int:
128.39 M/s
ops over time/get:
609.41 M/s
ops over time/incr:
494.36 M/s
ops over time/push & pop:
111.84 M/s
ops over time/swap:
127.59 M/s
ops over time/xchg int:
131.90 M/s
time per op/cas int:
7.79 ns
time per op/get:
1.64 ns
time per op/incr:
2.02 ns
time per op/push & pop:
8.94 ns
time per op/swap:
7.84 ns
time per op/xchg int:
7.58 ns
Stack:
messages over time/one domain:
39.70 M/s
time per message/one domain:
25.19 ns
Unix:
blocking reads over time/1 worker:
1.36 M/s
time per blocking read/1 worker:
735.55 ns
2025-06-14 17:03.15 ---> saved as "b7830bf0d54011a784737c26228ed3010ab803f8846c471cf6d0c7e14bdd0955"
Job succeeded
2025-06-14 17:03.16: Job succeeded