Organisationsocaml-multicoremulticore-bench01ef4e ()windows-server-2022-amd64-4.14_opam-2.3

windows-server-2022-amd64-4.14_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) (windows-amd64:windows-server-2022-amd64-4.14_opam-2.3)
Base: windows-server-2022-amd64-ocaml-4.14
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 windows-server-2022-amd64-ocaml-4.14
# windows-server-2022-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN 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 /Users/opam/src/./
RUN opam pin add -yn multicore-bench.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="arch-x86_64.1 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 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.17.1 flexdll.0.43 fmt.0.9.0 host-arch-x86_64.1 host-system-mingw.1 logs.0.7.0 mdx.2.5.0 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.5 re.1.12.0 result.1.5 seq.base system-mingw.1 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 . /Users/opam/src
RUN cd /cygdrive/c/Users/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-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.3-25a064641b81fb29b416a750771c2b1b"
2025-01-08 21:57.28: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-4.14)
 (comment windows-server-2022-amd64-4.14_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "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 "c:\\Users\\opam\\AppData\\local\\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 /Users/opam/src/./))
 (run (network host)
      (shell "opam pin add -yn multicore-bench.dev '/Users/opam/src/./'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
 (env DEPS "arch-x86_64.1 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 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.17.1 flexdll.0.43 fmt.0.9.0 host-arch-x86_64.1 host-system-mingw.1 logs.0.7.0 mdx.2.5.0 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.5 re.1.12.0 result.1.5 seq.base system-mingw.1 thread-table.1.0.0 topkg.1.0.7 yojson.2.2.2")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\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 "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /Users/opam/src))
 (run (shell "cd /cygdrive/c/Users/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:30.14: Got resource from pool OCluster
Building on odawa
All commits already cached
HEAD is now at 01ef4eb Upgrade to ocamlformat 0.27.0

(from windows-server-2022-amd64-ocaml-4.14)
2025-01-08 22:30.14 ---> using "55c9cbebb0e098c78ccc09b1cc6e84ec9f0bd2275b7cebf331cc913575946dc0" from cache

/: (comment windows-server-2022-amd64-4.14_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

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

/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.

<><> Unix support infrastructure ><><><><><><><><><><><><><><><><><><><><><><><>

opam and the OCaml ecosystem in general require various Unix tools in order to operate correctly. At present, this requires the installation of Cygwin to provide these tools.

How should opam obtain Unix tools?
> 1. Use tools found in PATH (Cygwin installation at C:\cygwin64)
  2. Automatically create an internal Cygwin installation that will be managed by opam (recommended)
  3. Use Cygwin installation found in C:\cygwin64
  4. Use another existing Cygwin/MSYS2 installation
  5. Abort initialisation

[1/2/3/4/5] 1
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] no changes from file://C:/Users/opam/opam-repository
2025-01-08 22:30.14 ---> using "0caf41f56a7e1f8a9ba062ae44d7d1f50471f3874e543c30c0d1c2b229f1e062" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.5.4-1.x86_64
The OCaml toplevel, version 4.14.2
2.3.0
2025-01-08 22:30.14 ---> using "6a7802e4db8e302e8ba8d87ff4e9376ae777099db0cd03bdab21ff27a442740c" from cache

/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\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
   11bdbee611..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://C:/Users/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:30.14 ---> using "4f2eb89ac399b190ec716ce06db9e12da04bb810dfc0762bfb00751d94506d88" from cache

/: (copy (src multicore-bench.opam) (dst /Users/opam/src/./))
2025-01-08 22:30.45 ---> saved as "3c67191e27fefee54d84c5d4436af7980676882bed2d99a3447e9bd841724004"

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

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-01-08 22:31.48 ---> saved as "f3d78876e6bd6af65dd156c40c6e6374754a9025c626f906e03c473f97e91930"

/: (env DEPS "arch-x86_64.1 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 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.17.1 flexdll.0.43 fmt.0.9.0 host-arch-x86_64.1 host-system-mingw.1 logs.0.7.0 mdx.2.5.0 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.5 re.1.12.0 result.1.5 seq.base system-mingw.1 thread-table.1.0.0 topkg.1.0.7 yojson.2.2.2")

/: (env CI true)

/: (env OCAMLCI true)

/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
        (network host)
        (shell "opam update --depexts && opam install --cli=2.3 --depext-only -y multicore-bench.dev $DEPS"))

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[multicore-bench.dev] synchronised (file://C:/Users/opam/src/.)

[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 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 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.43).
[NOTE] Package conf-mingw-w64-gcc-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).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
2025-01-08 22:32.31 ---> saved as "8f9dc6121497813a73f8fe96ecc0c098ac7b036499b03d6ced1e95fec17df964"

/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
        (network host)
        (shell "opam install $DEPS"))
[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 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 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.43).
[NOTE] Package conf-mingw-w64-gcc-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).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
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.5
  - 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 astring.0.8.5  (cached)
-> retrieved backoff.0.1.1  (cached)
-> retrieved camlp-streams.5.0.1  (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 cppo.1.8.0  (https://github.com/ocaml-community/cppo/archive/v1.8.0.tar.gz)
-> retrieved logs.0.7.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved multicore-magic.2.3.0  (cached)
-> retrieved mdx.2.5.0  (https://github.com/realworldocaml/mdx/releases/download/2.5.0/mdx-2.5.0.tbz)
-> 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.5  (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  (https://github.com/ocaml/dune/releases/download/3.17.1/dune-3.17.1.tbz)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.5\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.5\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\4.14.2\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.5
-> installed topkg.1.0.7
-> installed astring.0.8.5
-> installed fmt.0.9.0
-> installed mtime.2.1.0
-> installed logs.0.7.0
-> installed dune.3.17.1
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed domain_shims.0.1.0
-> installed backoff.0.1.1
-> installed ocaml-version.3.7.3
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed multicore-magic.2.3.0
-> installed cppo.1.8.0
-> installed domain-local-await.1.0.1
-> installed re.1.12.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:34.01 ---> saved as "7f0c16ad446fdcdddcf698c70c521548a517c27ee3168678e9e744087b9bbedd"

/: (copy (src .) (dst /Users/opam/src))
2025-01-08 22:34.39 ---> saved as "6df03c344045017db629ea7a23f278cfef8d378a72d9a435d731ca556e426f57"

/: (run (shell "cd /cygdrive/c/Users/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:
    149.92 M/s
  ops over time/get:
    527.20 M/s
  ops over time/incr:
    348.04 M/s
  ops over time/push & pop:
    90.23 M/s
  ops over time/swap:
    95.15 M/s
  ops over time/xchg int:
    146.92 M/s
  time per op/cas int:
    6.67 ns
  time per op/get:
    1.90 ns
  time per op/incr:
    2.87 ns
  time per op/push & pop:
    11.08 ns
  time per op/swap:
    10.51 ns
  time per op/xchg int:
    6.81 ns
Atomic incr:
  ops over time/CAS, 1 domains:
    170.09 M/s
  ops over time/CAS with backoff, 1 domains:
    152.14 M/s
  ops over time/Incr, 1 domains:
    431.26 M/s
  time per op/CAS, 1 domains:
    5.88 ns
  time per op/CAS with backoff, 1 domains:
    6.57 ns
  time per op/Incr, 1 domains:
    2.32 ns
Bounded_q:
  messages over time/one domain:
    14.83 M/s
  time per message/one domain:
    67.44 ns
Hashtbl:
  operations over time/1 worker, 10% reads:
    16.63 M/s
  operations over time/1 worker, 50% reads:
    15.38 M/s
  operations over time/1 worker, 90% reads:
    18.83 M/s
  operations over time/2 workers, 10% reads:
    16.31 M/s
  operations over time/2 workers, 50% reads:
    15.46 M/s
  operations over time/2 workers, 90% reads:
    19.78 M/s
  operations over time/4 workers, 10% reads:
    15.01 M/s
  operations over time/4 workers, 50% reads:
    14.78 M/s
  operations over time/4 workers, 90% reads:
    16.11 M/s
  operations over time/8 workers, 10% reads:
    8.10 M/s
  operations over time/8 workers, 50% reads:
    11.92 M/s
  operations over time/8 workers, 90% reads:
    13.30 M/s
  operations over time/one domain, 10% reads:
    24.46 M/s
  operations over time/one domain, 50% reads:
    23.95 M/s
  operations over time/one domain, 90% reads:
    31.15 M/s
  time per operation/1 worker, 10% reads:
    60.13 ns
  time per operation/1 worker, 50% reads:
    65.02 ns
  time per operation/1 worker, 90% reads:
    53.12 ns
  time per operation/2 workers, 10% reads:
    122.60 ns
  time per operation/2 workers, 50% reads:
    129.39 ns
  time per operation/2 workers, 90% reads:
    101.14 ns
  time per operation/4 workers, 10% reads:
    266.47 ns
  time per operation/4 workers, 50% reads:
    270.67 ns
  time per operation/4 workers, 90% reads:
    248.25 ns
  time per operation/8 workers, 10% reads:
    987.63 ns
  time per operation/8 workers, 50% reads:
    671.34 ns
  time per operation/8 workers, 90% reads:
    601.40 ns
  time per operation/one domain, 10% reads:
    40.89 ns
  time per operation/one domain, 50% reads:
    41.76 ns
  time per operation/one domain, 90% reads:
    32.10 ns
Queue:
  messages over time/one domain:
    36.38 M/s
  time per message/one domain:
    27.49 ns
Ref with Mutex:
  ops over time/cas int:
    44.38 M/s
  ops over time/get:
    59.99 M/s
  ops over time/incr:
    59.23 M/s
  ops over time/push & pop:
    48.29 M/s
  ops over time/swap:
    41.73 M/s
  ops over time/xchg int:
    41.03 M/s
  time per op/cas int:
    22.53 ns
  time per op/get:
    16.67 ns
  time per op/incr:
    16.88 ns
  time per op/push & pop:
    20.71 ns
  time per op/swap:
    23.97 ns
  time per op/xchg int:
    24.37 ns
Ref with [@poll error]:
  ops over time/cas int:
    176.52 M/s
  ops over time/get:
    625.83 M/s
  ops over time/incr:
    514.85 M/s
  ops over time/push & pop:
    91.83 M/s
  ops over time/swap:
    94.94 M/s
  ops over time/xchg int:
    169.01 M/s
  time per op/cas int:
    5.67 ns
  time per op/get:
    1.60 ns
  time per op/incr:
    1.94 ns
  time per op/push & pop:
    10.89 ns
  time per op/swap:
    10.53 ns
  time per op/xchg int:
    5.92 ns
Stack:
  messages over time/one domain:
    41.91 M/s
  time per message/one domain:
    23.86 ns
Unix:
2025-01-08 22:35.29 ---> saved as "4a322a4639098015a55369ba6d5725a6bc5d602ebe006e80932eac4bf91b4a60"
Job succeeded
2025-01-08 22:35.29: Job succeeded