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) (linux-x86_64:debian-12-5.2_opam-2.3) Base: ocaml/opam:debian-12-ocaml-5.2@sha256:792c26a4e4da3a0512dc52f25e6704dd5db8c8404befac5c21ab389bc40a5116 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 ocaml/opam:debian-12-ocaml-5.2@sha256:792c26a4e4da3a0512dc52f25e6704dd5db8c8404befac5c21ab389bc40a5116 # debian-12-5.2_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 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 ./ 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-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 . /src RUN 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-ocaml/opam:debian-12-ocaml-5.2@sha256:792c26a4e4da3a0512dc52f25e6704dd5db8c8404befac5c21ab389bc40a5116-debian-12-5.2_opam-2.3-07d0a9da36416ce62039a926fb978eb0" 2025-01-08 21:57.28: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.2@sha256:792c26a4e4da3a0512dc52f25e6704dd5db8c8404befac5c21ab389bc40a5116) (comment debian-12-5.2_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 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 ./)) (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-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 /src)) (run (shell "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 22:34.21: Waiting for worker… 2025-01-08 22:42.59: Got resource from pool OCluster Building on laodoke.caelum.ci.dev All commits already cached HEAD is now at 01ef4eb Upgrade to ocamlformat 0.27.0 (from ocaml/opam:debian-12-ocaml-5.2@sha256:792c26a4e4da3a0512dc52f25e6704dd5db8c8404befac5c21ab389bc40a5116) 2025-01-08 22:42.59 ---> using "03a81c032cd48166681695513a30bb75b605d4bfc1dbbb80785fa09c5f53cf43" from cache /: (comment debian-12-5.2_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-08 22:42.59 ---> using "31dd2a15c582cf4ea01fdcff48d7803ed2d621d97e18058f9f7e739ecf3f8b8f" 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 39 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=39 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2025-01-08 22:42.59 ---> using "02aedccd69ec97438b1f508b830eda9e2f59dd35945a614fed6264bad2d89291" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-130-generic The OCaml toplevel, version 5.2.1 2.3.0 2025-01-08 22:42.59 ---> using "3bd1c63057ed1ae303c73cfe536f3240898f0e0df1d5adf3a2ca98c7c4886f6a" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-01-08 22:42.59 ---> using "c14e4727d1ae0dd71b585fc43cc88152f4bdfdeab7ff3d8338cc209c581bc692" from cache /src: (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 de786e28db..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:42.59 ---> using "0cd853f727235e0270de2c7282267d0cefae6fa0e529dbe43d333190074b1b7b" from cache /src: (copy (src multicore-bench.opam) (dst ./)) 2025-01-08 22:43.00 ---> saved as "9a7a6aa3b01f7e3bdf3d972a2d38f33887601aa1efe27ad99fae71a6c43000b1" /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-08 22:43.02 ---> saved as "2ce94e3d868a062e0cb01eb8d82c04b7bd33fa8a3f3f64be6fbe5e0ee33ba90c" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-01-08 22:43.02 ---> saved as "dee7a310ee1bfca8ceb5d9963d811f9eaf0010e13460ddeabf31e23cbed250e7" /src: (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") /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" - 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-security bookworm-security/main amd64 Packages [240 kB] - Fetched 343 kB in 0s (1128 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 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:43.22 ---> saved as "aeafbdff191e37a8ec7f3daa98867aed16ebac93316b2aa69ea1d518e8a7b7fa" /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 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 camlp-streams.5.0.1 (cached) -> retrieved backoff.0.1.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.0 (cached) -> retrieved ocaml-version.3.7.3 (cached) -> retrieved mdx.2.5.0 (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 backoff.0.1.1 -> installed csexp.1.5.2 -> installed result.1.5 -> installed thread-table.1.0.0 -> installed ocaml-version.3.7.3 -> installed multicore-magic.2.3.0 -> installed camlp-streams.5.0.1 -> installed domain-local-await.1.0.1 -> installed re.1.12.0 -> installed cppo.1.8.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:44.32 ---> saved as "128ab2fa31c76b83f75bd181fb2964c354c1b94607e6d8d465a5e83558f685e5" /src: (copy (src .) (dst /src)) 2025-01-08 22:44.32 ---> saved as "7dcf0206eb4d0a3397c072694e597d7cb0865626c4b1180ed63b9b164978860d" /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: 53.80 M/s ops over time/get: 354.39 M/s ops over time/incr: 75.63 M/s ops over time/push & pop: 23.21 M/s ops over time/swap: 36.92 M/s ops over time/xchg int: 60.59 M/s time per op/cas int: 18.59 ns time per op/get: 2.82 ns time per op/incr: 13.22 ns time per op/push & pop: 43.09 ns time per op/swap: 27.08 ns time per op/xchg int: 16.50 ns Atomic incr: ops over time/CAS, 1 domains: 54.82 M/s ops over time/CAS, 2 domains: 12.98 M/s ops over time/CAS, 4 domains: 8.40 M/s ops over time/CAS, 8 domains: 6.66 M/s ops over time/CAS with backoff, 1 domains: 72.05 M/s ops over time/CAS with backoff, 2 domains: 63.50 M/s ops over time/CAS with backoff, 4 domains: 44.64 M/s ops over time/CAS with backoff, 8 domains: 42.98 M/s ops over time/Incr, 1 domains: 97.11 M/s ops over time/Incr, 2 domains: 48.03 M/s ops over time/Incr, 4 domains: 41.44 M/s ops over time/Incr, 8 domains: 39.88 M/s time per op/CAS, 1 domains: 18.24 ns time per op/CAS, 2 domains: 154.13 ns time per op/CAS, 4 domains: 476.32 ns time per op/CAS, 8 domains: 1201.00 ns time per op/CAS with backoff, 1 domains: 13.88 ns time per op/CAS with backoff, 2 domains: 31.49 ns time per op/CAS with backoff, 4 domains: 89.61 ns time per op/CAS with backoff, 8 domains: 186.15 ns time per op/Incr, 1 domains: 10.30 ns time per op/Incr, 2 domains: 41.64 ns time per op/Incr, 4 domains: 96.52 ns time per op/Incr, 8 domains: 200.59 ns Bounded_q: messages over time/1 adder, 1 taker: 1.70 M/s messages over time/1 adder, 2 takers: 1.28 M/s messages over time/1 adder, 4 takers: 1.57 M/s messages over time/2 adders, 1 taker: 1.78 M/s messages over time/2 adders, 2 takers: 1.78 M/s messages over time/2 adders, 4 takers: 0.98 M/s messages over time/4 adders, 1 taker: 1.63 M/s messages over time/4 adders, 2 takers: 1.68 M/s messages over time/4 adders, 4 takers: 1.05 M/s messages over time/one domain: 4.26 M/s time per message/1 adder, 1 taker: 1179.94 ns time per message/1 adder, 2 takers: 2343.04 ns time per message/1 adder, 4 takers: 3181.88 ns time per message/2 adders, 1 taker: 1681.03 ns time per message/2 adders, 2 takers: 2242.05 ns time per message/2 adders, 4 takers: 6122.45 ns time per message/4 adders, 1 taker: 3068.57 ns time per message/4 adders, 2 takers: 3580.85 ns time per message/4 adders, 4 takers: 7620.67 ns time per message/one domain: 234.70 ns Hashtbl: operations over time/1 worker, 10% reads: 7.94 M/s operations over time/1 worker, 50% reads: 5.45 M/s operations over time/1 worker, 90% reads: 6.78 M/s operations over time/2 workers, 10% reads: 2.17 M/s operations over time/2 workers, 50% reads: 2.51 M/s operations over time/2 workers, 90% reads: 2.85 M/s operations over time/4 workers, 10% reads: 2.30 M/s operations over time/4 workers, 50% reads: 2.58 M/s operations over time/4 workers, 90% reads: 3.01 M/s operations over time/8 workers, 10% reads: 2.03 M/s operations over time/8 workers, 50% reads: 2.08 M/s operations over time/8 workers, 90% reads: 2.52 M/s operations over time/one domain, 10% reads: 14.78 M/s operations over time/one domain, 50% reads: 10.96 M/s operations over time/one domain, 90% reads: 13.38 M/s time per operation/1 worker, 10% reads: 125.98 ns time per operation/1 worker, 50% reads: 183.49 ns time per operation/1 worker, 90% reads: 147.45 ns time per operation/2 workers, 10% reads: 920.46 ns time per operation/2 workers, 50% reads: 796.70 ns time per operation/2 workers, 90% reads: 702.62 ns time per operation/4 workers, 10% reads: 1735.69 ns time per operation/4 workers, 50% reads: 1550.26 ns time per operation/4 workers, 90% reads: 1330.43 ns time per operation/8 workers, 10% reads: 3936.37 ns time per operation/8 workers, 50% reads: 3850.33 ns time per operation/8 workers, 90% reads: 3168.51 ns time per operation/one domain, 10% reads: 67.65 ns time per operation/one domain, 50% reads: 91.26 ns time per operation/one domain, 90% reads: 74.73 ns Queue: messages over time/one domain: 20.94 M/s time per message/one domain: 47.76 ns Ref with Mutex: ops over time/cas int: 12.91 M/s ops over time/get: 11.01 M/s ops over time/incr: 14.22 M/s ops over time/push & pop: 11.70 M/s ops over time/swap: 13.53 M/s ops over time/xchg int: 13.42 M/s time per op/cas int: 77.43 ns time per op/get: 90.83 ns time per op/incr: 70.34 ns time per op/push & pop: 85.45 ns time per op/swap: 73.92 ns time per op/xchg int: 74.51 ns Ref with [@poll error]: ops over time/cas int: 85.46 M/s ops over time/get: 337.80 M/s ops over time/incr: 205.47 M/s ops over time/push & pop: 27.37 M/s ops over time/swap: 52.76 M/s ops over time/xchg int: 88.28 M/s time per op/cas int: 11.70 ns time per op/get: 2.96 ns time per op/incr: 4.87 ns time per op/push & pop: 36.54 ns time per op/swap: 18.95 ns time per op/xchg int: 11.33 ns Stack: messages over time/one domain: 23.53 M/s time per message/one domain: 42.50 ns Unix: blocking reads over time/1 worker: 0.79 M/s blocking reads over time/2 workers: 1.60 M/s blocking reads over time/4 workers: 3.23 M/s time per blocking read/1 worker: 1264.04 ns time per blocking read/2 workers: 1249.62 ns time per blocking read/4 workers: 1238.66 ns 2025-01-08 22:44.50 ---> saved as "6dd7a4f5f9055b7b597dd317d97ab9b10a1ac2309fee1d1d119bc4aaa5862e3f" Job succeeded 2025-01-08 22:44.51: Job succeeded