2024-09-17 16:00.44: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/port-to-picos (7b5a606b2285cc9e638e9e27515f621df36a7ca5) (linux-arm64:debian-12-4.14_arm32_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:201fb35b8efb55d009d1bd87852862af41e366c89812ee1cfa5a66b8286b8381
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "port-to-picos" && cd "kcas" && git reset --hard 7b5a606b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:201fb35b8efb55d009d1bd87852862af41e366c89812ee1cfa5a66b8286b8381
# debian-12-4.14_arm32_opam-2.2
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.2 /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 12d7650ba97ec7883fa001a001e0433e54eb4e53 || git fetch origin master) && git reset -q --hard 12d7650ba97ec7883fa001a001e0433e54eb4e53 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 kcas_data.opam kcas.opam ./
RUN opam pin add -yn kcas_data.dev './' && \
opam pin add -yn kcas.dev './'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm32.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 picos.0.5.0 picos_aux.0.5.0 picos_io.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.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
2024-09-17 16:00.44: Using cache hint "ocaml-multicore/kcas-ocaml/opam:debian-12-ocaml-4.14@sha256:201fb35b8efb55d009d1bd87852862af41e366c89812ee1cfa5a66b8286b8381-debian-12-4.14_arm32_opam-2.2-a3fca25baceb3f98f8b613113b3b04af"
2024-09-17 16:00.44: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:201fb35b8efb55d009d1bd87852862af41e366c89812ee1cfa5a66b8286b8381)
(comment debian-12-4.14_arm32_opam-2.2)
(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.2 /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 12d7650ba97ec7883fa001a001e0433e54eb4e53 || git fetch origin master) && git reset -q --hard 12d7650ba97ec7883fa001a001e0433e54eb4e53 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src kcas_data.opam kcas.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm32.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 picos.0.5.0 picos_aux.0.5.0 picos_io.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 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.2 --depext-only -y kcas_data.dev kcas.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"))
)
2024-09-17 16:00.44: Waiting for resource in pool OCluster
2024-09-17 16:00.45: Waiting for worker…
2024-09-17 16:01.57: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
All commits already cached
HEAD is now at 7b5a606 Change to use Picos instead of DLA and DLT
(from ocaml/opam:debian-12-ocaml-4.14@sha256:201fb35b8efb55d009d1bd87852862af41e366c89812ee1cfa5a66b8286b8381)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:201fb35b8efb55d009d1bd87852862af41e366c89812ee1cfa5a66b8286b8381' locally
docker.io/ocaml/opam@sha256:201fb35b8efb55d009d1bd87852862af41e366c89812ee1cfa5a66b8286b8381: Pulling from ocaml/opam
a7d514534f7f: Already exists
5a2508b6e2f8: Pulling fs layer
e45808cb5c6c: Pulling fs layer
78a8fdc1ba76: Pulling fs layer
6fc65958d835: Pulling fs layer
e45808cb5c6c: Verifying Checksum
e45808cb5c6c: Download complete
78a8fdc1ba76: Verifying Checksum
78a8fdc1ba76: Download complete
6fc65958d835: Verifying Checksum
6fc65958d835: Download complete
5a2508b6e2f8: Verifying Checksum
5a2508b6e2f8: Download complete
5a2508b6e2f8: Pull complete
e45808cb5c6c: Pull complete
78a8fdc1ba76: Pull complete
6fc65958d835: Pull complete
Digest: sha256:201fb35b8efb55d009d1bd87852862af41e366c89812ee1cfa5a66b8286b8381
Status: Downloaded newer image for ocaml/opam@sha256:201fb35b8efb55d009d1bd87852862af41e366c89812ee1cfa5a66b8286b8381
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2024-09-17 16:01.57 ---> using "330e6f481492eee570e46b56bc3a1ce016ca9f19aec9dfa3bcf3a6cbe4e331f2" from cache
/: (comment debian-12-4.14_arm32_opam-2.2)
/: (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.2 /usr/bin/opam"))
2024-09-17 16:01.57 ---> using "8c969dc1a486175064242bbd25af835eca59673fe2d7dc63cd93e5754ee205a6" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-17 16:01.57 ---> using "6ed99f6221f88aafec743f5b828d3e7909e656bf665ed53df92e0a25363c0557" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-09-17 16:01.57 ---> using "e9855b77c88a542ffe6b7b15ffc2f6d330077815c5ac3928082e19d66e99975b" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-17 16:01.57 ---> using "c84dd1dc592ae215521e52b6f71f2f60da2cdecfb1ab2b2db554c758234d794b" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 12d7650ba97ec7883fa001a001e0433e54eb4e53 || git fetch origin master) && git reset -q --hard 12d7650ba97ec7883fa001a001e0433e54eb4e53 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
e89899ac28..12d7650ba9 master -> origin/master
12d7650ba9 Merge pull request #26569 from polytypic/release-multicore-bench-0.1.5
<><> 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.
# Run eval $(opam env) to update the current shell environment
2024-09-17 16:01.57 ---> using "cbb662b2adaf27169aaa3e0562b76756c48d1415e630e6a65ec51f3d8f984120" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-17 16:01.57 ---> using "5b0d2bdf37281b0dd271b96321641b8cb14ba9cab083d9389a33a31b3c9c6f09" from cache
/src: (run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
[kcas_data.dev] synchronised (file:///src)
kcas_data is now pinned to file:///src (version dev)
[kcas.dev] synchronised (file:///src)
kcas is now pinned to file:///src (version dev)
2024-09-17 16:01.57 ---> using "95c85470399ce977a9a090b28882d983a807e457ba06b54eed15d5c4818567f8" from cache
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm32.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 picos.0.5.0 picos_aux.0.5.0 picos_io.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 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.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main armhf Packages [8499 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main armhf Packages.diff/Index [11.7 kB]
- Get:6 http://deb.debian.org/debian bookworm-updates/main armhf Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1112 B]
- Get:6 http://deb.debian.org/debian bookworm-updates/main armhf Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1112 B]
- Get:7 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [174 kB]
- Fetched 8941 kB in 1s (6929 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas.dev] synchronised (no changes)
[kcas_data.dev] synchronised (no changes)
[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-arm32 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).
2024-09-17 16:01.57 ---> using "909b1c5801b44fe9be588515c3ebd9e8dac92a0676dc2cc730b37c6dc24561cd" from cache
/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-arm32 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 38 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install backoff 0.1.0
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cppo 1.7.0
- install csexp 1.5.2
- install domain-local-await 1.0.1
- install domain_shims 0.1.0
- install dune 3.16.0
- install fmt 0.9.0
- install logs 0.7.0
- install mdx 2.4.1
- install mtime 2.1.0
- install multicore-bench 0.1.5
- install multicore-magic 2.3.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.8
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install picos 0.5.0
- install picos_aux 0.5.0
- install picos_io 0.5.0
- install picos_mux 0.5.0
- install picos_std 0.5.0
- install psq 0.2.1
- install qcheck-core 0.22
- install qcheck-multicoretests-util 0.3
- install qcheck-stm 0.3
- install re 1.12.0
- install result 1.5
- install seq base
- install stdlib-shims 0.3.0
- install thread-local-storage 0.2
- install thread-table 1.0.0
- install topkg 1.0.7
- install uutf 1.0.3
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.0 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved alcotest.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-bench.0.1.5 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.8 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved dune.3.16.0 (cached)
-> retrieved picos.0.5.0, picos_aux.0.5.0, picos_io.0.5.0, picos_mux.0.5.0, picos_std.0.5.0 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved qcheck-multicoretests-util.0.3, qcheck-stm.0.3 (cached)
-> retrieved seq.base (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-local-storage.0.2 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed domain_shims.0.1.0
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed backoff.0.1.0
-> installed psq.0.2.1
-> installed ocaml-version.3.6.8
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed multicore-magic.2.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed thread-local-storage.0.2
-> installed qcheck-core.0.22
-> installed domain-local-await.1.0.1
-> installed picos_aux.0.5.0
-> installed cppo.1.7.0
-> installed yojson.2.2.2
-> installed re.1.12.0
-> installed picos.0.5.0
-> installed qcheck-multicoretests-util.0.3
-> installed multicore-bench.0.1.5
-> installed qcheck-stm.0.3
-> installed picos_std.0.5.0
-> installed alcotest.1.8.0
-> installed picos_io.0.5.0
-> installed picos_mux.0.5.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-17 16:01.57 ---> using "a873787a9ede5b55973c1a726228f46d62fe825fdf0faec67386572bd3f0ee8c" from cache
/src: (copy (src .) (dst /src))
2024-09-17 16:01.58 ---> saved as "bd460785a6342d1ff7bb45a61b4cdd382c3c1c71955d080e3f1db5930dd9ce88"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/kcas && ./loc_modes.exe)
Loc modes OK!
(cd _build/default/test/kcas && ./threads.exe)
Testing `Threads'.
This run has ID `PF90ZY7Y'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `ZUXGIH0R'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Transactions'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `3UCUB6U9'.
[OK] basics 0
[OK] add 0
[OK] move 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Dllist'.
Test Successful in 0.000s. 3 tests run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `IADAXJAC'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Queue'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `73SP7GA0'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Stack'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `9LPPRCSW'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `97EPSMP5'.
[OK] replace and remove 0
[OK] large tx 0
[OK] large ops 0
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Hashtbl'.
Test Successful in 0.002s. 4 tests run.
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `GGIH6PK6'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 1.106s. 2 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
3.35 ns
ops over time/get:
298.76 M/s
time per op/incr:
14.22 ns
ops over time/incr:
70.30 M/s
time per op/push & pop:
14.91 ns
ops over time/push & pop:
67.06 M/s
time per op/cas int:
12.90 ns
ops over time/cas int:
77.54 M/s
time per op/xchg int:
12.87 ns
ops over time/xchg int:
77.69 M/s
time per op/swap:
16.27 ns
ops over time/swap:
61.45 M/s
Kcas Xt:
time per transaction/0 loc tx:
9.63 ns
transactions over time/0 loc tx:
103.85 M/s
time per transaction/1 loc tx:
40.33 ns
transactions over time/1 loc tx:
24.79 M/s
time per transaction/2 loc tx:
90.90 ns
transactions over time/2 loc tx:
11.00 M/s
time per transaction/4 loc tx:
161.76 ns
transactions over time/4 loc tx:
6.18 M/s
time per transaction/8 loc tx:
338.14 ns
transactions over time/8 loc tx:
2.96 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
10.13 ns
transactions over time/0 loc tx:
98.68 M/s
time per transaction/1 loc tx:
25.83 ns
transactions over time/1 loc tx:
38.72 M/s
time per transaction/2 loc tx:
52.43 ns
transactions over time/2 loc tx:
19.07 M/s
time per transaction/4 loc tx:
92.00 ns
transactions over time/4 loc tx:
10.87 M/s
time per transaction/8 loc tx:
179.40 ns
transactions over time/8 loc tx:
5.57 M/s
Kcas parallel CMP:
time per transaction/1 worker:
96.88 ns
transactions over time/1 worker:
10.32 M/s
time per transaction/2 workers:
206.58 ns
transactions over time/2 workers:
9.68 M/s
time per transaction/4 workers:
1032.05 ns
transactions over time/4 workers:
3.88 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
15.73 ns
operations over time/1 worker, 0% reads:
63.56 M/s
time per operation/2 workers, 0% reads:
33.57 ns
operations over time/2 workers, 0% reads:
59.58 M/s
time per operation/4 workers, 0% reads:
173.12 ns
operations over time/4 workers, 0% reads:
23.11 M/s
Kcas_data Dllist:
time per message/one domain:
502.41 ns
messages over time/one domain:
1.99 M/s
time per message/1 nb adder, 1 nb taker:
1117.11 ns
messages over time/1 nb adder, 1 nb taker:
1.79 M/s
time per message/1 nb adder, 2 nb takers:
2007.83 ns
messages over time/1 nb adder, 2 nb takers:
1.49 M/s
time per message/2 nb adders, 1 nb taker:
1745.71 ns
messages over time/2 nb adders, 1 nb taker:
1.72 M/s
time per message/2 nb adders, 2 nb takers:
2825.42 ns
messages over time/2 nb adders, 2 nb takers:
1.42 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
143.26 ns
operations over time/1 worker, 90% reads:
6.98 M/s
time per operation/2 workers, 90% reads:
323.66 ns
operations over time/2 workers, 90% reads:
6.18 M/s
time per operation/4 workers, 90% reads:
1134.11 ns
operations over time/4 workers, 90% reads:
3.53 M/s
time per operation/1 worker, 50% reads:
254.07 ns
operations over time/1 worker, 50% reads:
3.94 M/s
time per operation/2 workers, 50% reads:
396.17 ns
operations over time/2 workers, 50% reads:
5.05 M/s
time per operation/4 workers, 50% reads:
1474.03 ns
operations over time/4 workers, 50% reads:
2.71 M/s
time per operation/1 worker, 10% reads:
220.00 ns
operations over time/1 worker, 10% reads:
4.55 M/s
time per operation/2 workers, 10% reads:
491.30 ns
operations over time/2 workers, 10% reads:
4.07 M/s
time per operation/4 workers, 10% reads:
1667.83 ns
operations over time/4 workers, 10% reads:
2.40 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
17441.13 ns
messages over time/1 nb adder, 1 nb taker:
0.11 M/s
time per message/1 nb adder, 1 taker:
24554.10 ns
messages over time/1 nb adder, 1 taker:
0.08 M/s
time per message/1 nb adder, 2 nb takers:
38800.20 ns
messages over time/1 nb adder, 2 nb takers:
0.08 M/s
time per message/1 nb adder, 2 takers:
37620.35 ns
messages over time/1 nb adder, 2 takers:
0.08 M/s
time per message/1 adder, 1 nb taker:
27044.10 ns
messages over time/1 adder, 1 nb taker:
0.07 M/s
time per message/1 adder, 1 taker:
24203.15 ns
messages over time/1 adder, 1 taker:
0.08 M/s
time per message/1 adder, 2 nb takers:
25738.20 ns
messages over time/1 adder, 2 nb takers:
0.12 M/s
time per message/1 adder, 2 takers:
24412.23 ns
messages over time/1 adder, 2 takers:
0.12 M/s
time per message/2 nb adders, 1 nb taker:
32740.20 ns
messages over time/2 nb adders, 1 nb taker:
0.09 M/s
time per message/2 nb adders, 1 taker:
24573.18 ns
messages over time/2 nb adders, 1 taker:
0.12 M/s
time per message/2 nb adders, 2 nb takers:
48778.33 ns
messages over time/2 nb adders, 2 nb takers:
0.08 M/s
time per message/2 nb adders, 2 takers:
46928.30 ns
messages over time/2 nb adders, 2 takers:
0.09 M/s
time per message/2 adders, 1 nb taker:
33332.20 ns
messages over time/2 adders, 1 nb taker:
0.09 M/s
time per message/2 adders, 1 taker:
32965.18 ns
messages over time/2 adders, 1 taker:
0.09 M/s
time per message/2 adders, 2 nb takers:
39618.30 ns
messages over time/2 adders, 2 nb takers:
0.10 M/s
time per message/2 adders, 2 takers:
54645.45 ns
messages over time/2 adders, 2 takers:
0.07 M/s
Kcas_data Queue:
time per message/one domain:
118.48 ns
messages over time/one domain:
8.44 M/s
time per message/1 nb adder, 1 nb taker:
188.08 ns
messages over time/1 nb adder, 1 nb taker:
10.63 M/s
time per message/1 nb adder, 1 taker:
178.88 ns
messages over time/1 nb adder, 1 taker:
11.18 M/s
time per message/1 nb adder, 2 nb takers:
331.44 ns
messages over time/1 nb adder, 2 nb takers:
9.05 M/s
time per message/1 nb adder, 2 takers:
328.60 ns
messages over time/1 nb adder, 2 takers:
9.13 M/s
time per message/2 nb adders, 1 nb taker:
300.40 ns
messages over time/2 nb adders, 1 nb taker:
9.99 M/s
time per message/2 nb adders, 1 taker:
358.48 ns
messages over time/2 nb adders, 1 taker:
8.37 M/s
time per message/2 nb adders, 2 nb takers:
518.40 ns
messages over time/2 nb adders, 2 nb takers:
7.72 M/s
time per message/2 nb adders, 2 takers:
513.20 ns
messages over time/2 nb adders, 2 takers:
7.79 M/s
Kcas_data Stack:
time per message/one domain:
54.32 ns
messages over time/one domain:
18.41 M/s
time per message/1 nb adder, 1 nb taker:
187.28 ns
messages over time/1 nb adder, 1 nb taker:
10.68 M/s
time per message/1 nb adder, 1 taker:
194.00 ns
messages over time/1 nb adder, 1 taker:
10.31 M/s
time per message/1 nb adder, 2 nb takers:
315.24 ns
messages over time/1 nb adder, 2 nb takers:
9.52 M/s
time per message/1 nb adder, 2 takers:
295.48 ns
messages over time/1 nb adder, 2 takers:
10.15 M/s
time per message/2 nb adders, 1 nb taker:
288.16 ns
messages over time/2 nb adders, 1 nb taker:
10.41 M/s
time per message/2 nb adders, 1 taker:
327.93 ns
messages over time/2 nb adders, 1 taker:
9.15 M/s
time per message/2 nb adders, 2 nb takers:
493.88 ns
messages over time/2 nb adders, 2 nb takers:
8.10 M/s
time per message/2 nb adders, 2 takers:
509.45 ns
messages over time/2 nb adders, 2 takers:
7.85 M/s
File "src/kcas/kcas.mli", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/default/src/kcas/kcas.mli _build/default/src/kcas/.mdx/kcas.mli.corrected
diff --git a/_build/default/src/kcas/kcas.mli b/_build/default/src/kcas/.mdx/kcas.mli.corrected
index 21fb617..c782e9b 100644
--- a/_build/default/src/kcas/kcas.mli
+++ b/_build/default/src/kcas/.mdx/kcas.mli.corrected
@@ -75,7 +75,8 @@
Scheduler.run @@ fun () ->
let x = Loc.get_as (fun x -> Retry.unless (x <> 0); x) x in
Printf.sprintf "The answer is %d!" x
- val a_domain : string Domain.t = <abstr>
+ Line 1, characters 16-28:
+ Error: Unbound module Domain
]}
Perform transactions over locations:
@@ -95,7 +96,8 @@
{[
# Domain.join a_domain
- - : string = "The answer is 42!"
+ Line 1, characters 1-12:
+ Error: Unbound module Domain
]}
The main repository includes a longer introduction with many examples and
2024-09-17 16:02.20: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled