2025-01-21 14:12.24: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (c4f3be59867507af48fa279a46910f291750f0fa) (linux-x86_64:ubuntu-22.04-4.14_opam-2.3) Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:3a23d3ef3ac6b266c96eb04465be99157c4aa64bb515ef93a76146a32326f4a7 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 c4f3be59 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:3a23d3ef3ac6b266c96eb04465be99157c4aa64bb515ef93a76146a32326f4a7 # ubuntu-22.04-4.14_opam-2.3 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.3 /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 b41fc63234d56d04112634b1ea9121f12caf9794 || git fetch origin master) && git reset -q --hard b41fc63234d56d04112634b1ea9121f12caf9794 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 multicore-bench.opam ./ RUN opam pin add -yn multicore-bench.dev './' RUN echo '(lang dune 3.0)' > './dune-project' 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.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 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 . /src RUN opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2025-01-21 14:12.24: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:3a23d3ef3ac6b266c96eb04465be99157c4aa64bb515ef93a76146a32326f4a7-ubuntu-22.04-4.14_opam-2.3-a6ce96dbbb6af53835677281ad10586e" 2025-01-21 14:12.24: Using OBuilder spec: ((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:3a23d3ef3ac6b266c96eb04465be99157c4aa64bb515ef93a76146a32326f4a7) (comment ubuntu-22.04-4.14_opam-2.3) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo 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")) (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 b41fc63234d56d04112634b1ea9121f12caf9794 || git fetch origin master) && git reset -q --hard b41fc63234d56d04112634b1ea9121f12caf9794 && 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 './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (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.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 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 /src)) (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2025-01-21 14:12.24: Waiting for resource in pool OCluster 2025-01-21 15:04.12: Waiting for worker… 2025-01-21 15:06.44: Got resource from pool OCluster Building on clete.caelum.ci.dev All commits already cached HEAD is now at c4f3be5 Bench and test with OCaml 5.3 and drop <5.2.1 from Windows tests (from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:3a23d3ef3ac6b266c96eb04465be99157c4aa64bb515ef93a76146a32326f4a7) 2025-01-21 15:06.45 ---> using "096077fa2c32fcb7906d40d95a10b6b5cc6c5200975b1f30afc12a247f538aa4" from cache /: (comment ubuntu-22.04-4.14_opam-2.3) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2025-01-21 15:06.45 ---> using "9f327d9fadaa108e1f506bdc67407031b1bf0f64494b84f82daf9d78ef71ad65" 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 [NOTE] The 'jobs' option was reset, its value was 255 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=255 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2025-01-21 15:06.45 ---> using "afca5a1e7fcb0ad16bd79b8e6efbb0a4c2bc6bae76a22849aebcfdc7300dc356" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-130-generic The OCaml toplevel, version 4.14.2 2.3.0 2025-01-21 15:06.45 ---> using "14e5f32900a62811c4da3433625e32e671a366a41383763f4d86144070c42812" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-01-21 15:06.45 ---> using "e4a8d313ddb88a74656e3c79a067dd795cd3cc034d54711a20fe25ca5e807e98" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e b41fc63234d56d04112634b1ea9121f12caf9794 || git fetch origin master) && git reset -q --hard b41fc63234d56d04112634b1ea9121f12caf9794 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 3e681a81f6..b41fc63234 master -> origin/master b41fc63234 Merge pull request #27302 from ocaml/dra27--rm-non-win32-host-pkgs <><> 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-21 15:06.45 ---> using "9b47b67635984fe9a37e129a2bcd0dda69038c0781678478cab5992f5bdf8fc6" from cache /src: (copy (src multicore-bench.opam) (dst ./)) 2025-01-21 15:06.45 ---> saved as "bddb4aa6258e394a6470636cd78be7a76ecf18c64f23710a64a6ac57dd21fb42" /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) 2025-01-21 15:06.50 ---> saved as "cd41fe71d6e5b40ba977825cade3541a98c693bbaf4b1b36119d9b23d3fde572" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-01-21 15:06.50 ---> saved as "099b3a5d3005efec44d37fa79a9d70fa83f8a5a7b8171382cb13e548eb5af9d8" /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.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 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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") /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.3 --depext-only -y multicore-bench.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] - Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease - Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] - Get:4 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2561 kB] - Get:5 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1228 kB] - Get:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] - Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2860 kB] - Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1519 kB] - Fetched 8552 kB in 2s (5347 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [multicore-bench.dev] synchronised (file:///src) [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 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). 2025-01-21 15:07.28 ---> saved as "cf830cea135cfe8a4b24bd258f344682a9c653611beba94c1d60a130c2f0c4c5" /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 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.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.1 - 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 cppo.1.8.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 multicore-magic.2.3.1 (cached) -> retrieved mdx.2.5.0 (cached) -> retrieved ocaml-version.3.7.3 (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 topkg.1.0.7 (cached) -> retrieved yojson.2.2.2 (cached) -> retrieved dune.3.17.1 (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.17.1 -> installed domain_shims.0.1.0 -> installed csexp.1.5.2 -> installed backoff.0.1.1 -> installed thread-table.1.0.0 -> installed result.1.5 -> installed camlp-streams.5.0.1 -> installed multicore-magic.2.3.1 -> installed ocaml-version.3.7.3 -> installed domain-local-await.1.0.1 -> installed cppo.1.8.0 -> 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-21 15:08.55 ---> saved as "658ef33dbd518666bd4942f1a8e418122e8fec3b8daa8ecb6c44c31c4c8d6b9f" /src: (copy (src .) (dst /src)) 2025-01-21 15:08.55 ---> saved as "8ddfeb0972abb2bc27daf42ed2941d2c3913eb4af25f0a2bb363d9ea24e46385" /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: 84.36 M/s ops over time/get: 335.41 M/s ops over time/incr: 181.19 M/s ops over time/push & pop: 32.67 M/s ops over time/swap: 54.44 M/s ops over time/xchg int: 93.21 M/s time per op/cas int: 11.85 ns time per op/get: 2.98 ns time per op/incr: 5.52 ns time per op/push & pop: 30.61 ns time per op/swap: 18.37 ns time per op/xchg int: 10.73 ns Atomic incr: ops over time/CAS, 1 domains: 85.92 M/s ops over time/CAS with backoff, 1 domains: 83.54 M/s ops over time/Incr, 1 domains: 180.81 M/s time per op/CAS, 1 domains: 11.64 ns time per op/CAS with backoff, 1 domains: 11.97 ns time per op/Incr, 1 domains: 5.53 ns Bounded_q: messages over time/one domain: 4.22 M/s time per message/one domain: 236.90 ns Hashtbl: operations over time/1 worker, 10% reads: 5.10 M/s operations over time/1 worker, 50% reads: 4.98 M/s operations over time/1 worker, 90% reads: 5.36 M/s operations over time/2 workers, 10% reads: 5.07 M/s operations over time/2 workers, 50% reads: 5.12 M/s operations over time/2 workers, 90% reads: 5.33 M/s operations over time/4 workers, 10% reads: 4.75 M/s operations over time/4 workers, 50% reads: 5.05 M/s operations over time/4 workers, 90% reads: 5.09 M/s operations over time/8 workers, 10% reads: 4.81 M/s operations over time/8 workers, 50% reads: 5.07 M/s operations over time/8 workers, 90% reads: 5.38 M/s operations over time/one domain, 10% reads: 9.65 M/s operations over time/one domain, 50% reads: 10.01 M/s operations over time/one domain, 90% reads: 10.35 M/s time per operation/1 worker, 10% reads: 196.16 ns time per operation/1 worker, 50% reads: 200.96 ns time per operation/1 worker, 90% reads: 186.50 ns time per operation/2 workers, 10% reads: 394.73 ns time per operation/2 workers, 50% reads: 390.52 ns time per operation/2 workers, 90% reads: 375.08 ns time per operation/4 workers, 10% reads: 842.01 ns time per operation/4 workers, 50% reads: 792.21 ns time per operation/4 workers, 90% reads: 785.45 ns time per operation/8 workers, 10% reads: 1664.37 ns time per operation/8 workers, 50% reads: 1577.13 ns time per operation/8 workers, 90% reads: 1487.56 ns time per operation/one domain, 10% reads: 103.58 ns time per operation/one domain, 50% reads: 99.90 ns time per operation/one domain, 90% reads: 96.61 ns Queue: messages over time/one domain: 21.30 M/s time per message/one domain: 46.95 ns Ref with Mutex: ops over time/cas int: 10.52 M/s ops over time/get: 11.74 M/s ops over time/incr: 12.32 M/s ops over time/push & pop: 10.33 M/s ops over time/swap: 10.23 M/s ops over time/xchg int: 10.52 M/s time per op/cas int: 95.10 ns time per op/get: 85.18 ns time per op/incr: 81.21 ns time per op/push & pop: 96.81 ns time per op/swap: 97.71 ns time per op/xchg int: 95.05 ns Ref with [@poll error]: ops over time/cas int: 88.62 M/s ops over time/get: 341.15 M/s ops over time/incr: 199.69 M/s ops over time/push & pop: 33.70 M/s ops over time/swap: 51.78 M/s ops over time/xchg int: 92.23 M/s time per op/cas int: 11.28 ns time per op/get: 2.93 ns time per op/incr: 5.01 ns time per op/push & pop: 29.67 ns time per op/swap: 19.31 ns time per op/xchg int: 10.84 ns Stack: messages over time/one domain: 25.02 M/s time per message/one domain: 39.97 ns Unix: blocking reads over time/1 worker: 0.24 M/s time per blocking read/1 worker: 4103.08 ns 2025-01-21 15:09.08 ---> saved as "d38b9fe255b87ba5ce9aa72e9cb021397844e1b651ee524b1d1752226a11547d" Job succeeded 2025-01-21 15:09.09: Job succeeded