Organisationsocaml-multicoremulticore-bench01ef4e ()debian-12-4.14_arm64_opam-2.3

debian-12-4.14_arm64_opam-2.3

Link Copied
Code Copied

Logs

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-arm64:debian-12-4.14_arm64_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:c1ad42f02948b4146959795ab2f4b43200a675a9baae6a9b2c8135d89475f125
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:c1ad42f02948b4146959795ab2f4b43200a675a9baae6a9b2c8135d89475f125
# debian-12-4.14_arm64_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-arm64.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:c1ad42f02948b4146959795ab2f4b43200a675a9baae6a9b2c8135d89475f125-debian-12-4.14_arm64_opam-2.3-a84a5564885cd7bcc851ccfc15f20900"
2025-01-08 21:57.28: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:c1ad42f02948b4146959795ab2f4b43200a675a9baae6a9b2c8135d89475f125)
(comment debian-12-4.14_arm64_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-arm64.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-08 22:50.55: Got resource from pool OCluster
Building on molpadia.caelum.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:c1ad42f02948b4146959795ab2f4b43200a675a9baae6a9b2c8135d89475f125)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:c1ad42f02948b4146959795ab2f4b43200a675a9baae6a9b2c8135d89475f125' locally
docker.io/ocaml/opam@sha256:c1ad42f02948b4146959795ab2f4b43200a675a9baae6a9b2c8135d89475f125: Pulling from ocaml/opam
Digest: sha256:c1ad42f02948b4146959795ab2f4b43200a675a9baae6a9b2c8135d89475f125
Status: Downloaded newer image for ocaml/opam@sha256:c1ad42f02948b4146959795ab2f4b43200a675a9baae6a9b2c8135d89475f125
2025-01-08 22:50.56 ---> using "d919199f41d49c048e1380a27650d3ac224e0e6ada06146cec5df263aa10acfe" from cache


