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_arm64_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264
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:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264
# debian-12-4.14_arm64_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-arm64.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:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264-debian-12-4.14_arm64_opam-2.2-bdb42fbf47af514bc35d792e1bdb36b1"
2024-09-17 16:00.44: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264)
(comment debian-12-4.14_arm64_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-arm64.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.40: 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:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264' locally
docker.io/ocaml/opam@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264: Pulling from ocaml/opam
24e337f7a758: Already exists
c7503b606140: Pulling fs layer
8e63de27d01f: Pulling fs layer
f00d2b5315b8: Pulling fs layer
69d7461ae3b3: Pulling fs layer
69d7461ae3b3: Waiting
8e63de27d01f: Verifying Checksum
8e63de27d01f: Download complete
f00d2b5315b8: Verifying Checksum
f00d2b5315b8: Download complete
69d7461ae3b3: Verifying Checksum
69d7461ae3b3: Download complete
c7503b606140: Verifying Checksum
c7503b606140: Download complete
c7503b606140: Pull complete
8e63de27d01f: Pull complete
f00d2b5315b8: Pull complete
69d7461ae3b3: Pull complete
Digest: sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264
Status: Downloaded newer image for ocaml/opam@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264
2024-09-17 16:01.40 ---> using "950c89a2ebbee9ce8bcf1014e6ad1912c5366217e3bcadb5fece9fe7a308db32" from cache
/: (comment debian-12-4.14_arm64_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:01.40 ---> using "5f6d8154718cb0ff38006f05185a935cc97d7291dd8304a3d8d3590bf05d7a9a" 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.40 ---> using "93c36ecae88c8a06107b4ff201e94ccb388fcd8d06b3d88d3c7cf325bd028b23" 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.40 ---> using "2957ff589e1455219f3bc480f9ce744f201e51b90321e5f1eb0e147b2267ba33" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-17 16:01.40 ---> using "572391a6db702c8d69fe6500cfbd9e4625b2f718288379f88382f6c16cfc539f" 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.40 ---> using "9369f5963add3ef7e82a30d34dc70c9e6dc08bafd186f72b6c3a3c2fda012576" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-17 16:01.40 ---> using "3a16a33087f73fb9bae6a0e3f1ee26979e94737766a4553b127a59a9c350590d" 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.40 ---> using "188ee9b30e78154757bc5eed3666d37b840b75380fa41da0b61ba043b20df664" 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-arm64.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 arm64 Packages [8689 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages.diff/Index [11.7 kB]
- Get:6 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1115 B]
- Get:6 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1115 B]
- Get:7 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [178 kB]
- Fetched 9134 kB in 1s (7807 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-arm64 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.40 ---> using "14fea2697d21030718005eb5c78a0069a3b4663fa7d19c80b592f2e3f4eea084" 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-arm64 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 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)
-> installed cmdliner.1.3.0
-> installed seq.base
-> 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 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 csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed backoff.0.1.0
-> 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 picos.0.5.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed cppo.1.7.0
-> installed yojson.2.2.2
-> installed qcheck-core.0.22
-> installed picos_std.0.5.0
-> installed qcheck-multicoretests-util.0.3
-> installed multicore-bench.0.1.5
-> installed picos_io.0.5.0
-> installed alcotest.1.8.0
-> installed qcheck-stm.0.3
-> 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.40 ---> using "983b2e7689de8e2afdf2dcb010c5961c41accc75a9f3185da963822b845c5cf6" from cache
/src: (copy (src .) (dst /src))
2024-09-17 16:01.41 ---> saved as "e201e8db73e4f23cbb0ef218b2a0df3b24220efe24f6f8e205f2f9d599d3b883"
/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 && ./queue_test.exe)
Testing `Queue'.
This run has ID `8X5ULEYJ'.
[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 && ./xt_test.exe)
Testing `Transactions'.
This run has ID `8LHW3X3K'.
[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 `51I3Q7E0'.
[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 && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `NJKC3BGB'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `WIGS6PND'.
[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 && ./threads.exe)
Testing `Threads'.
This run has ID `B54YNP8A'.
[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 && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `0QW5D1XH'.
[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/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
3.39 ns
ops over time/get:
294.98 M/s
time per op/incr:
13.75 ns
ops over time/incr:
72.75 M/s
time per op/push & pop:
15.45 ns
ops over time/push & pop:
64.71 M/s
time per op/cas int:
11.86 ns
ops over time/cas int:
84.29 M/s
time per op/xchg int:
12.12 ns
ops over time/xchg int:
82.48 M/s
time per op/swap:
15.61 ns
ops over time/swap:
64.06 M/s
Kcas Xt:
time per transaction/0 loc tx:
13.61 ns
transactions over time/0 loc tx:
73.45 M/s
time per transaction/1 loc tx:
36.82 ns
transactions over time/1 loc tx:
27.16 M/s
time per transaction/2 loc tx:
81.43 ns
transactions over time/2 loc tx:
12.28 M/s
time per transaction/4 loc tx:
146.93 ns
transactions over time/4 loc tx:
6.81 M/s
time per transaction/8 loc tx:
295.18 ns
transactions over time/8 loc tx:
3.39 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
11.59 ns
transactions over time/0 loc tx:
86.26 M/s
time per transaction/1 loc tx:
24.74 ns
transactions over time/1 loc tx:
40.43 M/s
time per transaction/2 loc tx:
49.00 ns
transactions over time/2 loc tx:
20.41 M/s
time per transaction/4 loc tx:
85.96 ns
transactions over time/4 loc tx:
11.63 M/s
time per transaction/8 loc tx:
169.42 ns
transactions over time/8 loc tx:
5.90 M/s
Kcas parallel CMP:
time per transaction/1 worker:
90.30 ns
transactions over time/1 worker:
11.07 M/s
time per transaction/2 workers:
182.80 ns
transactions over time/2 workers:
10.94 M/s
time per transaction/4 workers:
743.51 ns
transactions over time/4 workers:
5.38 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
16.48 ns
operations over time/1 worker, 0% reads:
60.68 M/s
time per operation/2 workers, 0% reads:
31.15 ns
operations over time/2 workers, 0% reads:
64.21 M/s
time per operation/4 workers, 0% reads:
163.98 ns
operations over time/4 workers, 0% reads:
24.39 M/s
Kcas_data Dllist:
time per message/one domain:
450.31 ns
messages over time/one domain:
2.22 M/s
time per message/1 nb adder, 1 nb taker:
1138.27 ns
messages over time/1 nb adder, 1 nb taker:
1.76 M/s
time per message/1 nb adder, 2 nb takers:
2095.96 ns
messages over time/1 nb adder, 2 nb takers:
1.43 M/s
time per message/2 nb adders, 1 nb taker:
1883.60 ns
messages over time/2 nb adders, 1 nb taker:
1.59 M/s
time per message/2 nb adders, 2 nb takers:
2783.16 ns
messages over time/2 nb adders, 2 nb takers:
1.44 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
58.65 ns
operations over time/1 worker, 90% reads:
17.05 M/s
time per operation/2 workers, 90% reads:
123.90 ns
operations over time/2 workers, 90% reads:
16.14 M/s
time per operation/4 workers, 90% reads:
612.86 ns
operations over time/4 workers, 90% reads:
6.53 M/s
time per operation/1 worker, 50% reads:
133.01 ns
operations over time/1 worker, 50% reads:
7.52 M/s
time per operation/2 workers, 50% reads:
288.48 ns
operations over time/2 workers, 50% reads:
6.93 M/s
time per operation/4 workers, 50% reads:
951.15 ns
operations over time/4 workers, 50% reads:
4.21 M/s
time per operation/1 worker, 10% reads:
163.76 ns
operations over time/1 worker, 10% reads:
6.11 M/s
time per operation/2 workers, 10% reads:
391.20 ns
operations over time/2 workers, 10% reads:
5.11 M/s
time per operation/4 workers, 10% reads:
1628.83 ns
operations over time/4 workers, 10% reads:
2.46 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
18410.43 ns
messages over time/1 nb adder, 1 nb taker:
0.11 M/s
time per message/1 nb adder, 1 taker:
22071.15 ns
messages over time/1 nb adder, 1 taker:
0.09 M/s
time per message/1 nb adder, 2 nb takers:
34864.64 ns
messages over time/1 nb adder, 2 nb takers:
0.09 M/s
time per message/1 nb adder, 2 takers:
30177.41 ns
messages over time/1 nb adder, 2 takers:
0.10 M/s
time per message/1 adder, 1 nb taker:
26966.58 ns
messages over time/1 adder, 1 nb taker:
0.07 M/s
time per message/1 adder, 1 taker:
19903.94 ns
messages over time/1 adder, 1 taker:
0.10 M/s
time per message/1 adder, 2 nb takers:
20783.74 ns
messages over time/1 adder, 2 nb takers:
0.14 M/s
time per message/1 adder, 2 takers:
27959.59 ns
messages over time/1 adder, 2 takers:
0.11 M/s
time per message/2 nb adders, 1 nb taker:
33147.63 ns
messages over time/2 nb adders, 1 nb taker:
0.09 M/s
time per message/2 nb adders, 1 taker:
22267.95 ns
messages over time/2 nb adders, 1 taker:
0.13 M/s
time per message/2 nb adders, 2 nb takers:
45860.32 ns
messages over time/2 nb adders, 2 nb takers:
0.09 M/s
time per message/2 nb adders, 2 takers:
32843.62 ns
messages over time/2 nb adders, 2 takers:
0.12 M/s
time per message/2 adders, 1 nb taker:
27106.39 ns
messages over time/2 adders, 1 nb taker:
0.11 M/s
time per message/2 adders, 1 taker:
25096.58 ns
messages over time/2 adders, 1 taker:
0.12 M/s
time per message/2 adders, 2 nb takers:
33451.83 ns
messages over time/2 adders, 2 nb takers:
0.12 M/s
time per message/2 adders, 2 takers:
32545.83 ns
messages over time/2 adders, 2 takers:
0.12 M/s
Kcas_data Queue:
time per message/one domain:
71.04 ns
messages over time/one domain:
14.08 M/s
time per message/1 nb adder, 1 nb taker:
169.29 ns
messages over time/1 nb adder, 1 nb taker:
11.81 M/s
time per message/1 nb adder, 1 taker:
189.59 ns
messages over time/1 nb adder, 1 taker:
10.55 M/s
time per message/1 nb adder, 2 nb takers:
353.26 ns
messages over time/1 nb adder, 2 nb takers:
8.49 M/s
time per message/1 nb adder, 2 takers:
306.47 ns
messages over time/1 nb adder, 2 takers:
9.79 M/s
time per message/2 nb adders, 1 nb taker:
334.57 ns
messages over time/2 nb adders, 1 nb taker:
8.97 M/s
time per message/2 nb adders, 1 taker:
334.80 ns
messages over time/2 nb adders, 1 taker:
8.96 M/s
time per message/2 nb adders, 2 nb takers:
505.88 ns
messages over time/2 nb adders, 2 nb takers:
7.91 M/s
time per message/2 nb adders, 2 takers:
522.89 ns
messages over time/2 nb adders, 2 takers:
7.65 M/s
Kcas_data Stack:
time per message/one domain:
55.07 ns
messages over time/one domain:
18.16 M/s
time per message/1 nb adder, 1 nb taker:
164.21 ns
messages over time/1 nb adder, 1 nb taker:
12.18 M/s
time per message/1 nb adder, 1 taker:
165.18 ns
messages over time/1 nb adder, 1 taker:
12.11 M/s
time per message/1 nb adder, 2 nb takers:
256.63 ns
messages over time/1 nb adder, 2 nb takers:
11.69 M/s
time per message/1 nb adder, 2 takers:
295.26 ns
messages over time/1 nb adder, 2 takers:
10.16 M/s
time per message/2 nb adders, 1 nb taker:
326.12 ns
messages over time/2 nb adders, 1 nb taker:
9.20 M/s
time per message/2 nb adders, 1 taker:
315.19 ns
messages over time/2 nb adders, 1 taker:
9.52 M/s
time per message/2 nb adders, 2 nb takers:
464.03 ns
messages over time/2 nb adders, 2 nb takers:
8.62 M/s
time per message/2 nb adders, 2 takers:
504.76 ns
messages over time/2 nb adders, 2 takers:
7.92 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 `GB7N5SZG'.
[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.129s. 2 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `34PBBDHV'.
[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.339s. 17 tests run.
2024-09-17 16:02.20: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled