2024-10-18 17:21.12: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/port-to-picos (c408bc8d61e57ec2d758c7a8fd7081accf7b82fd) (linux-ppc64:debian-12-4.14_ppc64_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991
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 c408bc8d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991
# 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 b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && 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.1 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.7 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.9 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.4 qcheck-stm.0.4 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-10-18 17:21.12: Using cache hint "ocaml-multicore/kcas-ocaml/opam:debian-12-ocaml-4.14@sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991-debian-12-4.14_ppc64_opam-2.2-13492b4a35b1e6da1a78466018a9fc59"
2024-10-18 17:21.12: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991)
(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 b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && 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.1 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.7 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.9 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.4 qcheck-stm.0.4 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-10-18 17:21.12: Waiting for resource in pool OCluster
2024-10-18 17:21.12: Waiting for worker…
2024-10-18 17:21.12: Got resource from pool OCluster
Building on orithia.caelum.ci.dev
All commits already cached
HEAD is now at c408bc8 Change to use Picos instead of DLA and DLT
(from ocaml/opam:debian-12-ocaml-4.14@sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991' locally
docker.io/ocaml/opam@sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991: Pulling from ocaml/opam
Digest: sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991
Status: Downloaded newer image for ocaml/opam@sha256:b6e28e73deca6f798ac7030d958d45347b1628980006ea899784bd6d4f619991
2024-10-18 17:21.12 ---> using "9ee8dd0c675aad504f591e78234a54edff10abcc488d39602f96339919a8cded" 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-10-18 17:21.12 ---> using "96facf533f4fae8db10df129619ee931141fccadb840fa0a1b3c73b8018b98c5" 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-10-18 17:21.12 ---> using "f595a04b30f5e078ec41736df233d12b3000aab3369ec8322a3523c5d7f5f629" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-45-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-10-18 17:21.12 ---> using "aa4c1eddb97c4bdec311d2fb89c8efb2973316a246b901a1f0928d65208be3ae" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-18 17:21.12 ---> using "f7870ea53167abe022385d0c004291ea5168f018525d2971ed6afd5219c427e8" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
75006f8c5e..b8e118d3ef master -> origin/master
b8e118d3ef Merge pull request #26758 from polytypic/release-multicore-bench-0.1.7
<><> 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-10-18 17:22.05 ---> saved as "3d8cea81bc7b088bfd71981272010b65ff7ae3da5bbdeb744953812f24ec2359"
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-10-18 17:22.06 ---> saved as "00b02accff67cdcf7f69be308cba27566dac1d4f5a492b9b51f59359e8d87156"
/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-10-18 17:22.10 ---> saved as "6971ed1f086510ac3e303c759660cd70a776b8221ddfdb3c164b4b6412d300a1"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.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.7 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.9 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.4 qcheck-stm.0.4 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"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main ppc64el Packages.diff/Index [11.7 kB]
- Get:5 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:5 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:6 http://deb.debian.org/debian-security bookworm-security/main ppc64el Packages [180 kB]
- Fetched 296 kB in 0s (786 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-10-18 17:22.28 ---> saved as "19be362eb9976aa8d06139083a887addcbec954ea78dd022e9de2049235d54f0"
/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.1
- 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.7
- install multicore-magic 2.3.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.9
- 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.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-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.1 (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.7 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.9 (cached)
-> retrieved ocamlbuild.0.15.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 dune.3.16.0 (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 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 camlp-streams.5.0.1
-> installed multicore-magic.2.3.0
-> installed backoff.0.1.1
-> installed csexp.1.5.2
-> installed ocaml-version.3.6.9
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed thread-table.1.0.0
-> installed psq.0.2.1
-> 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 qcheck-core.0.22
-> installed yojson.2.2.2
-> installed picos_std.0.5.0
-> installed qcheck-multicoretests-util.0.4
-> installed alcotest.1.8.0
-> installed multicore-bench.0.1.7
-> installed qcheck-stm.0.4
-> 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-10-18 17:24.11 ---> saved as "4638c1af8a762a7aaf07f34211ce4c6b147504e95ab5d3ea6a99495d20208844"
/src: (copy (src .) (dst /src))
2024-10-18 17:24.43 ---> saved as "92fc77b0a15f0e0cfde8b2355450fce069d7a40a0755b00013c1065e60650c5c"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `EWYQTOY2'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.005s. 1 test run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `MVYP5ABE'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Transactions'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `LDJLVZQE'.
[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 && ./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 `5KYPKJ1R'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.002s. 1 test run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `FF3LVJWO'.
[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.029s. 4 tests run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `MNQTCMTM'.
[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.001s. 3 tests run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `3IU5YA8G'.
[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 && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `5DPPJ81U'.
[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.236s. 2 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
6.36 M/s
ops over time/get:
32.68 M/s
ops over time/incr:
10.42 M/s
ops over time/push & pop:
5.59 M/s
ops over time/swap:
7.39 M/s
ops over time/xchg int:
5.47 M/s
time per op/cas int:
157.15 ns
time per op/get:
30.60 ns
time per op/incr:
95.99 ns
time per op/push & pop:
178.85 ns
time per op/swap:
135.25 ns
time per op/xchg int:
182.79 ns
Kcas Xt:
time per transaction/0 loc tx:
70.14 ns
time per transaction/1 loc tx:
269.59 ns
time per transaction/2 loc tx:
744.95 ns
time per transaction/4 loc tx:
1929.36 ns
time per transaction/8 loc tx:
1459.34 ns
transactions over time/0 loc tx:
14.26 M/s
transactions over time/1 loc tx:
3.71 M/s
transactions over time/2 loc tx:
1.34 M/s
transactions over time/4 loc tx:
0.52 M/s
transactions over time/8 loc tx:
0.69 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
73.54 ns
time per transaction/1 loc tx:
148.27 ns
time per transaction/2 loc tx:
383.51 ns
time per transaction/4 loc tx:
804.72 ns
time per transaction/8 loc tx:
967.76 ns
transactions over time/0 loc tx:
13.60 M/s
transactions over time/1 loc tx:
6.74 M/s
transactions over time/2 loc tx:
2.61 M/s
transactions over time/4 loc tx:
1.24 M/s
transactions over time/8 loc tx:
1.03 M/s
Kcas parallel CMP:
time per transaction/1 worker:
615.69 ns
time per transaction/2 workers:
1423.29 ns
time per transaction/4 workers:
3228.27 ns
transactions over time/1 worker:
1.62 M/s
transactions over time/2 workers:
1.41 M/s
transactions over time/4 workers:
1.24 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
8.75 M/s
operations over time/2 workers, 0% reads:
2.61 M/s
operations over time/4 workers, 0% reads:
3.66 M/s
time per operation/1 worker, 0% reads:
114.28 ns
time per operation/2 workers, 0% reads:
765.00 ns
time per operation/4 workers, 0% reads:
1091.48 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
0.53 M/s
messages over time/1 nb adder, 2 nb takers:
0.53 M/s
messages over time/2 nb adders, 1 nb taker:
0.45 M/s
messages over time/2 nb adders, 2 nb takers:
0.72 M/s
messages over time/one domain:
0.49 M/s
time per message/1 nb adder, 1 nb taker:
3798.12 ns
time per message/1 nb adder, 2 nb takers:
5636.12 ns
time per message/2 nb adders, 1 nb taker:
6694.23 ns
time per message/2 nb adders, 2 nb takers:
5582.55 ns
time per message/one domain:
2049.07 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
0.59 M/s
operations over time/1 worker, 50% reads:
0.97 M/s
operations over time/1 worker, 90% reads:
2.71 M/s
operations over time/2 workers, 10% reads:
0.65 M/s
operations over time/2 workers, 50% reads:
0.82 M/s
operations over time/2 workers, 90% reads:
1.40 M/s
operations over time/4 workers, 10% reads:
0.59 M/s
operations over time/4 workers, 50% reads:
0.87 M/s
operations over time/4 workers, 90% reads:
2.03 M/s
time per operation/1 worker, 10% reads:
1698.08 ns
time per operation/1 worker, 50% reads:
1026.92 ns
time per operation/1 worker, 90% reads:
368.79 ns
time per operation/2 workers, 10% reads:
3063.25 ns
time per operation/2 workers, 50% reads:
2425.77 ns
time per operation/2 workers, 90% reads:
1425.28 ns
time per operation/4 workers, 10% reads:
6773.78 ns
time per operation/4 workers, 50% reads:
4617.95 ns
time per operation/4 workers, 90% reads:
1970.25 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.01 M/s
messages over time/1 adder, 1 taker:
0.01 M/s
messages over time/1 adder, 2 nb takers:
0.02 M/s
messages over time/1 adder, 2 takers:
0.01 M/s
messages over time/1 nb adder, 1 nb taker:
0.02 M/s
messages over time/1 nb adder, 1 taker:
0.01 M/s
messages over time/1 nb adder, 2 nb takers:
0.02 M/s
messages over time/1 nb adder, 2 takers:
0.01 M/s
messages over time/2 adders, 1 nb taker:
0.01 M/s
messages over time/2 adders, 1 taker:
0.01 M/s
messages over time/2 adders, 2 nb takers:
0.01 M/s
messages over time/2 adders, 2 takers:
0.01 M/s
messages over time/2 nb adders, 1 nb taker:
0.02 M/s
messages over time/2 nb adders, 1 taker:
0.01 M/s
messages over time/2 nb adders, 2 nb takers:
0.02 M/s
messages over time/2 nb adders, 2 takers:
0.01 M/s
time per message/1 adder, 1 nb taker:
229235.03 ns
time per message/1 adder, 1 taker:
135219.83 ns
time per message/1 adder, 2 nb takers:
185823.71 ns
time per message/1 adder, 2 takers:
269562.95 ns
time per message/1 nb adder, 1 nb taker:
80454.35 ns
time per message/1 nb adder, 1 taker:
364519.43 ns
time per message/1 nb adder, 2 nb takers:
169024.45 ns
time per message/1 nb adder, 2 takers:
335993.96 ns
time per message/2 adders, 1 nb taker:
252231.64 ns
time per message/2 adders, 1 taker:
423805.21 ns
time per message/2 adders, 2 nb takers:
392759.82 ns
time per message/2 adders, 2 takers:
459641.50 ns
time per message/2 nb adders, 1 nb taker:
169460.72 ns
time per message/2 nb adders, 1 taker:
374511.86 ns
time per message/2 nb adders, 2 nb takers:
176944.65 ns
time per message/2 nb adders, 2 takers:
495009.15 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
3.39 M/s
messages over time/1 nb adder, 1 taker:
1.12 M/s
messages over time/1 nb adder, 2 nb takers:
2.10 M/s
messages over time/1 nb adder, 2 takers:
2.13 M/s
messages over time/2 nb adders, 1 nb taker:
4.72 M/s
messages over time/2 nb adders, 1 taker:
2.83 M/s
messages over time/2 nb adders, 2 nb takers:
4.71 M/s
messages over time/2 nb adders, 2 takers:
3.62 M/s
messages over time/one domain:
2.26 M/s
time per message/1 nb adder, 1 nb taker:
589.49 ns
time per message/1 nb adder, 1 taker:
1778.50 ns
time per message/1 nb adder, 2 nb takers:
1426.40 ns
time per message/1 nb adder, 2 takers:
1406.50 ns
time per message/2 nb adders, 1 nb taker:
636.08 ns
time per message/2 nb adders, 1 taker:
1059.21 ns
time per message/2 nb adders, 2 nb takers:
849.09 ns
time per message/2 nb adders, 2 takers:
1105.55 ns
time per message/one domain:
442.39 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
4.57 M/s
messages over time/1 nb adder, 1 taker:
1.72 M/s
messages over time/1 nb adder, 2 nb takers:
3.99 M/s
messages over time/1 nb adder, 2 takers:
3.26 M/s
messages over time/2 nb adders, 1 nb taker:
4.12 M/s
messages over time/2 nb adders, 1 taker:
3.20 M/s
messages over time/2 nb adders, 2 nb takers:
3.82 M/s
messages over time/2 nb adders, 2 takers:
5.01 M/s
messages over time/one domain:
2.45 M/s
time per message/1 nb adder, 1 nb taker:
437.61 ns
time per message/1 nb adder, 1 taker:
1160.88 ns
time per message/1 nb adder, 2 nb takers:
751.97 ns
time per message/1 nb adder, 2 takers:
920.28 ns
time per message/2 nb adders, 1 nb taker:
727.83 ns
time per message/2 nb adders, 1 taker:
938.03 ns
time per message/2 nb adders, 2 nb takers:
1047.89 ns
time per message/2 nb adders, 2 takers:
797.84 ns
time per message/one domain:
408.99 ns
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `4QCU8S41'.
[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 27.338s. 17 tests run.
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 1647870296698021274
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 10.2s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1190871994888938143
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 16.5s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3598506196780932013
generated error fail pass / total time test name
[✓] 119 0 0 119 / 119 0.0s Stack sequential
[✓] 119 0 0 119 / 119 20.4s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1653060470211218757
generated error fail pass / total time test name
[✓] 58 0 0 58 / 58 0.0s Stack sequential
[✓] 58 0 0 58 / 58 9.0s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 395635219975859657
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.3s Stack sequential
[✓] 32 0 0 32 / 32 5.0s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 3062865624666937949
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 12.3s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2981560480724775356
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 19.8s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 4550081326178874811
generated error fail pass / total time test name
[✓] 83 0 0 83 / 83 0.0s Dllist sequential
[✓] 83 0 0 83 / 83 16.1s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 4079597162183750187
generated error fail pass / total time test name
[✓] 43 0 0 43 / 43 0.0s Dllist sequential
[✓] 43 0 0 43 / 43 8.1s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 484268741565082537
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 6.4s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 1481411974045924472
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 9.8s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3850717034115492482
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 17.7s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1866928542895528474
generated error fail pass / total time test name
[✓] 113 0 0 113 / 113 0.0s Queue sequential
[✓] 113 0 0 113 / 113 22.0s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1610739004650861651
generated error fail pass / total time test name
[✓] 44 0 0 44 / 44 0.0s Queue sequential
[✓] 44 0 0 44 / 44 8.5s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2690482168017400493
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 4.6s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 3587108607046642723
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 12.7s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2567322049102854244
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 18.0s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3111630210770311332
generated error fail pass / total time test name
[✓] 91 0 0 91 / 91 0.0s Hashtbl sequential
[✓] 91 0 0 91 / 91 17.3s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 634015521671479378
generated error fail pass / total time test name
[✓] 46 0 0 46 / 46 0.0s Hashtbl sequential
[✓] 46 0 0 46 / 46 10.0s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2948243855228694108
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 4.2s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 204969948049884753
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 7.9s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2343700888234738425
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[ ] 5 0 0 5 / 64 1.7s Accumu
[✓] 64 0 0 64 / 64 18.0s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 4057338915867820948
generated error fail pass / total time test name
[✓] 126 0 0 126 / 126 0.0s Accumulator sequential
[✓] 126 0 0 126 / 126 24.1s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 499246348544440214
generated error fail pass / total time test name
[✓] 44 0 0 44 / 44 0.0s Accumulator sequential
[✓] 44 0 0 44 / 44 8.3s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2286728144770859589
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 5.5s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 2610893272031744530
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 10.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 783834384771083709
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 21.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3004487464481315630
generated error fail pass / total time test name
[✓] 83 0 0 83 / 83 0.0s Hashtbl_with_order sequential
[✓] 83 0 0 83 / 83 22.1s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 1110381168376646016
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 5.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3161221293870139224
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.4s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-10-18 17:26.08 ---> saved as "46ac617f963b34e41e101567cf6d3207a129ebfa4eaceec1b0c5a03849b0c12b"
Job succeeded
2024-10-18 17:26.08: Job succeeded