/: (comment debian-12-4.14_arm64_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:50.56 ---> using "a6322056588dc2383d63f5e98b0a1305a32f9783894912a2503d120bebe44ec7" 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:50.56 ---> using "dde43b7afda7707309b0f7ce81a6be5d62755398a5d0a9612403843f9fac3c15" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-127-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-01-08 22:50.56 ---> using "68f0dd294fbc094afea8d5253729aa49dfbf87e412708957bb02ce0e999d53cc" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-01-08 22:50.56 ---> using "75e66c8ba58d385ff374dd978ab8f885d66a8eb55e82cc9a1614010b80f99c25" 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:50.56 ---> using "20b86f2bc5ab17f7f7dbcbfee0a660f442213997d8eba0c654e3388308d6f3ef" from cache


/src: (copy (src multicore-bench.opam) (dst ./))
2025-01-08 22:50.56 ---> saved as "ba7b992ee260c237d7ef02733bfd2a0a47f97f14371a6732eaef12858761811f"


/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:50.58 ---> saved as "9962e8fe22f65f63b74d98a53942515be8eb34e11f5b8e7c4b8eab62a3db7b26"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-08 22:50.58 ---> saved as "b87202a99a20bc30285c5d2dabd120a9f72bee74cc5231b74de65b50ec1fc720"


/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-arm64.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 arm64 Packages [235 kB]
- Fetched 339 kB in 0s (725 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-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).
2025-01-08 22:51.11 ---> saved as "e2a6e07e342bbaa8f8c4f6e93f5b2a15d8183b9a8de19e8f239f6c9f6f3237a2"


/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.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 camlp-streams.5.0.1  (cached)
-> retrieved backoff.0.1.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cppo.1.8.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 multicore-magic.2.3.0  (cached)
-> retrieved mdx.2.5.0  (cached)
-> retrieved ocaml-version.3.7.3  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved dune.3.17.1  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> 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.17.1
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed backoff.0.1.1
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed multicore-magic.2.3.0
-> installed domain-local-await.1.0.1
-> installed ocaml-version.3.7.3
-> installed re.1.12.0
-> installed cppo.1.8.0
-> installed yojson.2.2.2
-> installed mdx.2.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-08 22:51.50 ---> saved as "f444e62c5d8caf030aa9fff0131ff143897fc58cae062b0921a538a84e165d86"


/src: (copy (src .) (dst /src))
2025-01-08 22:51.51 ---> saved as "d9fde6c68714c9c571ee9746acc3b5f5c1433b4c98365b09d846a695cbfc0905"


/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:
206.78 M/s
ops over time/get:
833.49 M/s
ops over time/incr:
420.59 M/s
ops over time/push & pop:
88.30 M/s
ops over time/swap:
103.36 M/s
ops over time/xchg int:
218.11 M/s
time per op/cas int:
4.84 ns
time per op/get:
1.20 ns
time per op/incr:
2.38 ns
time per op/push & pop:
11.32 ns
time per op/swap:
9.67 ns
time per op/xchg int:
4.58 ns
Atomic incr:
ops over time/CAS, 1 domains:
216.41 M/s
ops over time/CAS with backoff, 1 domains:
192.16 M/s
ops over time/Incr, 1 domains:
240.34 M/s
time per op/CAS, 1 domains:
4.62 ns
time per op/CAS with backoff, 1 domains:
5.20 ns
time per op/Incr, 1 domains:
4.16 ns
Bounded_q:
messages over time/one domain:
13.08 M/s
time per message/one domain:
76.42 ns
Hashtbl:
operations over time/1 worker, 10% reads:
15.29 M/s
operations over time/1 worker, 50% reads:
14.98 M/s
operations over time/1 worker, 90% reads:
17.47 M/s
operations over time/2 workers, 10% reads:
14.31 M/s
operations over time/2 workers, 50% reads:
14.50 M/s
operations over time/2 workers, 90% reads:
16.54 M/s
operations over time/4 workers, 10% reads:
9.17 M/s
operations over time/4 workers, 50% reads:
8.36 M/s
operations over time/4 workers, 90% reads:
9.33 M/s
operations over time/8 workers, 10% reads:
6.46 M/s
operations over time/8 workers, 50% reads:
5.75 M/s
operations over time/8 workers, 90% reads:
7.48 M/s
operations over time/one domain, 10% reads:
24.33 M/s
operations over time/one domain, 50% reads:
24.94 M/s
operations over time/one domain, 90% reads:
32.81 M/s
time per operation/1 worker, 10% reads:
65.39 ns
time per operation/1 worker, 50% reads:
66.76 ns
time per operation/1 worker, 90% reads:
57.26 ns
time per operation/2 workers, 10% reads:
139.81 ns
time per operation/2 workers, 50% reads:
137.90 ns
time per operation/2 workers, 90% reads:
120.90 ns
time per operation/4 workers, 10% reads:
436.03 ns
time per operation/4 workers, 50% reads:
480.01 ns
time per operation/4 workers, 90% reads:
428.66 ns
time per operation/8 workers, 10% reads:
1238.40 ns
time per operation/8 workers, 50% reads:
1390.42 ns
time per operation/8 workers, 90% reads:
1068.82 ns
time per operation/one domain, 10% reads:
41.11 ns
time per operation/one domain, 50% reads:
40.09 ns
time per operation/one domain, 90% reads:
30.48 ns
Queue:
messages over time/one domain:
39.18 M/s
time per message/one domain:
25.52 ns
Ref with Mutex:
ops over time/cas int:
36.87 M/s
ops over time/get:
41.37 M/s
ops over time/incr:
41.90 M/s
ops over time/push & pop:
36.33 M/s
ops over time/swap:
36.05 M/s
ops over time/xchg int:
35.08 M/s
time per op/cas int:
27.13 ns
time per op/get:
24.17 ns
time per op/incr:
23.87 ns
time per op/push & pop:
27.52 ns
time per op/swap:
27.74 ns
time per op/xchg int:
28.50 ns
Ref with [@poll error]:
ops over time/cas int:
155.12 M/s
ops over time/get:
857.03 M/s
ops over time/incr:
536.71 M/s
ops over time/push & pop:
88.32 M/s
ops over time/swap:
101.79 M/s
ops over time/xchg int:
210.13 M/s
time per op/cas int:
6.45 ns
time per op/get:
1.17 ns
time per op/incr:
1.86 ns
time per op/push & pop:
11.32 ns
time per op/swap:
9.82 ns
time per op/xchg int:
4.76 ns
Stack:
messages over time/one domain:
45.26 M/s
time per message/one domain:
22.10 ns
Unix:
blocking reads over time/1 worker:
0.64 M/s
time per blocking read/1 worker:
1561.91 ns
2025-01-08 22:51.56 ---> saved as "3ae205e2d9c3be9f6530bd76d9cf8779282d5206a747965f3f366e3ce1c09ae5"
Job succeeded
2025-01-08 22:51.56: Job succeeded