2025-01-08 21:57.28: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (01ef4eb5bba33f6093286a7c3240192d097b6999) (linux-s390x:debian-12-4.14_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:7bf858c1c13f5a816846d93608921da129a600b857aefef872947ca941abce1a
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 01ef4eb5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:7bf858c1c13f5a816846d93608921da129a600b857aefef872947ca941abce1a
# 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 3bf64585fc5ee152bbad91f6d48717c1b37b48f8 || git fetch origin master) && git reset -q --hard 3bf64585fc5ee152bbad91f6d48717c1b37b48f8 && 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.1 fmt.0.9.0 host-arch-s390x.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 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.7.3 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.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-01-08 21:57.28: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-4.14@sha256:7bf858c1c13f5a816846d93608921da129a600b857aefef872947ca941abce1a-debian-12-4.14_s390x_opam-2.3-35fda57d4d39296bbeae84d444f4dce5"
2025-01-08 21:57.28: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:7bf858c1c13f5a816846d93608921da129a600b857aefef872947ca941abce1a)
(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 3bf64585fc5ee152bbad91f6d48717c1b37b48f8 || git fetch origin master) && git reset -q --hard 3bf64585fc5ee152bbad91f6d48717c1b37b48f8 && 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.1 fmt.0.9.0 host-arch-s390x.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 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.7.3 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.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-01-08 21:57.28: Waiting for resource in pool OCluster
2025-01-08 21:57.29: Waiting for worker…
2025-01-09 00:05.55: Got resource from pool OCluster
Building on s390x-worker-02.marist.ci.dev
All commits already cached
HEAD is now at 01ef4eb Upgrade to ocamlformat 0.27.0
(from ocaml/opam:debian-12-ocaml-4.14@sha256:7bf858c1c13f5a816846d93608921da129a600b857aefef872947ca941abce1a)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:7bf858c1c13f5a816846d93608921da129a600b857aefef872947ca941abce1a' locally
docker.io/ocaml/opam@sha256:7bf858c1c13f5a816846d93608921da129a600b857aefef872947ca941abce1a: Pulling from ocaml/opam
53a5c0dbd93a: Already exists
7062c2d8ba19: Already exists
ba00c62632c5: Already exists
dfe519bb5336: Already exists
f68afea590c2: Already exists
446ce37f2b48: Already exists
451dc389870d: Already exists
baa1ba0d3e06: Already exists
a15171d75e02: Already exists
c9f269dd99a8: Already exists
804c5c2a98f9: Already exists
7a1de772442c: Already exists
180fd066830d: Already exists
942efba4e75b: Already exists
e68257155798: Already exists
2876a8b4e760: Already exists
73afa6ce9ca3: Already exists
27152f13ddc9: Already exists
dcf01c953bf5: Already exists
2180eae44802: Already exists
4f4fb700ef54: Already exists
7dae5e1b3ba5: Already exists
e7ae103babd8: Already exists
036a87c521b4: Already exists
55c4af55fd8c: Already exists
dbb96da533db: Already exists
be782023e4e9: Already exists
8d310d0850c6: Already exists
014b74572a20: Already exists
bd6851b181d3: Already exists
c28afd19c9fe: Already exists
b5cc3dbbd07a: Already exists
e44e4a969980: Already exists
8ab6f4d12b02: Already exists
83ec47bbdb73: Already exists
b203a0188c96: Already exists
3f2cc374f5f4: Already exists
93ae37282f0e: Already exists
c05af9e19be2: Pulling fs layer
20b1bdfb4d7a: Pulling fs layer
08ef288a3e09: Pulling fs layer
2f27cc6a3d53: Pulling fs layer
2f27cc6a3d53: Waiting
20b1bdfb4d7a: Verifying Checksum
20b1bdfb4d7a: Download complete
08ef288a3e09: Verifying Checksum
08ef288a3e09: Download complete
2f27cc6a3d53: Verifying Checksum
2f27cc6a3d53: Download complete
c05af9e19be2: Verifying Checksum
c05af9e19be2: Download complete
c05af9e19be2: Pull complete
20b1bdfb4d7a: Pull complete
08ef288a3e09: Pull complete
2f27cc6a3d53: Pull complete
Digest: sha256:7bf858c1c13f5a816846d93608921da129a600b857aefef872947ca941abce1a
Status: Downloaded newer image for ocaml/opam@sha256:7bf858c1c13f5a816846d93608921da129a600b857aefef872947ca941abce1a
2025-01-09 00:05.55 ---> using "a9e6aa92dff924a950e4169f19aa25cf549e06a75c1eb8d4cd8e86fcee02ffb0" 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-01-09 00:05.55 ---> using "76d54723a28180a52cc520a0d99d36582e3d5799cc6e526e3e57ce3866969adc" 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-01-09 00:05.55 ---> using "cfbced94b4ed2a80c5a694863dc6cd5e9d1d56da08eb735d15c8cfa661cdece3" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-51-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-01-09 00:05.55 ---> using "c44e82732e7fddc089995eda225574a603bef4dc0a04050fc52bda21f48e652f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-01-09 00:05.55 ---> using "7ccfba6f9013581176ca3f3935e6166101720a63128bbff1d50bb7d60c29f210" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3bf64585fc5ee152bbad91f6d48717c1b37b48f8 || git fetch origin master) && git reset -q --hard 3bf64585fc5ee152bbad91f6d48717c1b37b48f8 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
de786e28db..f93eb7cb02 master -> origin/master
3bf64585fc Merge pull request #27233 from mtelvers/opam-publish-ocaml-version.3.7.3
<><> 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-01-09 00:05.55 ---> using "a18f21f67a902a0bccfbb23722ab559a7143e6bca29ec49c7355760b9799bccd" from cache
/src: (copy (src multicore-bench.opam) (dst ./))
2025-01-09 00:05.56 ---> saved as "e5f599c75b4b735479e2270bd179ce9a616ffbb2f79fa9dc80ac7036b0d125f8"
/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-01-09 00:05.59 ---> saved as "408d08fc64e1049a3c30ec20fe2731b575090848ace8f7b6e9f095ecf3d7319f"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-09 00:05.59 ---> saved as "b2de157aff8ae8ba7c75d8eb408792c58af7403e8bf47c3e0693276ead8be0b9"
/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.1 fmt.0.9.0 host-arch-s390x.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 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.7.3 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.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 [206 kB]
- Fetched 310 kB in 1s (493 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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-s390x 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).
2025-01-09 00:06.14 ---> saved as "4272814451436330ec7f9e4487319469dcbf0604f59cda328d55380ff6cf87b4"
/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-s390x 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.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.1
- 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.0
- install ocaml-version 3.7.3
- 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 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 mdx.2.5.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocaml-version.3.7.3 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved dune.3.17.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.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed seq.base
-> installed ocamlfind.1.9.6
-> 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.1
-> installed backoff.0.1.1
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed domain_shims.0.1.0
-> installed ocaml-version.3.7.3
-> installed multicore-magic.2.3.0
-> 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-01-09 00:07.10 ---> saved as "38dbad85a76116ae028c576b0987a2dc951f41bc55ca9a8b453a70de90d9dc77"
/src: (copy (src .) (dst /src))
2025-01-09 00:07.10 ---> saved as "f9988f8d89723a0814ddd2064714941c9e0f5a2c131aaca2fd402708879794bb"
/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:
175.97 M/s
ops over time/get:
577.52 M/s
ops over time/incr:
399.56 M/s
ops over time/push & pop:
100.87 M/s
ops over time/swap:
113.61 M/s
ops over time/xchg int:
182.04 M/s
time per op/cas int:
5.68 ns
time per op/get:
1.73 ns
time per op/incr:
2.50 ns
time per op/push & pop:
9.91 ns
time per op/swap:
8.80 ns
time per op/xchg int:
5.49 ns
Atomic incr:
ops over time/CAS, 1 domains:
207.07 M/s
ops over time/CAS with backoff, 1 domains:
201.92 M/s
ops over time/Incr, 1 domains:
416.55 M/s
time per op/CAS, 1 domains:
4.83 ns
time per op/CAS with backoff, 1 domains:
4.95 ns
time per op/Incr, 1 domains:
2.40 ns
Bounded_q:
messages over time/one domain:
13.95 M/s
time per message/one domain:
71.67 ns
Hashtbl:
operations over time/1 worker, 10% reads:
17.09 M/s
operations over time/1 worker, 50% reads:
17.07 M/s
operations over time/1 worker, 90% reads:
19.29 M/s
operations over time/2 workers, 10% reads:
16.99 M/s
operations over time/2 workers, 50% reads:
16.91 M/s
operations over time/2 workers, 90% reads:
19.45 M/s
operations over time/4 workers, 10% reads:
16.18 M/s
operations over time/4 workers, 50% reads:
16.80 M/s
operations over time/4 workers, 90% reads:
19.32 M/s
operations over time/8 workers, 10% reads:
16.11 M/s
operations over time/8 workers, 50% reads:
16.47 M/s
operations over time/8 workers, 90% reads:
14.59 M/s
operations over time/one domain, 10% reads:
23.07 M/s
operations over time/one domain, 50% reads:
23.63 M/s
operations over time/one domain, 90% reads:
29.60 M/s
time per operation/1 worker, 10% reads:
58.51 ns
time per operation/1 worker, 50% reads:
58.57 ns
time per operation/1 worker, 90% reads:
51.85 ns
time per operation/2 workers, 10% reads:
117.72 ns
time per operation/2 workers, 50% reads:
118.28 ns
time per operation/2 workers, 90% reads:
102.81 ns
time per operation/4 workers, 10% reads:
247.16 ns
time per operation/4 workers, 50% reads:
238.04 ns
time per operation/4 workers, 90% reads:
207.06 ns
time per operation/8 workers, 10% reads:
496.49 ns
time per operation/8 workers, 50% reads:
485.68 ns
time per operation/8 workers, 90% reads:
548.21 ns
time per operation/one domain, 10% reads:
43.35 ns
time per operation/one domain, 50% reads:
42.33 ns
time per operation/one domain, 90% reads:
33.78 ns
Queue:
messages over time/one domain:
31.65 M/s
time per message/one domain:
31.60 ns
Ref with Mutex:
ops over time/cas int:
57.63 M/s
ops over time/get:
70.18 M/s
ops over time/incr:
70.22 M/s
ops over time/push & pop:
56.58 M/s
ops over time/swap:
57.52 M/s
ops over time/xchg int:
59.44 M/s
time per op/cas int:
17.35 ns
time per op/get:
14.25 ns
time per op/incr:
14.24 ns
time per op/push & pop:
17.67 ns
time per op/swap:
17.38 ns
time per op/xchg int:
16.82 ns
Ref with [@poll error]:
ops over time/cas int:
171.37 M/s
ops over time/get:
605.44 M/s
ops over time/incr:
494.71 M/s
ops over time/push & pop:
112.13 M/s
ops over time/swap:
125.34 M/s
ops over time/xchg int:
180.67 M/s
time per op/cas int:
5.84 ns
time per op/get:
1.65 ns
time per op/incr:
2.02 ns
time per op/push & pop:
8.92 ns
time per op/swap:
7.98 ns
time per op/xchg int:
5.54 ns
Stack:
messages over time/one domain:
38.88 M/s
time per message/one domain:
25.72 ns
Unix:
blocking reads over time/1 worker:
1.81 M/s
time per blocking read/1 worker:
551.96 ns
2025-01-09 00:07.19 ---> saved as "ac91bda8b67595b4ce4c6415409822eb8d3cf3619c7f9e05145d380464785186"
Job succeeded
2025-01-09 00:07.20: Job succeeded