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-ppc64:debian-12-5.2_ppc64_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:43132b812078f119e3792dc2209644c2d25b3dde514bd317515837d42cfd8934
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-5.2@sha256:43132b812078f119e3792dc2209644c2d25b3dde514bd317515837d42cfd8934
# debian-12-5.2_ppc64_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-domains.base base-nnp.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-ppc64.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 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-5.2@sha256:43132b812078f119e3792dc2209644c2d25b3dde514bd317515837d42cfd8934-debian-12-5.2_ppc64_opam-2.3-548a859510d312eb6c1dc01f8ef93370"
2025-01-08 21:57.28: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:43132b812078f119e3792dc2209644c2d25b3dde514bd317515837d42cfd8934)
(comment debian-12-5.2_ppc64_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-domains.base base-nnp.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-ppc64.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 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-08 22:07.49: Got resource from pool OCluster
Building on orithia.caelum.ci.dev
All commits already cached
HEAD is now at 01ef4eb Upgrade to ocamlformat 0.27.0
(from ocaml/opam:debian-12-ocaml-5.2@sha256:43132b812078f119e3792dc2209644c2d25b3dde514bd317515837d42cfd8934)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:43132b812078f119e3792dc2209644c2d25b3dde514bd317515837d42cfd8934' locally
docker.io/ocaml/opam@sha256:43132b812078f119e3792dc2209644c2d25b3dde514bd317515837d42cfd8934: Pulling from ocaml/opam
Digest: sha256:43132b812078f119e3792dc2209644c2d25b3dde514bd317515837d42cfd8934
Status: Downloaded newer image for ocaml/opam@sha256:43132b812078f119e3792dc2209644c2d25b3dde514bd317515837d42cfd8934
2025-01-08 22:21.03 ---> using "13def02a15ad8c91671475e6d7ea3682b0700af456af433f18541d235417835f" from cache
/: (comment debian-12-5.2_ppc64_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-08 22:21.03 ---> using "54e027edfc5d8898e8a7f46f59e06518e3ee301c8a11c6d3f65193fbd33a6da3" 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-08 22:21.03 ---> using "72c63d6dd5ed0a26e7a4260e671a0afdd6bf4d026cf70079d6db4097e7ca919f" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-49-generic
The OCaml toplevel, version 5.2.1
2.3.0
2025-01-08 22:21.03 ---> using "75352073bfaf3896b8767493ae393a6798e80cc649960fd1bbdf09578af37ef0" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-01-08 22:21.03 ---> using "517cc57e4cc37fbaf811571ce533240df7c0c84c61475eca8d3956c30b0ed699" 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-08 22:21.03 ---> using "73eb288bcfe2c1de02fa024273af40305e52f2f7f831f35db7314c29572163d0" from cache
/src: (copy (src multicore-bench.opam) (dst ./))
2025-01-08 22:21.13 ---> saved as "61bed7bf69446ee9c94c0b37b6bcdd8193313c63b73fce0c8b2042dd62cbd69d"
/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-08 22:21.22 ---> saved as "66d049f2f6172edb2b74d779ade30b76e7825d2780dca86c5da99f8bf9caa58b"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-08 22:21.53 ---> saved as "b979a182e805a7cdaed7c03e843f33a367bb35d7764a2880fb1734736ff44f8d"
/src: (env DEPS "astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-nnp.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-ppc64.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 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 ppc64el Packages [226 kB]
- Fetched 330 kB in 1s (309 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-ppc64 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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-01-08 22:23.02 ---> saved as "45c0a56f019f69b9ce76d66415ca6a1f964a99c77d963ab5f90926dcb5fe86f6"
/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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-ppc64 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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 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.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.0 (cached)
-> retrieved ocaml-version.3.7.3 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved dune.3.17.1 (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 topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed dune.3.17.1
-> installed backoff.0.1.1
-> installed domain_shims.0.1.0
-> installed thread-table.1.0.0
-> installed result.1.5
-> installed csexp.1.5.2
-> installed domain-local-await.1.0.1
-> installed camlp-streams.5.0.1
-> installed ocaml-version.3.7.3
-> installed multicore-magic.2.3.0
-> installed re.1.12.0
-> installed cppo.1.8.0
-> installed yojson.2.2.2
-> installed topkg.1.0.7
-> installed astring.0.8.5
-> installed fmt.0.9.0
-> installed mtime.2.1.0
-> installed logs.0.7.0
-> installed mdx.2.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-08 22:25.42 ---> saved as "a343e5362ca5cb43f9704c31cc4dee47322d559d11525cdda55d23157024654d"
/src: (copy (src .) (dst /src))
2025-01-08 22:26.06 ---> saved as "be0516aef70c73be90b3b1f7450f4c82e202e5cd4094d415a2868e9ff31f6b17"
/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:
11.23 M/s
ops over time/get:
111.38 M/s
ops over time/incr:
12.14 M/s
ops over time/push & pop:
3.57 M/s
ops over time/swap:
6.71 M/s
ops over time/xchg int:
13.36 M/s
time per op/cas int:
89.04 ns
time per op/get:
8.98 ns
time per op/incr:
82.34 ns
time per op/push & pop:
279.82 ns
time per op/swap:
149.10 ns
time per op/xchg int:
74.87 ns
Atomic incr:
ops over time/CAS, 1 domains:
5.93 M/s
ops over time/CAS, 2 domains:
5.35 M/s
ops over time/CAS, 4 domains:
3.96 M/s
ops over time/CAS, 8 domains:
3.74 M/s
ops over time/CAS with backoff, 1 domains:
11.86 M/s
ops over time/CAS with backoff, 2 domains:
8.34 M/s
ops over time/CAS with backoff, 4 domains:
4.18 M/s
ops over time/CAS with backoff, 8 domains:
3.48 M/s
ops over time/Incr, 1 domains:
18.41 M/s
ops over time/Incr, 2 domains:
17.41 M/s
ops over time/Incr, 4 domains:
17.30 M/s
ops over time/Incr, 8 domains:
18.97 M/s
time per op/CAS, 1 domains:
168.63 ns
time per op/CAS, 2 domains:
373.51 ns
time per op/CAS, 4 domains:
1009.11 ns
time per op/CAS, 8 domains:
2138.63 ns
time per op/CAS with backoff, 1 domains:
84.29 ns
time per op/CAS with backoff, 2 domains:
239.80 ns
time per op/CAS with backoff, 4 domains:
957.06 ns
time per op/CAS with backoff, 8 domains:
2299.85 ns
time per op/Incr, 1 domains:
54.31 ns
time per op/Incr, 2 domains:
114.88 ns
time per op/Incr, 4 domains:
231.27 ns
time per op/Incr, 8 domains:
421.62 ns
Bounded_q:
messages over time/1 adder, 1 taker:
2.01 M/s
messages over time/1 adder, 2 takers:
0.41 M/s
messages over time/1 adder, 4 takers:
0.17 M/s
messages over time/2 adders, 1 taker:
0.47 M/s
messages over time/2 adders, 2 takers:
0.33 M/s
messages over time/2 adders, 4 takers:
0.32 M/s
messages over time/4 adders, 1 taker:
0.69 M/s
messages over time/4 adders, 2 takers:
0.60 M/s
messages over time/4 adders, 4 takers:
0.42 M/s
messages over time/one domain:
2.17 M/s
time per message/1 adder, 1 taker:
992.68 ns
time per message/1 adder, 2 takers:
7305.94 ns
time per message/1 adder, 4 takers:
28879.20 ns
time per message/2 adders, 1 taker:
6352.61 ns
time per message/2 adders, 2 takers:
12109.88 ns
time per message/2 adders, 4 takers:
18662.55 ns
time per message/4 adders, 1 taker:
7251.18 ns
time per message/4 adders, 2 takers:
9956.69 ns
time per message/4 adders, 4 takers:
18963.31 ns
time per message/one domain:
460.66 ns
Hashtbl:
operations over time/1 worker, 10% reads:
1.94 M/s
operations over time/1 worker, 50% reads:
2.62 M/s
operations over time/1 worker, 90% reads:
7.86 M/s
operations over time/2 workers, 10% reads:
1.65 M/s
operations over time/2 workers, 50% reads:
1.30 M/s
operations over time/2 workers, 90% reads:
2.31 M/s
operations over time/4 workers, 10% reads:
1.35 M/s
operations over time/4 workers, 50% reads:
1.50 M/s
operations over time/4 workers, 90% reads:
1.18 M/s
operations over time/8 workers, 10% reads:
0.76 M/s
operations over time/8 workers, 50% reads:
0.76 M/s
operations over time/8 workers, 90% reads:
0.77 M/s
operations over time/one domain, 10% reads:
12.20 M/s
operations over time/one domain, 50% reads:
15.32 M/s
operations over time/one domain, 90% reads:
6.58 M/s
time per operation/1 worker, 10% reads:
515.96 ns
time per operation/1 worker, 50% reads:
381.79 ns
time per operation/1 worker, 90% reads:
127.26 ns
time per operation/2 workers, 10% reads:
1213.50 ns
time per operation/2 workers, 50% reads:
1537.50 ns
time per operation/2 workers, 90% reads:
865.94 ns
time per operation/4 workers, 10% reads:
2960.40 ns
time per operation/4 workers, 50% reads:
2661.81 ns
time per operation/4 workers, 90% reads:
3383.55 ns
time per operation/8 workers, 10% reads:
10589.24 ns
time per operation/8 workers, 50% reads:
10483.31 ns
time per operation/8 workers, 90% reads:
10373.55 ns
time per operation/one domain, 10% reads:
81.96 ns
time per operation/one domain, 50% reads:
65.26 ns
time per operation/one domain, 90% reads:
151.88 ns
Queue:
messages over time/one domain:
7.20 M/s
time per message/one domain:
138.92 ns
Ref with Mutex:
ops over time/cas int:
5.76 M/s
ops over time/get:
6.40 M/s
ops over time/incr:
6.27 M/s
ops over time/push & pop:
4.66 M/s
ops over time/swap:
5.67 M/s
ops over time/xchg int:
5.73 M/s
time per op/cas int:
173.64 ns
time per op/get:
156.18 ns
time per op/incr:
159.43 ns
time per op/push & pop:
214.46 ns
time per op/swap:
176.26 ns
time per op/xchg int:
174.62 ns
Ref with [@poll error]:
ops over time/cas int:
17.02 M/s
ops over time/get:
344.03 M/s
ops over time/incr:
110.15 M/s
ops over time/push & pop:
11.19 M/s
ops over time/swap:
15.32 M/s
ops over time/xchg int:
26.60 M/s
time per op/cas int:
58.77 ns
time per op/get:
2.91 ns
time per op/incr:
9.08 ns
time per op/push & pop:
89.36 ns
time per op/swap:
65.26 ns
time per op/xchg int:
37.60 ns
Stack:
messages over time/one domain:
8.66 M/s
time per message/one domain:
115.48 ns
Unix:
blocking reads over time/1 worker:
0.48 M/s
blocking reads over time/2 workers:
0.74 M/s
blocking reads over time/4 workers:
1.20 M/s
time per blocking read/1 worker:
2094.11 ns
time per blocking read/2 workers:
2691.53 ns
time per blocking read/4 workers:
3345.92 ns
2025-01-08 22:27.11 ---> saved as "a1d9a8952018ac89afb1ad713b7044b8b7fd0868d0b2953131b79cd23392789b"
Job succeeded
2025-01-08 22:27.12: Job succeeded