2024-09-18 15:15.09: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/sleeping-barbers-example (7a4400d6612f50de0a000d55249d63bc40ba5aa4) (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 "sleeping-barbers-example" && cd "kcas" && git reset --hard 7a4400d6
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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && 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-local-timeout.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 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 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-18 15:15.09: Using cache hint "ocaml-multicore/kcas-ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264-debian-12-4.14_arm64_opam-2.2-b7484b9240e8d940789a373328687612"
2024-09-18 15:15.09: 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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && 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-local-timeout.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 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 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-18 15:15.09: Waiting for resource in pool OCluster
2024-09-18 19:21.17: Waiting for worker…
2024-09-18 21:06.42: Got resource from pool OCluster
Building on molpadia.caelum.ci.dev
All commits already cached
HEAD is now at 7a4400d Sleeping barbers
(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
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-18 21:06.42 ---> 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-18 21:06.42 ---> 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-18 21:06.42 ---> 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-18 21:06.42 ---> using "2957ff589e1455219f3bc480f9ce744f201e51b90321e5f1eb0e147b2267ba33" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-18 21:06.42 ---> 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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
e89899ac28..45f961713f master -> origin/master
45f961713f Merge pull request #26585 from dra27/trunk-tweaks
<><> 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-18 21:06.42 ---> using "00c4aae696e42d4d09188d77dcd4d2fda750fcfffc940a4c50364af3f749336c" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-18 21:06.42 ---> using "5950116db7804391ccee5f2349ad00f6cb1239c64986272a6acb9141161c8641" 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-18 21:06.42 ---> using "b5142af52e547894ffd63cf581da3b73cb847b5f1643daabee139d1d3176994f" 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-local-timeout.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 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 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-security bookworm-security/main arm64 Packages [179 kB]
- Get:7 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 bookworm-updates/main arm64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1115 B]
- Fetched 9135 kB in 1s (7563 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas_data.dev] synchronised (no changes)
[kcas.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-18 21:06.42 ---> using "e5f6b0183d1ab3193f554b3fb15850f5b43a895c9373ba0209be8b698c094934" 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 33 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-local-timeout 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 psq 0.2.1
- install qcheck-core 0.22
- install qcheck-multicoretests-util 0.4
- install qcheck-stm 0.4
- install re 1.12.0
- install result 1.5
- install seq base
- install stdlib-shims 0.3.0
- 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 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-local-timeout.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 psq.0.2.1 (cached)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
-> retrieved dune.3.16.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved topkg.1.0.7 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> 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 result.1.5
-> installed camlp-streams.5.0.1
-> installed backoff.0.1.0
-> installed multicore-magic.2.3.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-version.3.6.8
-> installed psq.0.2.1
-> installed thread-table.1.0.0
-> installed domain-local-timeout.1.0.1
-> installed domain-local-await.1.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed cppo.1.7.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.4
-> installed multicore-bench.0.1.5
-> installed qcheck-stm.0.4
-> installed alcotest.1.8.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-18 21:06.42 ---> using "ad303fdc6800fe0c32cd70519c696b26a678d7b13067ab3451eac88a559659a7" from cache
/src: (copy (src .) (dst /src))
2024-09-18 21:06.42 ---> saved as "4527aabf24d5d9db9a12b5d070e3805dbbb2b388885133385a890490a1caa11f"
/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_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas && ./threads.exe)
Testing `Threads'.
This run has ID `QT56SRY5'.
[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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `ADWFXCXB'.
[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 `D6PXA4G6'.
[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 && ./xt_test.exe)
Testing `Transactions'.
This run has ID `34FD1ZVW'.
[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 && ./queue_test.exe)
Testing `Queue'.
This run has ID `3ONL9FDF'.
[OK] basics 0
[OK] capacity 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Queue'.
Test Successful in 0.000s. 2 tests run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `HIX12OR1'.
[OK] basics 0
[OK] capacity 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Stack'.
Test Successful in 0.000s. 2 tests run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `03C58HO1'.
[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.003s. 4 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `XB52C1AT'.
[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 0.826s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
3.38 ns
ops over time/get:
295.91 M/s
time per op/incr:
16.39 ns
ops over time/incr:
61.01 M/s
time per op/push & pop:
16.89 ns
ops over time/push & pop:
59.22 M/s
time per op/cas int:
11.88 ns
ops over time/cas int:
84.15 M/s
time per op/xchg int:
12.27 ns
ops over time/xchg int:
81.52 M/s
time per op/swap:
17.71 ns
ops over time/swap:
56.45 M/s
Kcas Xt:
time per transaction/0 loc tx:
11.87 ns
transactions over time/0 loc tx:
84.25 M/s
time per transaction/1 loc tx:
39.11 ns
transactions over time/1 loc tx:
25.57 M/s
time per transaction/2 loc tx:
81.66 ns
transactions over time/2 loc tx:
12.25 M/s
time per transaction/4 loc tx:
146.99 ns
transactions over time/4 loc tx:
6.80 M/s
time per transaction/8 loc tx:
294.62 ns
transactions over time/8 loc tx:
3.39 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
12.26 ns
transactions over time/0 loc tx:
81.54 M/s
time per transaction/1 loc tx:
26.93 ns
transactions over time/1 loc tx:
37.14 M/s
time per transaction/2 loc tx:
50.55 ns
transactions over time/2 loc tx:
19.78 M/s
time per transaction/4 loc tx:
86.93 ns
transactions over time/4 loc tx:
11.50 M/s
time per transaction/8 loc tx:
167.52 ns
transactions over time/8 loc tx:
5.97 M/s
Kcas parallel CMP:
time per transaction/1 worker:
88.10 ns
transactions over time/1 worker:
11.35 M/s
time per transaction/2 workers:
186.61 ns
transactions over time/2 workers:
10.72 M/s
time per transaction/4 workers:
757.72 ns
transactions over time/4 workers:
5.28 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
17.86 ns
operations over time/1 worker, 0% reads:
56.00 M/s
time per operation/2 workers, 0% reads:
53.89 ns
operations over time/2 workers, 0% reads:
37.24 M/s
time per operation/4 workers, 0% reads:
148.78 ns
operations over time/4 workers, 0% reads:
26.89 M/s
Kcas_data Dllist:
time per message/one domain:
380.02 ns
messages over time/one domain:
2.63 M/s
time per message/1 nb adder, 1 nb taker:
1280.91 ns
messages over time/1 nb adder, 1 nb taker:
1.56 M/s
time per message/1 nb adder, 2 nb takers:
1923.40 ns
messages over time/1 nb adder, 2 nb takers:
1.56 M/s
time per message/2 nb adders, 1 nb taker:
1768.73 ns
messages over time/2 nb adders, 1 nb taker:
1.70 M/s
time per message/2 nb adders, 2 nb takers:
3296.73 ns
messages over time/2 nb adders, 2 nb takers:
1.21 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
58.41 ns
operations over time/1 worker, 90% reads:
17.12 M/s
time per operation/2 workers, 90% reads:
121.05 ns
operations over time/2 workers, 90% reads:
16.52 M/s
time per operation/4 workers, 90% reads:
392.20 ns
operations over time/4 workers, 90% reads:
10.20 M/s
time per operation/1 worker, 50% reads:
149.68 ns
operations over time/1 worker, 50% reads:
6.68 M/s
time per operation/2 workers, 50% reads:
281.39 ns
operations over time/2 workers, 50% reads:
7.11 M/s
time per operation/4 workers, 50% reads:
1038.96 ns
operations over time/4 workers, 50% reads:
3.85 M/s
time per operation/1 worker, 10% reads:
231.78 ns
operations over time/1 worker, 10% reads:
4.31 M/s
time per operation/2 workers, 10% reads:
574.05 ns
operations over time/2 workers, 10% reads:
3.48 M/s
time per operation/4 workers, 10% reads:
1222.49 ns
operations over time/4 workers, 10% reads:
3.27 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
20184.82 ns
messages over time/1 nb adder, 1 nb taker:
0.10 M/s
time per message/1 nb adder, 1 taker:
18420.20 ns
messages over time/1 nb adder, 1 taker:
0.11 M/s
time per message/1 nb adder, 2 nb takers:
33693.76 ns
messages over time/1 nb adder, 2 nb takers:
0.09 M/s
time per message/1 nb adder, 2 takers:
37348.60 ns
messages over time/1 nb adder, 2 takers:
0.08 M/s
time per message/1 adder, 1 nb taker:
18442.40 ns
messages over time/1 adder, 1 nb taker:
0.11 M/s
time per message/1 adder, 1 taker:
20152.82 ns
messages over time/1 adder, 1 taker:
0.10 M/s
time per message/1 adder, 2 nb takers:
34391.17 ns
messages over time/1 adder, 2 nb takers:
0.09 M/s
time per message/1 adder, 2 takers:
53393.17 ns
messages over time/1 adder, 2 takers:
0.06 M/s
time per message/2 nb adders, 1 nb taker:
34080.77 ns
messages over time/2 nb adders, 1 nb taker:
0.09 M/s
time per message/2 nb adders, 1 taker:
35135.78 ns
messages over time/2 nb adders, 1 taker:
0.09 M/s
time per message/2 nb adders, 2 nb takers:
42943.87 ns
messages over time/2 nb adders, 2 nb takers:
0.09 M/s
time per message/2 nb adders, 2 takers:
62550.67 ns
messages over time/2 nb adders, 2 takers:
0.06 M/s
time per message/2 adders, 1 nb taker:
32892.35 ns
messages over time/2 adders, 1 nb taker:
0.09 M/s
time per message/2 adders, 1 taker:
38021.62 ns
messages over time/2 adders, 1 taker:
0.08 M/s
time per message/2 adders, 2 nb takers:
59084.63 ns
messages over time/2 adders, 2 nb takers:
0.07 M/s
time per message/2 adders, 2 takers:
50625.74 ns
messages over time/2 adders, 2 takers:
0.08 M/s
Kcas_data Queue:
time per message/one domain:
96.52 ns
messages over time/one domain:
10.36 M/s
time per message/1 nb adder, 1 nb taker:
209.31 ns
messages over time/1 nb adder, 1 nb taker:
9.56 M/s
time per message/1 nb adder, 1 taker:
229.28 ns
messages over time/1 nb adder, 1 taker:
8.72 M/s
time per message/1 nb adder, 2 nb takers:
377.91 ns
messages over time/1 nb adder, 2 nb takers:
7.94 M/s
time per message/1 nb adder, 2 takers:
394.07 ns
messages over time/1 nb adder, 2 takers:
7.61 M/s
time per message/2 nb adders, 1 nb taker:
318.30 ns
messages over time/2 nb adders, 1 nb taker:
9.43 M/s
time per message/2 nb adders, 1 taker:
339.51 ns
messages over time/2 nb adders, 1 taker:
8.84 M/s
time per message/2 nb adders, 2 nb takers:
522.45 ns
messages over time/2 nb adders, 2 nb takers:
7.66 M/s
time per message/2 nb adders, 2 takers:
498.09 ns
messages over time/2 nb adders, 2 takers:
8.03 M/s
Kcas_data Stack:
time per message/one domain:
66.94 ns
messages over time/one domain:
14.94 M/s
time per message/1 nb adder, 1 nb taker:
217.73 ns
messages over time/1 nb adder, 1 nb taker:
9.19 M/s
time per message/1 nb adder, 1 taker:
216.48 ns
messages over time/1 nb adder, 1 taker:
9.24 M/s
time per message/1 nb adder, 2 nb takers:
361.98 ns
messages over time/1 nb adder, 2 nb takers:
8.29 M/s
time per message/1 nb adder, 2 takers:
372.30 ns
messages over time/1 nb adder, 2 takers:
8.06 M/s
time per message/2 nb adders, 1 nb taker:
313.63 ns
messages over time/2 nb adders, 1 nb taker:
9.57 M/s
time per message/2 nb adders, 1 taker:
314.07 ns
messages over time/2 nb adders, 1 taker:
9.55 M/s
time per message/2 nb adders, 2 nb takers:
491.45 ns
messages over time/2 nb adders, 2 nb takers:
8.14 M/s
time per message/2 nb adders, 2 takers:
460.26 ns
messages over time/2 nb adders, 2 takers:
8.69 M/s
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `AT4C2VO1'.
[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.122s. 2 tests run.
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 2784070914470591389
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 5.6s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4385911501120594316
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 8.3s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2280709485371910934
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 22.1s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3466400428387268374
generated error fail pass / total time test name
[✓] 149 0 0 149 / 149 0.0s Hashtbl sequential
[✓] 149 0 0 149 / 149 27.2s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 838278334993659229
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 5.3s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1046490955756445188
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 8.2s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3864734321338233170
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 21.1s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 2324826419681222012
generated error fail pass / total time test name
[✓] 164 0 0 164 / 164 0.0s Stack sequential
[✓] 164 0 0 164 / 164 29.1s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 4463276641357395368
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 6.3s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2204329968284404098
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 7.7s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3987994313791667985
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 21.2s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3235716738190075577
generated error fail pass / total time test name
[✓] 157 0 0 157 / 157 0.0s Dllist sequential
[✓] 157 0 0 157 / 157 28.5s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 4268591124480793444
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 5.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 1294481185533088870
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 8.7s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3728503853739768289
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[ ] 89 0 0 89 / 128 15.6s Accumulator c
[✓] 128 0 0 128 / 128 21.8s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2360003346985871742
generated error fail pass / total time test name
[✓] 150 0 0 150 / 150 0.0s Accumulator sequential
[✓] 150 0 0 150 / 150 28.0s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 640185340666201274
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 5.6s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1990019059297982139
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 8.7s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 163297445488533090
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 21.0s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 314095951833340903
generated error fail pass / total time test name
[✓] 156 0 0 156 / 156 0.0s Queue sequential
[✓] 156 0 0 156 / 156 29.1s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 358920804269752706
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 6.2s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 393899182372075561
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 8.9s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3557847934047710340
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 22.0s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2546265988242766243
generated error fail pass / total time test name
[✓] 138 0 0 138 / 138 0.0s Hashtbl_with_order sequential
[✓] 138 0 0 138 / 138 28.0s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-09-18 21:07.49 ---> saved as "9c3e821ad30fdbf0061c02c573ffbb9d69bcaededf96d1a3b6d9f2ca66140d89"
Job succeeded
2024-09-18 21:07.50: Job succeeded