Organisationsocaml-multicoremulticore-bench298c5d ()fedora-39-4.14_opam-2.2

fedora-39-4.14_opam-2.2

Link Copied
Code Copied

Logs

2024-09-11 13:30.32: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (298c5d1e24da82a9640825ef4a68b9aef88daaca) (linux-x86_64:fedora-39-4.14_opam-2.2)
Base: ocaml/opam:fedora-39-ocaml-4.14@sha256:1eb0044f55fe265dfd6b825466cbe882fbd4e223648aa172ce0f1df9540fea4e
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 298c5d1e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-39-ocaml-4.14@sha256:1eb0044f55fe265dfd6b825466cbe882fbd4e223648aa172ce0f1df9540fea4e
# fedora-39-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 0329818dcfd3de1a722ea09eeeed94cd24caa375 || git fetch origin master) && git reset -q --hard 0329818dcfd3de1a722ea09eeeed94cd24caa375 && 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.0 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-x86_64.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.8 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-09-11 13:30.32: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:fedora-39-ocaml-4.14@sha256:1eb0044f55fe265dfd6b825466cbe882fbd4e223648aa172ce0f1df9540fea4e-fedora-39-4.14_opam-2.2-8eb9b3889d1857e02caa258b6a665f2c"
2024-09-11 13:30.32: Using OBuilder spec:
((from ocaml/opam:fedora-39-ocaml-4.14@sha256:1eb0044f55fe265dfd6b825466cbe882fbd4e223648aa172ce0f1df9540fea4e)
 (comment fedora-39-4.14_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (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 0329818dcfd3de1a722ea09eeeed94cd24caa375 || git fetch origin master) && git reset -q --hard 0329818dcfd3de1a722ea09eeeed94cd24caa375 && 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.0 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-x86_64.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.8 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-09-11 13:30.32: Waiting for resource in pool OCluster
2024-09-11 14:05.13: Waiting for worker…
2024-09-11 14:10.37: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
HEAD is now at 298c5d1 Add a naïve bounded queue benchmark


(from ocaml/opam:fedora-39-ocaml-4.14@sha256:1eb0044f55fe265dfd6b825466cbe882fbd4e223648aa172ce0f1df9540fea4e)
2024-09-11 14:11.21 ---> saved as "39e5ddc8fc616b8b4893dbc0062d91989319c294efe60e75830cba3f336be183"


/: (comment fedora-39-4.14_opam-2.2)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Fedora 39 - x86_64                              341 kB/s |  29 kB     00:00    
Fedora 39 openh264 (From Cisco) - x86_64         13 kB/s | 989  B     00:00    
Fedora 39 - x86_64 - Updates                    256 kB/s |  19 kB     00:00    
Fedora 39 - x86_64 - Updates                    2.3 MB/s | 7.4 MB     00:03    
Package findutils-1:4.9.0-6.fc39.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-09-11 14:11.45 ---> saved as "899ad86fb03d0933c8fe5c57a4478c21ed3f822ce9f935a5d4d24f8f20878e19"


/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-09-11 14:11.45 ---> saved as "d3553587ce888158864badd7738b6991d0b226af08a789c18ed598b1f136022d"


/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
[NOTE] The 'jobs' option was reset, its value was 31 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=31 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-11 14:13.22 ---> saved as "d40ec543ec1860e6f151eaea1e98cd4fcc2fb6cb5465908b83f29575116f7ded"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-09-11 14:13.22 ---> saved as "8b4548afcfaa39afc61a6920b7eefcebd8abcf30cee27a99f958e74225563b81"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-09-11 14:13.23 ---> saved as "f1d07aa64b4d22c1c6279690d2d9d4ea2586cdbd81ee4cfdbd730b84085623d4"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 0329818dcfd3de1a722ea09eeeed94cd24caa375 || git fetch origin master) && git reset -q --hard 0329818dcfd3de1a722ea09eeeed94cd24caa375 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   e89899ac28..0329818dcf  master     -> origin/master
0329818dcf Merge pull request #26527 from dbuenzli/b0-publish-mtime.2.1.0-etc-b00ab5a8b3cb608d


<><> 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-09-11 14:14.57 ---> saved as "60eb90c75d6de873e2dbf9d7750488a92ee9c843331884c64d7096c2adeb6231"


/src: (copy (src multicore-bench.opam) (dst ./))
2024-09-11 14:14.57 ---> saved as "3f5bd617608ff70ff0355210786df3e5fb22b5a5416e6e14244e56579e8506d9"


/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-09-11 14:14.59 ---> saved as "4044251421cad6afde0a7e9aa9ba392b2472230d2d9c748ae9753eea0d8ecfbe"


/src: (env DEPS "astring.0.8.5 backoff.0.1.0 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-x86_64.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.8 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 "yum" "makecache"
- Fedora 39 - x86_64                              301 kB/s |  29 kB     00:00    
- Fedora 39 openh264 (From Cisco) - x86_64         13 kB/s | 989  B     00:00    
- Fedora 39 - x86_64 - Updates                    182 kB/s |  19 kB     00:00    
- Metadata cache created.


<><> 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-x86_64 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-09-11 14:15.20 ---> saved as "f50f55e802fc3e90e200bc56d137a8f7da0cda81f9605e4cd53996da7bb7b034"


/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-x86_64 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.0
  - 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.8
  - 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.0  (cached)
-> retrieved astring.0.8.5  (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.8  (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 yojson.2.2.2  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved dune.3.16.0  (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.16.0
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed backoff.0.1.0
-> installed camlp-streams.5.0.1
-> installed multicore-magic.2.3.0
-> installed ocaml-version.3.6.8
-> installed domain-local-await.1.0.1
-> installed cppo.1.7.0
-> 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-09-11 14:16.06 ---> saved as "a5b3a1bc1b560e1c8d97dd3655e89eb30568b72f1af87d5d4493e8f7d03adb8a"


/src: (copy (src .) (dst /src))
2024-09-11 14:16.07 ---> saved as "67ba2917ddc413cfbe32a421abae983f1b0ec9178c93af02472681fc4f87a951"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/bench && ./main.exe -brief)
Atomic:
  time per op/get:
    2.22 ns
  ops over time/get:
    451.18 M/s
  time per op/incr:
    4.07 ns
  ops over time/incr:
    245.46 M/s
  time per op/push & pop:
    17.04 ns
  ops over time/push & pop:
    58.68 M/s
  time per op/cas int:
    8.83 ns
  ops over time/cas int:
    113.26 M/s
  time per op/xchg int:
    8.61 ns
  ops over time/xchg int:
    116.18 M/s
  time per op/swap:
    9.60 ns
  ops over time/swap:
    104.16 M/s
Atomic incr:
  time per op/CAS, 1 domains:
    4.77 ns
  ops over time/CAS, 1 domains:
    209.86 M/s
  time per op/CAS with backoff, 1 domains:
    4.74 ns
  ops over time/CAS with backoff, 1 domains:
    210.77 M/s
  time per op/Incr, 1 domains:
    4.26 ns
  ops over time/Incr, 1 domains:
    234.57 M/s
Bounded_q:
  time per message/one domain:
    193.02 ns
  messages over time/one domain:
    5.18 M/s
Hashtbl:
  time per operation/one domain, 10% reads:
    60.67 ns
  operations over time/one domain, 10% reads:
    16.48 M/s
  time per operation/one domain, 50% reads:
    76.58 ns
  operations over time/one domain, 50% reads:
    13.06 M/s
  time per operation/one domain, 90% reads:
    55.49 ns
  operations over time/one domain, 90% reads:
    18.02 M/s
  time per operation/1 worker, 10% reads:
    107.87 ns
  operations over time/1 worker, 10% reads:
    9.27 M/s
  time per operation/2 workers, 10% reads:
    217.50 ns
  operations over time/2 workers, 10% reads:
    9.20 M/s
  time per operation/4 workers, 10% reads:
    450.03 ns
  operations over time/4 workers, 10% reads:
    8.89 M/s
  time per operation/8 workers, 10% reads:
    899.62 ns
  operations over time/8 workers, 10% reads:
    8.89 M/s
  time per operation/1 worker, 50% reads:
    106.25 ns
  operations over time/1 worker, 50% reads:
    9.41 M/s
  time per operation/2 workers, 50% reads:
    215.20 ns
  operations over time/2 workers, 50% reads:
    9.29 M/s
  time per operation/4 workers, 50% reads:
    430.25 ns
  operations over time/4 workers, 50% reads:
    9.30 M/s
  time per operation/8 workers, 50% reads:
    877.10 ns
  operations over time/8 workers, 50% reads:
    9.12 M/s
  time per operation/1 worker, 90% reads:
    99.22 ns
  operations over time/1 worker, 90% reads:
    10.08 M/s
  time per operation/2 workers, 90% reads:
    199.68 ns
  operations over time/2 workers, 90% reads:
    10.02 M/s
  time per operation/4 workers, 90% reads:
    410.74 ns
  operations over time/4 workers, 90% reads:
    9.74 M/s
  time per operation/8 workers, 90% reads:
    812.16 ns
  operations over time/8 workers, 90% reads:
    9.85 M/s
Queue:
  time per message/one domain:
    40.67 ns
  messages over time/one domain:
    24.59 M/s
Ref with Mutex:
  time per op/get:
    44.74 ns
  ops over time/get:
    22.35 M/s
  time per op/incr:
    45.00 ns
  ops over time/incr:
    22.22 M/s
  time per op/push & pop:
    48.52 ns
  ops over time/push & pop:
    20.61 M/s
  time per op/cas int:
    46.63 ns
  ops over time/cas int:
    21.44 M/s
  time per op/xchg int:
    46.84 ns
  ops over time/xchg int:
    21.35 M/s
  time per op/swap:
    48.04 ns
  ops over time/swap:
    20.82 M/s
Ref with [@poll error]:
  time per op/get:
    2.01 ns
  ops over time/get:
    497.08 M/s
  time per op/incr:
    3.83 ns
  ops over time/incr:
    260.78 M/s
  time per op/push & pop:
    15.87 ns
  ops over time/push & pop:
    63.01 M/s
  time per op/cas int:
    5.38 ns
  ops over time/cas int:
    185.99 M/s
  time per op/xchg int:
    8.97 ns
  ops over time/xchg int:
    111.49 M/s
  time per op/swap:
    16.91 ns
  ops over time/swap:
    59.14 M/s
Stack:
  time per message/one domain:
    35.26 ns
  messages over time/one domain:
    28.36 M/s
Unix:
  time per blocking read/1 worker:
    3049.31 ns
  blocking reads over time/1 worker:
    0.33 M/s
2024-09-11 14:16.14 ---> saved as "5ae20ef37d76e364e19d193c0d7375da353e68d19884b2883e390d17937e47fd"
Job succeeded
2024-09-11 14:16.14: Job succeeded