Organisationsocaml-multicoremulticore-bench01ef4e ()debian-12-4.14_x86_32_opam-2.3

debian-12-4.14_x86_32_opam-2.3

Link Copied
Code Copied

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) (linux-x86_64:debian-12-4.14_x86_32_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:52844e04cc1538222626ac39a4bcc48a4dc6f594c53ffbaa11e44adc493dc564
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-4.14@sha256:52844e04cc1538222626ac39a4bcc48a4dc6f594c53ffbaa11e44adc493dc564
# debian-12-4.14_x86_32_opam-2.3
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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-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_32.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 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.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-4.14@sha256:52844e04cc1538222626ac39a4bcc48a4dc6f594c53ffbaa11e44adc493dc564-debian-12-4.14_x86_32_opam-2.3-3b98e752b44df81eb95e03139bb16feb"
2025-01-08 21:57.28: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:52844e04cc1538222626ac39a4bcc48a4dc6f594c53ffbaa11e44adc493dc564)
(comment debian-12-4.14_x86_32_opam-2.3)
(user (uid 1000) (gid 1000))
(shell /usr/bin/linux32 /bin/sh -c)
(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-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_32.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 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.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.37: Waiting for worker…
2025-01-08 22:43.17: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at 01ef4eb Upgrade to ocamlformat 0.27.0


(from ocaml/opam:debian-12-ocaml-4.14@sha256:52844e04cc1538222626ac39a4bcc48a4dc6f594c53ffbaa11e44adc493dc564)
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2025-01-08 22:43.51 ---> saved as "ff36d171936c4b44934e802a9a7ed4dcc5460c28a10162d81708a750812b3f82"


/: (comment debian-12-4.14_x86_32_opam-2.3)


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


/: (shell /usr/bin/linux32 /bin/sh -c)


/: (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:43.52 ---> saved as "1e31eb4dd30f6cd4ddfc24b3a2925b4412cec5c3efd35fc01286f879c6a39f48"


/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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-08 22:45.42 ---> saved as "37329f5aa9b3c65d5e6a12ea1a33f669de7482d7691a78950bd2fe8753e0c9c4"


/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-08 22:45.42 ---> saved as "23472b19c4de69eaab69baaae8c9c5982ae182ef7104032e8aefe4f3b8477afe"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-01-08 22:45.43 ---> saved as "9fb2703dae4437c3a82262219a35f9377aac59ef7c3ccdbb08e6e1adf306d88a"


/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:47.21 ---> saved as "56db6baebeaf362ef791b70c017eb18fd774cb088d3366ce1f80d8aaf8472300"


/src: (copy (src multicore-bench.opam) (dst ./))
2025-01-08 22:47.21 ---> saved as "107c91d26cf1f15d5821a67b10c4b545293a8e54fd5f2a50b607531fb00b8d56"


/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:47.24 ---> saved as "d222c3d4631c44367d30bee7b2f774eace7743613ac5b1c3d21e22ff5955e8b0"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-08 22:47.24 ---> saved as "e83fcdcddf8d4cc6d3b40d88f68542d9231e0e0b0ca17e3d230cdd760d5abcb5"


/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 host-arch-x86_32.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 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.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 i386 Packages [233 kB]
- Fetched 336 kB in 0s (838 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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_32 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).
2025-01-08 22:47.41 ---> saved as "9d6817e36275ff9bfbc5e3405261b49d2100809239f764a0fa6e76daff34bc74"


/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_32 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.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 cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.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 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.17.1
-> installed domain_shims.0.1.0
-> installed result.1.5
-> installed backoff.0.1.1
-> installed csexp.1.5.2
-> installed thread-table.1.0.0
-> installed camlp-streams.5.0.1
-> installed multicore-magic.2.3.0
-> 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-08 22:48.27 ---> saved as "8ce86d8875108a2317bbcd263165fc4f16b3aaadb2011e2e201e4ec7adbef349"


/src: (copy (src .) (dst /src))
2025-01-08 22:48.27 ---> saved as "c58b2efc50de235c7961dee080de3bf06b88c07e1acfa9ff20876707357dc75c"


/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:
110.96 M/s
ops over time/get:
482.16 M/s
ops over time/incr:
226.38 M/s
ops over time/push & pop:
46.51 M/s
ops over time/swap:
77.68 M/s
ops over time/xchg int:
110.87 M/s
time per op/cas int:
9.01 ns
time per op/get:
2.07 ns
time per op/incr:
4.42 ns
time per op/push & pop:
21.50 ns
time per op/swap:
12.87 ns
time per op/xchg int:
9.02 ns
Atomic incr:
ops over time/CAS, 1 domains:
126.67 M/s
ops over time/CAS with backoff, 1 domains:
127.02 M/s
ops over time/Incr, 1 domains:
205.71 M/s
time per op/CAS, 1 domains:
7.89 ns
time per op/CAS with backoff, 1 domains:
7.87 ns
time per op/Incr, 1 domains:
4.86 ns
Bounded_q:
messages over time/one domain:
7.78 M/s
time per message/one domain:
128.48 ns
Hashtbl:
operations over time/1 worker, 10% reads:
9.33 M/s
operations over time/1 worker, 50% reads:
9.42 M/s
operations over time/1 worker, 90% reads:
10.52 M/s
operations over time/2 workers, 10% reads:
8.92 M/s
operations over time/2 workers, 50% reads:
9.20 M/s
operations over time/2 workers, 90% reads:
9.96 M/s
operations over time/4 workers, 10% reads:
8.00 M/s
operations over time/4 workers, 50% reads:
8.85 M/s
operations over time/4 workers, 90% reads:
9.40 M/s
operations over time/8 workers, 10% reads:
7.03 M/s
operations over time/8 workers, 50% reads:
8.25 M/s
operations over time/8 workers, 90% reads:
8.55 M/s
operations over time/one domain, 10% reads:
15.37 M/s
operations over time/one domain, 50% reads:
15.17 M/s
operations over time/one domain, 90% reads:
17.44 M/s
time per operation/1 worker, 10% reads:
107.18 ns
time per operation/1 worker, 50% reads:
106.11 ns
time per operation/1 worker, 90% reads:
95.07 ns
time per operation/2 workers, 10% reads:
224.29 ns
time per operation/2 workers, 50% reads:
217.32 ns
time per operation/2 workers, 90% reads:
200.90 ns
time per operation/4 workers, 10% reads:
500.14 ns
time per operation/4 workers, 50% reads:
452.19 ns
time per operation/4 workers, 90% reads:
425.52 ns
time per operation/8 workers, 10% reads:
1137.78 ns
time per operation/8 workers, 50% reads:
969.54 ns
time per operation/8 workers, 90% reads:
935.63 ns
time per operation/one domain, 10% reads:
65.06 ns
time per operation/one domain, 50% reads:
65.94 ns
time per operation/one domain, 90% reads:
57.35 ns
Queue:
messages over time/one domain:
25.19 M/s
time per message/one domain:
39.70 ns
Ref with Mutex:
ops over time/cas int:
20.49 M/s
ops over time/get:
23.29 M/s
ops over time/incr:
23.16 M/s
ops over time/push & pop:
19.97 M/s
ops over time/swap:
20.05 M/s
ops over time/xchg int:
21.20 M/s
time per op/cas int:
48.80 ns
time per op/get:
42.93 ns
time per op/incr:
43.18 ns
time per op/push & pop:
50.07 ns
time per op/swap:
49.88 ns
time per op/xchg int:
47.17 ns
Ref with [@poll error]:
ops over time/cas int:
109.18 M/s
ops over time/get:
526.20 M/s
ops over time/incr:
242.34 M/s
ops over time/push & pop:
45.57 M/s
ops over time/swap:
79.20 M/s
ops over time/xchg int:
113.46 M/s
time per op/cas int:
9.16 ns
time per op/get:
1.90 ns
time per op/incr:
4.13 ns
time per op/push & pop:
21.95 ns
time per op/swap:
12.63 ns
time per op/xchg int:
8.81 ns
Stack:
messages over time/one domain:
28.36 M/s
time per message/one domain:
35.26 ns
Unix:
blocking reads over time/1 worker:
0.31 M/s
time per blocking read/1 worker:
3197.61 ns
2025-01-08 22:48.33 ---> saved as "31fa46cdfd10061e2f80f57eefe14fadf7286324393e9f1aa044fafee7ebb128"
Job succeeded
2025-01-08 22:48.34: Job succeeded