Organisationsocaml-multicoremulticore-bench41eee8 ()debian-12-4.14_s390x_opam-2.2

debian-12-4.14_s390x_opam-2.2

Link Copied
Code Copied

Logs

2024-10-13 10:51.57: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/avoid-include (41eee82fd48033f4776d3f75dd5693eebba2176a) (linux-s390x:debian-12-4.14_s390x_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:d538cbf3dab9bd90207f0cf4851c4cc94e333670a93cf5b45e3326acbdadafa8
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-multicore/multicore-bench.git" -b "avoid-include" && cd "multicore-bench" && git reset --hard 41eee82f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:d538cbf3dab9bd90207f0cf4851c4cc94e333670a93cf5b45e3326acbdadafa8
# debian-12-4.14_s390x_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 b876d7d37014df697368765c088aa86d24dc8b6b || git fetch origin master) && git reset -q --hard b876d7d37014df697368765c088aa86d24dc8b6b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 multicore-bench.opam ./
RUN opam pin add -yn multicore-bench.dev './'
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.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-s390x.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 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.6.9 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.2 --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


2024-10-13 10:51.57: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-4.14@sha256:d538cbf3dab9bd90207f0cf4851c4cc94e333670a93cf5b45e3326acbdadafa8-debian-12-4.14_s390x_opam-2.2-273837067ebf308df6c49ec018fc36a8"
2024-10-13 10:51.57: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:d538cbf3dab9bd90207f0cf4851c4cc94e333670a93cf5b45e3326acbdadafa8)
 (comment debian-12-4.14_s390x_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /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 b876d7d37014df697368765c088aa86d24dc8b6b || git fetch origin master) && git reset -q --hard b876d7d37014df697368765c088aa86d24dc8b6b && 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 './'"))
 (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.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-s390x.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 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.6.9 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.2 --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"))
)


2024-10-13 10:51.57: Waiting for resource in pool OCluster
2024-10-13 10:51.58: Waiting for worker…
2024-10-13 10:51.58: Got resource from pool OCluster
Building on s390x-worker-02.marist.ci.dev
All commits already cached
HEAD is now at 41eee82 Avoid `include` of modules


(from ocaml/opam:debian-12-ocaml-4.14@sha256:d538cbf3dab9bd90207f0cf4851c4cc94e333670a93cf5b45e3326acbdadafa8)
2024-10-13 10:51.58 ---> using "3902120e6d8ebc0a0af571407951b958869b970274d63c0a9b3cf2d6d82078ab" from cache


/: (comment debian-12-4.14_s390x_opam-2.2)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-10-13 10:51.58 ---> using "e0a5cfd595e1e3af738de2aa1fbd15eeb035eeb0d62063270e19a93d8d2c98fd" 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
2024-10-13 10:51.58 ---> using "507a4a6ae38e15fd407fddb4114d12a06dce59114799e0ad6999bb044ab0ba27" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-45-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-10-13 10:51.58 ---> using "95bbf156cbca9384333b8ef68de525ede652417f152107d353d6a07f7c90f05f" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-10-13 10:51.58 ---> using "6e6b2923389043e11796c603c71bb38483b938f2bcda5deffae7a32e2f5854b5" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e b876d7d37014df697368765c088aa86d24dc8b6b || git fetch origin master) && git reset -q --hard b876d7d37014df697368765c088aa86d24dc8b6b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   75006f8c5e..ba44ffed3b  master     -> origin/master
b876d7d370 Merge pull request #26641 from polytypic/release-backoff-0.1.1


<><> 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.
# Run eval $(opam env) to update the current shell environment
2024-10-13 10:51.58 ---> using "395ce8106e0eeb82045a0d9ccc6562e34bf54f471ac43e929f2a175397a75787" from cache


/src: (copy (src multicore-bench.opam) (dst ./))
2024-10-13 10:51.58 ---> using "72b80317e170fdbfd06fbb77a7b8b7de71891f6ae5f261cc3f2c04c37f806660" from cache


/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)
2024-10-13 10:51.58 ---> using "7256281a59158843ca12befa2a0c8562689d4457117d163ed83798fbba357152" from cache


