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-ppc64:debian-12-4.14_ppc64_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88
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:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88
# debian-12-4.14_ppc64_opam-2.2
USER 1000:1000
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-ppc64.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:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88-debian-12-4.14_ppc64_opam-2.2-3d24553fc1925d4c207adb3d4cb17813"
2024-09-17 16:00.44: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88)
(comment debian-12-4.14_ppc64_opam-2.2)
(user (uid 1000) (gid 1000))
(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-ppc64.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:00.45: Got resource from pool OCluster
Building on orithia.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:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88' locally
docker.io/ocaml/opam@sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88: Pulling from ocaml/opam
Digest: sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88
Status: Downloaded newer image for ocaml/opam@sha256:b5d2554b8812479b3569cccc88f4517a8fd12bc83288e19bd6d4fdb0d56a2e88
2024-09-17 16:00.46 ---> using "a02ea727028062210aff22981ff1a5c690c993af6974f1d675dc4da1200db18e" from cache
/: (comment debian-12-4.14_ppc64_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (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:00.46 ---> using "bcb449a6021353e6b763a990c063c8cc7520e312abb2668592cfae82cb72cc4c" 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:00.46 ---> using "02f5eb5997357c15d8ed0bd1dd8a120e26b2940f1dd1c407d6825993e20ba676" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-41-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-09-17 16:00.46 ---> using "f3c7e80f59cbb67bc615cfb0094f1326d2656a34e9752d3f8ff09db3f012ae73" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-17 16:00.46 ---> using "396da395fafa8088ef0bb6756b1aff7230ad1a8b5c366e926b7ef7f023982546" 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:00.46 ---> using "de41e59e1d9edffad69a16934338a767dd8487274232d192bb8012782815ad6b" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-17 16:00.46 ---> using "03269f63684da199753579387f5498841627e5b25a6108d1c62130a47052171c" 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:00.46 ---> using "f3cccdcca014e6e3e14b39d0b689f54375951c6dbec7f4f9885930938089101c" 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-ppc64.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 ppc64el Packages [8625 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main ppc64el Packages.diff/Index [11.7 kB]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main ppc64el Packages [173 kB]
- Get:7 http://deb.debian.org/debian bookworm-updates/main ppc64el Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1113 B]
- Get:7 http://deb.debian.org/debian bookworm-updates/main ppc64el Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1113 B]
- Fetched 9065 kB in 2s (4019 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-ppc64 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:00.46 ---> using "154f7c9ddbf507e3e45c363b4187b523eb2ad0f60b111aa3c72cced718329473" 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-ppc64 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 astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cppo.1.7.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 dune.3.16.0 (cached)
-> retrieved ocamlfind.1.9.6 (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)
-> installed cmdliner.1.3.0
-> installed seq.base
-> 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 ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed mtime.2.1.0
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed csexp.1.5.2
-> installed domain_shims.0.1.0
-> installed backoff.0.1.0
-> installed camlp-streams.5.0.1
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed multicore-magic.2.3.0
-> installed ocaml-version.3.6.8
-> installed psq.0.2.1
-> installed thread-table.1.0.0
-> installed thread-local-storage.0.2
-> installed picos_aux.0.5.0
-> installed domain-local-await.1.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed picos.0.5.0
-> installed re.1.12.0
-> installed cppo.1.7.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed picos_std.0.5.0
-> installed qcheck-multicoretests-util.0.3
-> installed alcotest.1.8.0
-> installed qcheck-stm.0.3
-> installed multicore-bench.0.1.5
-> 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:00.46 ---> using "741a9c465ddde4c8e4c93503268cdb7d279471dcb0eb7bdb847bb32e915fe64c" from cache
/src: (copy (src .) (dst /src))
2024-09-17 16:00.47 ---> saved as "0bc1a981da34b5fdfd25cf6fd42a167bb7efe4db5477d60768dd247797407ff6"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas && ./loc_modes.exe)
Loc modes OK!
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `GN1CSDR8'.
[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 && ./queue_test.exe)
Testing `Queue'.
This run has ID `DJ6SK3FD'.
[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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `1X9Q2NJ9'.
[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 && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `EX9JOV5Y'.
[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.004s. 4 tests run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `AJ6Q1WJQ'.
[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 && ./xt_test.exe)
Testing `Transactions'.
This run has ID `ZWJFCCMX'.
[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 && ./threads.exe)
Testing `Threads'.
This run has ID `9Z8WPBFC'.
[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/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
9.37 ns
ops over time/get:
107.07 M/s
time per op/incr:
38.93 ns
ops over time/incr:
25.68 M/s
time per op/push & pop:
26.93 ns
ops over time/push & pop:
37.13 M/s
time per op/cas int:
20.82 ns
ops over time/cas int:
48.04 M/s
time per op/xchg int:
21.84 ns
ops over time/xchg int:
45.79 M/s
time per op/swap:
29.77 ns
ops over time/swap:
33.59 M/s
Kcas Xt:
time per transaction/0 loc tx:
18.46 ns
transactions over time/0 loc tx:
54.17 M/s
time per transaction/1 loc tx:
58.27 ns
transactions over time/1 loc tx:
17.16 M/s
time per transaction/2 loc tx:
127.09 ns
transactions over time/2 loc tx:
7.87 M/s
time per transaction/4 loc tx:
208.72 ns
transactions over time/4 loc tx:
4.79 M/s
time per transaction/8 loc tx:
404.29 ns
transactions over time/8 loc tx:
2.47 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
19.62 ns
transactions over time/0 loc tx:
51.03 M/s
time per transaction/1 loc tx:
41.66 ns
transactions over time/1 loc tx:
24.01 M/s
time per transaction/2 loc tx:
81.86 ns
transactions over time/2 loc tx:
12.22 M/s
time per transaction/4 loc tx:
149.41 ns
transactions over time/4 loc tx:
6.69 M/s
time per transaction/8 loc tx:
299.06 ns
transactions over time/8 loc tx:
3.34 M/s
Kcas parallel CMP:
time per transaction/1 worker:
158.64 ns
transactions over time/1 worker:
6.30 M/s
time per transaction/2 workers:
359.70 ns
transactions over time/2 workers:
5.56 M/s
time per transaction/4 workers:
1102.95 ns
transactions over time/4 workers:
3.63 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
54.04 ns
operations over time/1 worker, 0% reads:
18.50 M/s
time per operation/2 workers, 0% reads:
103.80 ns
operations over time/2 workers, 0% reads:
19.27 M/s
time per operation/4 workers, 0% reads:
210.77 ns
operations over time/4 workers, 0% reads:
18.98 M/s
Kcas_data Dllist:
time per message/one domain:
604.21 ns
messages over time/one domain:
1.66 M/s
time per message/1 nb adder, 1 nb taker:
853.61 ns
messages over time/1 nb adder, 1 nb taker:
2.34 M/s
time per message/1 nb adder, 2 nb takers:
1396.47 ns
messages over time/1 nb adder, 2 nb takers:
2.15 M/s
time per message/2 nb adders, 1 nb taker:
1298.52 ns
messages over time/2 nb adders, 1 nb taker:
2.31 M/s
time per message/2 nb adders, 2 nb takers:
1870.36 ns
messages over time/2 nb adders, 2 nb takers:
2.14 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
91.63 ns
operations over time/1 worker, 90% reads:
10.91 M/s
time per operation/2 workers, 90% reads:
190.23 ns
operations over time/2 workers, 90% reads:
10.51 M/s
time per operation/4 workers, 90% reads:
470.84 ns
operations over time/4 workers, 90% reads:
8.50 M/s
time per operation/1 worker, 50% reads:
355.25 ns
operations over time/1 worker, 50% reads:
2.82 M/s
time per operation/2 workers, 50% reads:
436.46 ns
operations over time/2 workers, 50% reads:
4.58 M/s
time per operation/4 workers, 50% reads:
959.09 ns
operations over time/4 workers, 50% reads:
4.17 M/s
time per operation/1 worker, 10% reads:
336.55 ns
operations over time/1 worker, 10% reads:
2.97 M/s
time per operation/2 workers, 10% reads:
801.63 ns
operations over time/2 workers, 10% reads:
2.49 M/s
time per operation/4 workers, 10% reads:
1389.41 ns
operations over time/4 workers, 10% reads:
2.88 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
30179.16 ns
messages over time/1 nb adder, 1 nb taker:
0.07 M/s
time per message/1 nb adder, 1 taker:
41713.69 ns
messages over time/1 nb adder, 1 taker:
0.05 M/s
time per message/1 nb adder, 2 nb takers:
55160.37 ns
messages over time/1 nb adder, 2 nb takers:
0.05 M/s
time per message/1 nb adder, 2 takers:
42584.53 ns
messages over time/1 nb adder, 2 takers:
0.07 M/s
time per message/1 adder, 1 nb taker:
37407.83 ns
messages over time/1 adder, 1 nb taker:
0.05 M/s
time per message/1 adder, 1 taker:
33848.13 ns
messages over time/1 adder, 1 taker:
0.06 M/s
time per message/1 adder, 2 nb takers:
41805.49 ns
messages over time/1 adder, 2 nb takers:
0.07 M/s
time per message/1 adder, 2 takers:
37955.74 ns
messages over time/1 adder, 2 takers:
0.08 M/s
time per message/2 nb adders, 1 nb taker:
49198.67 ns
messages over time/2 nb adders, 1 nb taker:
0.06 M/s
time per message/2 nb adders, 1 taker:
44260.76 ns
messages over time/2 nb adders, 1 taker:
0.07 M/s
time per message/2 nb adders, 2 nb takers:
77166.80 ns
messages over time/2 nb adders, 2 nb takers:
0.05 M/s
time per message/2 nb adders, 2 takers:
60682.65 ns
messages over time/2 nb adders, 2 takers:
0.07 M/s
time per message/2 adders, 1 nb taker:
62629.57 ns
messages over time/2 adders, 1 nb taker:
0.05 M/s
time per message/2 adders, 1 taker:
43850.66 ns
messages over time/2 adders, 1 taker:
0.07 M/s
time per message/2 adders, 2 nb takers:
55898.67 ns
messages over time/2 adders, 2 nb takers:
0.07 M/s
time per message/2 adders, 2 takers:
44235.66 ns
messages over time/2 adders, 2 takers:
0.09 M/s
Kcas_data Queue:
time per message/one domain:
151.78 ns
messages over time/one domain:
6.59 M/s
time per message/1 nb adder, 1 nb taker:
128.41 ns
messages over time/1 nb adder, 1 nb taker:
15.58 M/s
time per message/1 nb adder, 1 taker:
197.01 ns
messages over time/1 nb adder, 1 taker:
10.15 M/s
time per message/1 nb adder, 2 nb takers:
256.06 ns
messages over time/1 nb adder, 2 nb takers:
11.72 M/s
time per message/1 nb adder, 2 takers:
319.42 ns
messages over time/1 nb adder, 2 takers:
9.40 M/s
time per message/2 nb adders, 1 nb taker:
341.91 ns
messages over time/2 nb adders, 1 nb taker:
8.77 M/s
time per message/2 nb adders, 1 taker:
308.36 ns
messages over time/2 nb adders, 1 taker:
9.73 M/s
time per message/2 nb adders, 2 nb takers:
544.27 ns
messages over time/2 nb adders, 2 nb takers:
7.35 M/s
time per message/2 nb adders, 2 takers:
451.31 ns
messages over time/2 nb adders, 2 takers:
8.88 M/s
Kcas_data Stack:
time per message/one domain:
108.59 ns
messages over time/one domain:
9.21 M/s
time per message/1 nb adder, 1 nb taker:
110.03 ns
messages over time/1 nb adder, 1 nb taker:
18.18 M/s
time per message/1 nb adder, 1 taker:
112.49 ns
messages over time/1 nb adder, 1 taker:
17.78 M/s
time per message/1 nb adder, 2 nb takers:
244.40 ns
messages over time/1 nb adder, 2 nb takers:
12.27 M/s
time per message/1 nb adder, 2 takers:
233.96 ns
messages over time/1 nb adder, 2 takers:
12.82 M/s
time per message/2 nb adders, 1 nb taker:
188.25 ns
messages over time/2 nb adders, 1 nb taker:
15.94 M/s
time per message/2 nb adders, 1 taker:
225.50 ns
messages over time/2 nb adders, 1 taker:
13.30 M/s
time per message/2 nb adders, 2 nb takers:
307.47 ns
messages over time/2 nb adders, 2 nb takers:
13.01 M/s
time per message/2 nb adders, 2 takers:
429.45 ns
messages over time/2 nb adders, 2 takers:
9.32 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
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `ZGE469PF'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 10.165s. 2 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `KU94RGKW'.
[OK] non linearizable xt 0
[OK] set 0
[OK] no skew xt 0
[OK] get seq xt 0
[OK] stress xt 0
[OK] is_in_log 0
[OK] updates 0
[OK] post commit 0
[OK] blocking 0
[OK] no unnecessary wakeups 0
[OK] pediodic validation 0
[OK] explicit validation 0
[OK] rollback 0
[OK] call 0
[OK] mode 0
[OK] xt 0
[OK] timeout (non-deterministic) 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Kcas'.
Test Successful in 21.000s. 17 tests run.
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 487955478039249809
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 1.3s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3389567307672914172
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 2.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2921339478985566765
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 5.8s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2589088754406129123
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Accumulator sequential
[✓] 256 0 0 256 / 256 9.1s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3905606161930138856
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Accumulator sequential
[✓] 512 0 0 512 / 512 19.6s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2527822536440508706
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 1.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 3139465396853774725
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.8s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 2935921926113958013
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 2.3s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3299405347719406710
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 5.0s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 371598404733353020
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Stack sequential
[✓] 256 0 0 256 / 256 9.8s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 2122927579709981476
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Stack sequential
[✓] 512 0 0 512 / 512 19.9s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 2559357170121811846
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.2s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 1043968744657639163
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 1.4s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1660310953816725801
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 1.9s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1479111483173107252
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 5.3s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2323604405015174845
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Queue sequential
[✓] 256 0 0 256 / 256 10.7s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 4224080562410640589
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Queue sequential
[✓] 512 0 0 512 / 512 21.8s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3510444729931251025
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 1.8s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 3156568013554705617
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 1.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 383866141090171423
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 2.7s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 1410140891966511018
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 6.0s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4373348682580855355
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Hashtbl sequential
[ ] 213 0 0 213 / 256
[✓] 256 0 0 256 / 256 12.3s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2109191921543188511
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Hashtbl sequential
[✓] 512 0 0 512 / 512 27.0s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2152482581969056248
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 1.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 3044432978876875695
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 2.4s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2102808951048668489
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 3.1s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2519044118784140948
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 6.5s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 106333620146120223
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Dllist sequential
[✓] 256 0 0 256 / 256 13.2s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3500005392264571705
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.2s Dllist sequential
[✓] 512 0 0 512 / 512 27.9s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3217548868189491601
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 2.7s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 3695139281294787343
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 1.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 352610528537381994
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 2.8s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 1062193487179942905
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.1s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 9.3s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2728873926843004890
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Hashtbl_with_order sequential
[✓] 256 0 0 256 / 256 16.1s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3679624405656797257
generated error fail pass / total time test name
[✓] 481 0 0 481 / 481 0.2s Hashtbl_with_order sequential
[✓] 481 0 0 481 / 481 31.0s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-09-17 16:01.52: Job failed: Failed: Build failed