2025-02-05 08:34.24: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (deca5287e35206850ec28880adae0705730115e9) (linux-s390x:debian-12-4.14_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:3c91d2fd1b0664e7452862b3f6311beebfc739670ce0b303a6f235e5d9bbab9a
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 deca5287
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:3c91d2fd1b0664e7452862b3f6311beebfc739670ce0b303a6f235e5d9bbab9a
# 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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.17.2 fmt.0.9.0 logs.0.7.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.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.8 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.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-02-05 08:34.24: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-4.14@sha256:3c91d2fd1b0664e7452862b3f6311beebfc739670ce0b303a6f235e5d9bbab9a-debian-12-4.14_s390x_opam-2.3-b9416d976b71fa626d11bcc564080205"
2025-02-05 08:34.24: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:3c91d2fd1b0664e7452862b3f6311beebfc739670ce0b303a6f235e5d9bbab9a)
(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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.17.2 fmt.0.9.0 logs.0.7.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.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.8 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.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-02-05 08:34.24: Waiting for resource in pool OCluster
2025-02-05 12:06.54: Waiting for worker…
2025-02-05 20:27.31: Got resource from pool OCluster
Building on s390x-worker-02.marist.ci.dev
All commits already cached
HEAD is now at deca528 Ignore results from ops on `ref` benchmarks
(from ocaml/opam:debian-12-ocaml-4.14@sha256:3c91d2fd1b0664e7452862b3f6311beebfc739670ce0b303a6f235e5d9bbab9a)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:3c91d2fd1b0664e7452862b3f6311beebfc739670ce0b303a6f235e5d9bbab9a' locally
docker.io/ocaml/opam@sha256:3c91d2fd1b0664e7452862b3f6311beebfc739670ce0b303a6f235e5d9bbab9a: Pulling from ocaml/opam
21aa15808dc8: Already exists
d25a97104e97: Already exists
f65680a00ae6: Already exists
9a7a8d403b91: Already exists
2ffe915ce14c: Already exists
b254a1eec312: Already exists
38f1be363536: Already exists
b9e4f4f23b91: Already exists
c0fac031a7cb: Already exists
d489f97642e5: Already exists
4517b9bdb052: Already exists
dd10bad1d888: Already exists
034a322c66c0: Already exists
9d449432df84: Already exists
ec711f8c8d02: Already exists
00c34fff1c74: Already exists
502be28af561: Already exists
064481ef1cd2: Already exists
e2aef212e6ac: Already exists
1b4b9e2b33cd: Already exists
4f4fb700ef54: Already exists
491309d4ab9f: Already exists
09ad64403577: Already exists
c539ffebe81e: Already exists
e21262dffcbc: Already exists
687114c20a60: Already exists
3b4f3dc8836b: Already exists
55044807af1b: Already exists
f0b83f251198: Already exists
3c84b9ec9462: Already exists
6ab4668b4026: Already exists
035fc17973ba: Already exists
66438f8df062: Already exists
2c9443628858: Already exists
4c77c496c4f8: Already exists
f7183a1a04aa: Already exists
72ba92e8e994: Already exists
98db3929d86c: Already exists
e28278c52e97: Already exists
4b944766872c: Already exists
93735eb0e520: Already exists
516ca7b7a67c: Already exists
Digest: sha256:3c91d2fd1b0664e7452862b3f6311beebfc739670ce0b303a6f235e5d9bbab9a
Status: Downloaded newer image for ocaml/opam@sha256:3c91d2fd1b0664e7452862b3f6311beebfc739670ce0b303a6f235e5d9bbab9a
2025-02-05 20:27.31 ---> using "d7c0705b25edc3c7de3a331def5d8cf2f331af5cfd17ad51e31bf108554cb27c" 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-02-05 20:27.31 ---> using "a4b97f8839bfe5fce19b6f98aa377180fd0acfeebe365bc97884edf820c9d9b9" 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
2025-02-05 20:27.31 ---> using "3f4516aedd8faafb5984865687af9f18d953e54be607a1209d888b8b3b34a159" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-52-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-02-05 20:27.31 ---> using "2fdecac0beae1f114f959362021f0d7fffecd02b7d9ef9515014a696f4b3ba14" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-05 20:27.31 ---> using "83eebc0666ce256bfdfc746dad1d44439ff161f62e4c2c4228ab375e2c2c388f" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
3e681a81f6..ca721f3132 master -> origin/master
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8
<><> 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.
# To update the current shell environment, run: eval $(opam env)
2025-02-05 20:27.31 ---> using "dae36cd4b118d5e34c1deb77fecacba3d6c8662a553f0a06e35395e859c2854b" from cache
/src: (copy (src multicore-bench.opam) (dst ./))
2025-02-05 20:27.32 ---> saved as "e29871f65433c95faf54e7a19bd98202fd87a283d376e11bf4cd0e0313d4706f"
/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-02-05 20:27.35 ---> saved as "01ec99371ef50e9c8897f2bb63b2905299a834e0def928e6c6e0347f09b04e19"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-05 20:27.36 ---> saved as "a143c6738f71b87dc9ed5e800ea50d7117222fd216f0f745797934326396d737"
/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.17.2 fmt.0.9.0 logs.0.7.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.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.8 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.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 s390x Packages [210 kB]
- Fetched 313 kB in 1s (604 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-02-05 20:27.48 ---> saved as "ade4118b75debde3f05a639bbf944ac44e1094b91b4c8a784cf12be2d96748a2"
/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.17.2
- install fmt 0.9.0
- install logs 0.7.0
- install mdx 2.5.0
- install mtime 2.1.0
- install multicore-magic 2.3.1
- install ocaml-version 3.7.3
- install ocamlbuild 0.15.0
- 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.7
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.1 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved astring.0.8.5 (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.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved mdx.2.5.0 (cached)
-> retrieved multicore-magic.2.3.1 (cached)
-> retrieved ocaml-version.3.7.3 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved dune.3.17.2 (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.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.8
-> installed seq.base
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed mtime.2.1.0
-> installed logs.0.7.0
-> installed dune.3.17.2
-> installed backoff.0.1.1
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed domain_shims.0.1.0
-> installed multicore-magic.2.3.1
-> installed ocaml-version.3.7.3
-> 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.2.2.2
-> installed mdx.2.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-05 20:28.53 ---> saved as "4a89cc5c122103b75063ecbb642776abd7d1b6285e8c38bb5f8ae549f0899107"
/src: (copy (src .) (dst /src))
2025-02-05 20:28.54 ---> saved as "6af043889e40900f6b90670307d18b0d88040b879ccbf7420c7d8b2ad6611369"
/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:
202.91 M/s
ops over time/get:
573.20 M/s
ops over time/incr:
285.35 M/s
ops over time/push & pop:
104.64 M/s
ops over time/swap:
122.38 M/s
ops over time/xchg int:
203.04 M/s
time per op/cas int:
4.93 ns
time per op/get:
1.74 ns
time per op/incr:
3.50 ns
time per op/push & pop:
9.56 ns
time per op/swap:
8.17 ns
time per op/xchg int:
4.93 ns
Atomic incr:
ops over time/CAS, 1 domains:
209.15 M/s
ops over time/CAS with backoff, 1 domains:
193.06 M/s
ops over time/Incr, 1 domains:
414.72 M/s
time per op/CAS, 1 domains:
4.78 ns
time per op/CAS with backoff, 1 domains:
5.18 ns
time per op/Incr, 1 domains:
2.41 ns
Bounded_q:
messages over time/one domain:
13.50 M/s
time per message/one domain:
74.09 ns
Hashtbl:
operations over time/1 worker, 10% reads:
16.17 M/s
operations over time/1 worker, 50% reads:
16.95 M/s
operations over time/1 worker, 90% reads:
18.38 M/s
operations over time/2 workers, 10% reads:
16.77 M/s
operations over time/2 workers, 50% reads:
16.97 M/s
operations over time/2 workers, 90% reads:
18.13 M/s
operations over time/4 workers, 10% reads:
16.38 M/s
operations over time/4 workers, 50% reads:
16.66 M/s
operations over time/4 workers, 90% reads:
19.16 M/s
operations over time/8 workers, 10% reads:
16.50 M/s
operations over time/8 workers, 50% reads:
16.35 M/s
operations over time/8 workers, 90% reads:
18.64 M/s
operations over time/one domain, 10% reads:
22.74 M/s
operations over time/one domain, 50% reads:
22.03 M/s
operations over time/one domain, 90% reads:
29.67 M/s
time per operation/1 worker, 10% reads:
61.84 ns
time per operation/1 worker, 50% reads:
58.98 ns
time per operation/1 worker, 90% reads:
54.40 ns
time per operation/2 workers, 10% reads:
119.29 ns
time per operation/2 workers, 50% reads:
117.88 ns
time per operation/2 workers, 90% reads:
110.33 ns
time per operation/4 workers, 10% reads:
244.14 ns
time per operation/4 workers, 50% reads:
240.17 ns
time per operation/4 workers, 90% reads:
208.82 ns
time per operation/8 workers, 10% reads:
484.83 ns
time per operation/8 workers, 50% reads:
489.36 ns
time per operation/8 workers, 90% reads:
429.13 ns
time per operation/one domain, 10% reads:
43.97 ns
time per operation/one domain, 50% reads:
45.40 ns
time per operation/one domain, 90% reads:
33.70 ns
Queue:
messages over time/one domain:
31.70 M/s
time per message/one domain:
31.55 ns
Ref with Mutex:
ops over time/cas int:
55.93 M/s
ops over time/get:
69.04 M/s
ops over time/incr:
69.58 M/s
ops over time/push & pop:
58.05 M/s
ops over time/swap:
55.52 M/s
ops over time/xchg int:
53.49 M/s
time per op/cas int:
17.88 ns
time per op/get:
14.48 ns
time per op/incr:
14.37 ns
time per op/push & pop:
17.23 ns
time per op/swap:
18.01 ns
time per op/xchg int:
18.70 ns
Ref with [@poll error]:
ops over time/cas int:
171.70 M/s
ops over time/get:
536.86 M/s
ops over time/incr:
494.47 M/s
ops over time/push & pop:
97.13 M/s
ops over time/swap:
117.53 M/s
ops over time/xchg int:
125.90 M/s
time per op/cas int:
5.82 ns
time per op/get:
1.86 ns
time per op/incr:
2.02 ns
time per op/push & pop:
10.30 ns
time per op/swap:
8.51 ns
time per op/xchg int:
7.94 ns
Stack:
messages over time/one domain:
39.57 M/s
time per message/one domain:
25.27 ns
Unix:
blocking reads over time/1 worker:
1.65 M/s
time per blocking read/1 worker:
606.52 ns
2025-02-05 20:29.04 ---> saved as "e69b8e924917b9c76c73829abdd794b5d23afe8a03298ad582e3c0e492130192"
Job succeeded
2025-02-05 20:29.05: Job succeeded