/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.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-s390x.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 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.6.9 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.2 --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 [178 kB]
- Fetched 281 kB in 0s (853 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[multicore-bench.dev] synchronised (no changes)


[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).
2024-10-13 10:51.58 ---> using "60e7e56d5f7c2992c6d9223f60263ec0d4d36f666e8147af1413fe876f388800" from cache


/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.7.0
  - install csexp              1.5.2
  - install domain-local-await 1.0.1
  - install domain_shims       0.1.0
  - install dune               3.16.0
  - install fmt                0.9.0
  - install logs               0.7.0
  - install mdx                2.4.1
  - install mtime              2.1.0
  - install multicore-magic    2.3.0
  - install ocaml-version      3.6.9
  - 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.7.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.4.1  (cached)
-> retrieved multicore-magic.2.3.0  (cached)
-> retrieved ocaml-version.3.6.9  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved ocamlfind.1.9.6  (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.16.0
-> installed camlp-streams.5.0.1
-> installed backoff.0.1.1
-> installed csexp.1.5.2
-> installed domain_shims.0.1.0
-> installed ocaml-version.3.6.9
-> installed multicore-magic.2.3.0
-> installed cppo.1.7.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.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-13 10:51.58 ---> using "36c32609a41f97c5798dd296b2d3e9623f2208b787f42029789d8dcf8d2081d6" from cache


/src: (copy (src .) (dst /src))
2024-10-13 10:51.59 ---> saved as "f26aee5ef379c80a5632c78d9faeec90eca8ae0f2684cdd83df9b123c43ebe26"


/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:
    176.14 M/s
  ops over time/get:
    647.47 M/s
  ops over time/incr:
    432.80 M/s
  ops over time/push & pop:
    112.73 M/s
  ops over time/swap:
    126.18 M/s
  ops over time/xchg int:
    182.34 M/s
  time per op/cas int:
    5.68 ns
  time per op/get:
    1.54 ns
  time per op/incr:
    2.31 ns
  time per op/push & pop:
    8.87 ns
  time per op/swap:
    7.93 ns
  time per op/xchg int:
    5.48 ns
Atomic incr:
  ops over time/CAS, 1 domains:
    209.24 M/s
  ops over time/CAS with backoff, 1 domains:
    209.56 M/s
  ops over time/Incr, 1 domains:
    417.03 M/s
  time per op/CAS, 1 domains:
    4.78 ns
  time per op/CAS with backoff, 1 domains:
    4.77 ns
  time per op/Incr, 1 domains:
    2.40 ns
Bounded_q:
  messages over time/one domain:
    13.69 M/s
  time per message/one domain:
    73.06 ns
Hashtbl:
  operations over time/1 worker, 10% reads:
    16.12 M/s
  operations over time/1 worker, 50% reads:
    16.96 M/s
  operations over time/1 worker, 90% reads:
    18.76 M/s
  operations over time/2 workers, 10% reads:
    16.83 M/s
  operations over time/2 workers, 50% reads:
    16.97 M/s
  operations over time/2 workers, 90% reads:
    17.46 M/s
  operations over time/4 workers, 10% reads:
    15.11 M/s
  operations over time/4 workers, 50% reads:
    16.91 M/s
  operations over time/4 workers, 90% reads:
    18.67 M/s
  operations over time/8 workers, 10% reads:
    15.01 M/s
  operations over time/8 workers, 50% reads:
    16.95 M/s
  operations over time/8 workers, 90% reads:
    19.33 M/s
  operations over time/one domain, 10% reads:
    22.71 M/s
  operations over time/one domain, 50% reads:
    23.16 M/s
  operations over time/one domain, 90% reads:
    29.88 M/s
  time per operation/1 worker, 10% reads:
    62.02 ns
  time per operation/1 worker, 50% reads:
    58.95 ns
  time per operation/1 worker, 90% reads:
    53.32 ns
  time per operation/2 workers, 10% reads:
    118.87 ns
  time per operation/2 workers, 50% reads:
    117.85 ns
  time per operation/2 workers, 90% reads:
    115.12 ns
  time per operation/4 workers, 10% reads:
    264.72 ns
  time per operation/4 workers, 50% reads:
    236.53 ns
  time per operation/4 workers, 90% reads:
    214.29 ns
  time per operation/8 workers, 10% reads:
    532.93 ns
  time per operation/8 workers, 50% reads:
    471.90 ns
  time per operation/8 workers, 90% reads:
    413.84 ns
  time per operation/one domain, 10% reads:
    44.02 ns
  time per operation/one domain, 50% reads:
    43.18 ns
  time per operation/one domain, 90% reads:
    33.47 ns
Queue:
  messages over time/one domain:
    30.73 M/s
  time per message/one domain:
    32.54 ns
Ref with Mutex:
  ops over time/cas int:
    59.15 M/s
  ops over time/get:
    70.24 M/s
  ops over time/incr:
    68.86 M/s
  ops over time/push & pop:
    55.95 M/s
  ops over time/swap:
    57.10 M/s
  ops over time/xchg int:
    62.60 M/s
  time per op/cas int:
    16.91 ns
  time per op/get:
    14.24 ns
  time per op/incr:
    14.52 ns
  time per op/push & pop:
    17.87 ns
  time per op/swap:
    17.51 ns
  time per op/xchg int:
    15.97 ns
Ref with [@poll error]:
  ops over time/cas int:
    176.13 M/s
  ops over time/get:
    577.55 M/s
  ops over time/incr:
    494.51 M/s
  ops over time/push & pop:
    114.32 M/s
  ops over time/swap:
    119.77 M/s
  ops over time/xchg int:
    146.40 M/s
  time per op/cas int:
    5.68 ns
  time per op/get:
    1.73 ns
  time per op/incr:
    2.02 ns
  time per op/push & pop:
    8.75 ns
  time per op/swap:
    8.35 ns
  time per op/xchg int:
    6.83 ns
Stack:
  messages over time/one domain:
    40.56 M/s
  time per message/one domain:
    24.66 ns
Unix:
  blocking reads over time/1 worker:
    0.72 M/s
  time per blocking read/1 worker:
    1380.63 ns
2024-10-13 10:52.08 ---> saved as "a3b241f981fd9366a65ada129049a0bceeae5cfea5bb9251ffb00d1d2b77f700"
Job succeeded
2024-10-13 10:52.09: Job succeeded