Organisationsocaml-multicoremulticore-bench01ef4e ()openbsd-76-amd64-5.2_opam-2.3

openbsd-76-amd64-5.2_opam-2.3

Logs

Show full 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) (openbsd-amd64:openbsd-76-amd64-5.2_opam-2.3)
Base: openbsd-76-amd64-ocaml-5.2
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 openbsd-76-amd64-ocaml-5.2
# openbsd-76-amd64-5.2_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
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 /home/opam/src/./
RUN opam pin add -yn multicore-bench.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./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-x86_64.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 . /home/opam/src
RUN cd /home/opam/src && 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-openbsd-76-amd64-ocaml-5.2-openbsd-76-amd64-5.2_opam-2.3-07d0a9da36416ce62039a926fb978eb0"
2025-01-08 21:57.28: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-5.2)
 (comment openbsd-76-amd64-5.2_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "doas 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"))
 (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 /home/opam/src/./))
 (run (network host)
      (shell "opam pin add -yn multicore-bench.dev '/home/opam/src/./'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > '/home/opam/src/./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-x86_64.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 /home/opam/src))
 (run (shell "cd /home/opam/src && 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.31: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at 01ef4eb Upgrade to ocamlformat 0.27.0

(from openbsd-76-amd64-ocaml-5.2)
2025-01-08 22:50.31 ---> using "4320665f99976787f90a9e18174d2737909e8978c44b8f3d46fb0aff097b06a4" from cache

/: (comment openbsd-76-amd64-5.2_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-01-08 22:50.31 ---> using "22e2929b9a366c809ec816349aa6cb9a45b4649cad05d8c280efed2bc66c5069" from cache

/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-08 22:50.31 ---> using "8ee85108de9d3aac6d892ef0faaf024ea14d13d761a327e4e4cd8f43a209bafa" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 5.2.1
2.3.0
2025-01-08 22:50.31 ---> using "52e1b1eb38389daf27ec5bb41e48ee2005bdbd80371e88d39094e253864006cb" from cache

/: (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
   727427c1e7..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.31 ---> using "ffeec8eb413d335518cccf21cb9535021e6706c64d0504a13361aac29bb31fb0" from cache

/: (copy (src multicore-bench.opam) (dst /home/opam/src/./))
2025-01-08 22:51.12 ---> saved as "1d25712bd0780ce13ce50d8b4a49de7ed513a28b2ad9e531fd38e6600021cca0"

/: (run (network host)
        (shell "opam pin add -yn multicore-bench.dev '/home/opam/src/./'"))
[multicore-bench.dev] synchronised (file:///home/opam/src)
multicore-bench is now pinned to file:///home/opam/src (version dev)
2025-01-08 22:51.55 ---> saved as "e8c45ae029db8d48701ef8a2c352cfd9357328486e7e82081f04d7f0d47184ed"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-01-08 22:52.53 ---> saved as "615952cfa1089f2fd8f4adcaf191b3fd2f7248b96ba6d0266955dbe4513992a9"

/: (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-x86_64.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"))
[WARNING] Unknown update command for bsd, skipping system update

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[multicore-bench.dev] synchronised (file:///home/opam/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-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-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:54.02 ---> saved as "de98e9e7a5ebb0ea30651e4148ec17dbcaa69b0867f6d28dbe8a280bb3bfe837"

/: (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-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-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 camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved domain-local-await.1.0.1  (cached)
-> retrieved domain_shims.0.1.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved fmt.0.9.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  (https://github.com/ocurrent/ocaml-version/releases/download/v3.7.3/ocaml-version-3.7.3.tbz)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved seq.base  (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)
-> retrieved dune.3.17.1  (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.17.1
-> installed ocamlbuild.0.15.0
-> installed backoff.0.1.1
-> installed camlp-streams.5.0.1
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed domain_shims.0.1.0
-> installed multicore-magic.2.3.0
-> installed ocaml-version.3.7.3
-> installed ocamlfind.1.9.6
-> installed result.1.5
-> installed seq.base
-> installed thread-table.1.0.0
-> installed re.1.12.0
-> installed domain-local-await.1.0.1
-> installed topkg.1.0.7
-> installed yojson.2.2.2
-> 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 23:03.15 ---> saved as "56bca6e034866835c71b4bc0f7903ef2769e7361ac2e20db183a141608bf7080"

/: (copy (src .) (dst /home/opam/src))
2025-01-08 23:04.13 ---> saved as "ecc8016c31b22e97652ee7b6bb57b22c59905aadde52c7771917cf9fc55b3613"

/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/bench && ./main.exe -brief)
Atomic:
  ops over time/cas int:
    58.40 M/s
  ops over time/get:
    403.09 M/s
  ops over time/incr:
    83.83 M/s
  ops over time/push & pop:
    29.09 M/s
  ops over time/swap:
    46.47 M/s
  ops over time/xchg int:
    61.19 M/s
  time per op/cas int:
    17.12 ns
  time per op/get:
    2.48 ns
  time per op/incr:
    11.93 ns
  time per op/push & pop:
    34.38 ns
  time per op/swap:
    21.52 ns
  time per op/xchg int:
    16.34 ns
Atomic incr:
  ops over time/CAS, 1 domains:
    36.35 M/s
  ops over time/CAS, 2 domains:
    12.91 M/s
  ops over time/CAS, 4 domains:
    8.57 M/s
  ops over time/CAS with backoff, 1 domains:
    25.80 M/s
  ops over time/CAS with backoff, 2 domains:
    38.36 M/s
  ops over time/CAS with backoff, 4 domains:
    16.47 M/s
  ops over time/Incr, 1 domains:
    41.93 M/s
  ops over time/Incr, 2 domains:
    28.60 M/s
  ops over time/Incr, 4 domains:
    24.33 M/s
  time per op/CAS, 1 domains:
    27.51 ns
  time per op/CAS, 2 domains:
    154.95 ns
  time per op/CAS, 4 domains:
    466.79 ns
  time per op/CAS with backoff, 1 domains:
    38.77 ns
  time per op/CAS with backoff, 2 domains:
    52.14 ns
  time per op/CAS with backoff, 4 domains:
    242.90 ns
  time per op/Incr, 1 domains:
    23.85 ns
  time per op/Incr, 2 domains:
    69.94 ns
  time per op/Incr, 4 domains:
    164.39 ns
Bounded_q:
  messages over time/1 adder, 1 taker:
    2.95 M/s
  messages over time/1 adder, 2 takers:
    1.67 M/s
  messages over time/2 adders, 1 taker:
    1.56 M/s
  messages over time/2 adders, 2 takers:
    1.50 M/s
  messages over time/one domain:
    2.71 M/s
  time per message/1 adder, 1 taker:
    677.84 ns
  time per message/1 adder, 2 takers:
    1797.11 ns
  time per message/2 adders, 1 taker:
    1928.90 ns
  time per message/2 adders, 2 takers:
    2666.52 ns
  time per message/one domain:
    369.42 ns
Hashtbl:
  operations over time/1 worker, 10% reads:
    7.38 M/s
  operations over time/1 worker, 50% reads:
    4.86 M/s
  operations over time/1 worker, 90% reads:
    4.66 M/s
  operations over time/2 workers, 10% reads:
    2.47 M/s
  operations over time/2 workers, 50% reads:
    2.68 M/s
  operations over time/2 workers, 90% reads:
    3.05 M/s
  operations over time/4 workers, 10% reads:
    0.85 M/s
  operations over time/4 workers, 50% reads:
    1.85 M/s
  operations over time/4 workers, 90% reads:
    2.90 M/s
  operations over time/8 workers, 10% reads:
    1.18 M/s
  operations over time/8 workers, 50% reads:
    1.46 M/s
  operations over time/8 workers, 90% reads:
    1.99 M/s
  operations over time/one domain, 10% reads:
    12.83 M/s
  operations over time/one domain, 50% reads:
    17.03 M/s
  operations over time/one domain, 90% reads:
    16.45 M/s
  time per operation/1 worker, 10% reads:
    135.54 ns
  time per operation/1 worker, 50% reads:
    205.85 ns
  time per operation/1 worker, 90% reads:
    214.45 ns
  time per operation/2 workers, 10% reads:
    810.03 ns
  time per operation/2 workers, 50% reads:
    747.21 ns
  time per operation/2 workers, 90% reads:
    655.38 ns
  time per operation/4 workers, 10% reads:
    4690.15 ns
  time per operation/4 workers, 50% reads:
    2163.46 ns
  time per operation/4 workers, 90% reads:
    1377.38 ns
  time per operation/8 workers, 10% reads:
    6756.85 ns
  time per operation/8 workers, 50% reads:
    5472.56 ns
  time per operation/8 workers, 90% reads:
    4028.74 ns
  time per operation/one domain, 10% reads:
    77.97 ns
  time per operation/one domain, 50% reads:
    58.71 ns
  time per operation/one domain, 90% reads:
    60.79 ns
Queue:
  messages over time/one domain:
    22.95 M/s
  time per message/one domain:
    43.58 ns
Ref with Mutex:
  ops over time/cas int:
    13.58 M/s
  ops over time/get:
    10.82 M/s
  ops over time/incr:
    13.76 M/s
  ops over time/push & pop:
    3.87 M/s
  ops over time/swap:
    12.46 M/s
  ops over time/xchg int:
    13.00 M/s
  time per op/cas int:
    73.62 ns
  time per op/get:
    92.39 ns
  time per op/incr:
    72.67 ns
  time per op/push & pop:
    258.25 ns
  time per op/swap:
    80.27 ns
  time per op/xchg int:
    76.91 ns
Ref with [@poll error]:
  ops over time/cas int:
    113.69 M/s
  ops over time/get:
    446.90 M/s
  ops over time/incr:
    320.56 M/s
  ops over time/push & pop:
    3.84 M/s
  ops over time/swap:
    82.01 M/s
  ops over time/xchg int:
    80.76 M/s
  time per op/cas int:
    8.80 ns
  time per op/get:
    2.24 ns
  time per op/incr:
    3.12 ns
  time per op/push & pop:
    260.64 ns
  time per op/swap:
    12.19 ns
  time per op/xchg int:
    12.38 ns
Stack:
  messages over time/one domain:
    28.78 M/s
  time per message/one domain:
    34.74 ns
Unix:
  blocking reads over time/1 worker:
    0.35 M/s
  blocking reads over time/2 workers:
    0.73 M/s
  blocking reads over time/4 workers:
    0.78 M/s
  time per blocking read/1 worker:
    2824.46 ns
  time per blocking read/2 workers:
    2735.57 ns
  time per blocking read/4 workers:
    5153.68 ns
2025-01-08 23:06.58 ---> saved as "ec6a64423f1b44e2659a4b6adcf9f2c54108ee41d21375bdf05c2a9d3bf88692"
Job succeeded
2025-01-08 23:06.59: Job succeeded