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

debian-12-4.14_ppc64_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-ppc64:debian-12-4.14_ppc64_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991
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:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991
# debian-12-4.14_ppc64_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-ppc64.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:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991-debian-12-4.14_ppc64_opam-2.2-5b7158e79d1c15fc11af93dbfb111c04"
2024-10-13 10:51.57: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991)
 (comment debian-12-4.14_ppc64_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-ppc64.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 orithia.caelum.ci.dev
All commits already cached
HEAD is now at 41eee82 Avoid `include` of modules


(from ocaml/opam:debian-12-ocaml-4.14@sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991' locally
docker.io/ocaml/opam@sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991: Pulling from ocaml/opam
Digest: sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991
Status: Downloaded newer image for ocaml/opam@sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991
2024-10-13 10:51.59 ---> using "9ee8dd0c675aad504f591e78234a54edff10abcc488d39602f96339919a8cded" from cache


/: (comment debian-12-4.14_ppc64_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.59 ---> using "96facf533f4fae8db10df129619ee931141fccadb840fa0a1b3c73b8018b98c5" 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.59 ---> using "f595a04b30f5e078ec41736df233d12b3000aab3369ec8322a3523c5d7f5f629" 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.59 ---> using "aa4c1eddb97c4bdec311d2fb89c8efb2973316a246b901a1f0928d65208be3ae" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-10-13 10:51.59 ---> using "f7870ea53167abe022385d0c004291ea5168f018525d2971ed6afd5219c427e8" 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..1b4da5019e  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.59 ---> using "dc81c34570227b20e8fee49a866b87c43f6d54d6aac30938bc1b91be2b4fed8b" from cache


/src: (copy (src multicore-bench.opam) (dst ./))
2024-10-13 10:51.59 ---> using "3f417e68cb13870f85c62ead00bfca7e68e68c6eae5af7734cceae5327984e75" 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.59 ---> using "47e3e8c7559f1eb0792f277e1191cf909c1b67de912dd823efe27925a251603f" 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-ppc64.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 bookworm-updates/main ppc64el Packages.diff/Index [11.7 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main ppc64el Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1113 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main ppc64el Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1113 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main ppc64el Packages [180 kB]
- Fetched 296 kB in 0s (779 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-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-bigarray is already installed (current version is base).
2024-10-13 10:51.59 ---> using "2c23ee13af365a08666950595e90ced66eac802a6bb6b8d0d169d584d6aa7abd" 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-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-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 camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cppo.1.7.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 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 ocamlfind.1.9.6  (cached)
-> retrieved dune.3.16.0  (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 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.16.0
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed backoff.0.1.1
-> installed camlp-streams.5.0.1
-> installed ocaml-version.3.6.9
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed multicore-magic.2.3.0
-> installed domain-local-await.1.0.1
-> installed re.1.12.0
-> installed cppo.1.7.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.59 ---> using "960ae43f932aaf40290ef2c7bc4063e33b1b1c2b9a15408547027b01818cec43" from cache


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


/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:
    106.47 M/s
  ops over time/get:
    434.73 M/s
  ops over time/incr:
    203.69 M/s
  ops over time/push & pop:
    70.48 M/s
  ops over time/swap:
    58.03 M/s
  ops over time/xchg int:
    119.50 M/s
  time per op/cas int:
    9.39 ns
  time per op/get:
    2.30 ns
  time per op/incr:
    4.91 ns
  time per op/push & pop:
    14.19 ns
  time per op/swap:
    17.23 ns
  time per op/xchg int:
    8.37 ns
Atomic incr:
  ops over time/CAS, 1 domains:
    133.60 M/s
  ops over time/CAS with backoff, 1 domains:
    156.33 M/s
  ops over time/Incr, 1 domains:
    201.98 M/s
  time per op/CAS, 1 domains:
    7.49 ns
  time per op/CAS with backoff, 1 domains:
    6.40 ns
  time per op/Incr, 1 domains:
    4.95 ns
Bounded_q:
  messages over time/one domain:
    8.28 M/s
  time per message/one domain:
    120.71 ns
Hashtbl:
  operations over time/1 worker, 10% reads:
    11.71 M/s
  operations over time/1 worker, 50% reads:
    10.71 M/s
  operations over time/1 worker, 90% reads:
    12.99 M/s
  operations over time/2 workers, 10% reads:
    8.65 M/s
  operations over time/2 workers, 50% reads:
    11.44 M/s
  operations over time/2 workers, 90% reads:
    12.68 M/s
  operations over time/4 workers, 10% reads:
    4.05 M/s
  operations over time/4 workers, 50% reads:
    6.41 M/s
  operations over time/4 workers, 90% reads:
    13.06 M/s
  operations over time/8 workers, 10% reads:
    4.06 M/s
  operations over time/8 workers, 50% reads:
    9.01 M/s
  operations over time/8 workers, 90% reads:
    8.53 M/s
  operations over time/one domain, 10% reads:
    17.44 M/s
  operations over time/one domain, 50% reads:
    17.70 M/s
  operations over time/one domain, 90% reads:
    23.75 M/s
  time per operation/1 worker, 10% reads:
    85.38 ns
  time per operation/1 worker, 50% reads:
    93.34 ns
  time per operation/1 worker, 90% reads:
    76.97 ns
  time per operation/2 workers, 10% reads:
    231.10 ns
  time per operation/2 workers, 50% reads:
    174.85 ns
  time per operation/2 workers, 90% reads:
    157.72 ns
  time per operation/4 workers, 10% reads:
    986.52 ns
  time per operation/4 workers, 50% reads:
    624.36 ns
  time per operation/4 workers, 90% reads:
    306.22 ns
  time per operation/8 workers, 10% reads:
    1970.32 ns
  time per operation/8 workers, 50% reads:
    888.20 ns
  time per operation/8 workers, 90% reads:
    937.68 ns
  time per operation/one domain, 10% reads:
    57.35 ns
  time per operation/one domain, 50% reads:
    56.51 ns
  time per operation/one domain, 90% reads:
    42.11 ns
Queue:
  messages over time/one domain:
    27.71 M/s
  time per message/one domain:
    36.09 ns
Ref with Mutex:
  ops over time/cas int:
    18.54 M/s
  ops over time/get:
    19.23 M/s
  ops over time/incr:
    18.92 M/s
  ops over time/push & pop:
    17.71 M/s
  ops over time/swap:
    17.95 M/s
  ops over time/xchg int:
    18.39 M/s
  time per op/cas int:
    53.94 ns
  time per op/get:
    52.01 ns
  time per op/incr:
    52.86 ns
  time per op/push & pop:
    56.47 ns
  time per op/swap:
    55.72 ns
  time per op/xchg int:
    54.38 ns
Ref with [@poll error]:
  ops over time/cas int:
    110.84 M/s
  ops over time/get:
    446.56 M/s
  ops over time/incr:
    230.34 M/s
  ops over time/push & pop:
    61.27 M/s
  ops over time/swap:
    59.79 M/s
  ops over time/xchg int:
    97.02 M/s
  time per op/cas int:
    9.02 ns
  time per op/get:
    2.24 ns
  time per op/incr:
    4.34 ns
  time per op/push & pop:
    16.32 ns
  time per op/swap:
    16.72 ns
  time per op/xchg int:
    10.31 ns
Stack:
  messages over time/one domain:
    32.12 M/s
  time per message/one domain:
    31.13 ns
Unix:
  blocking reads over time/1 worker:
    0.44 M/s
  time per blocking read/1 worker:
    2262.18 ns
2024-10-13 10:52.08 ---> saved as "61a3c354c7870554bc150221d6d7a8b8acf88cd6d48d7f2a16d70a6116cd5884"
Job succeeded
2024-10-13 10:52.08: Job succeeded