2024-09-16 20:01.43: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/pull/204/head (35fb956b2b5cd748b4b29ac9317f62639425ed7a) (linux-x86_64:alpine-3.20-5.2_opam-2.2)
Base: ocaml/opam:alpine-3.20-ocaml-5.2@sha256:438c72033b20ee374a28968b3219bffa87e179d8d1e3fb1eb4f9b60379eb0db3
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" && cd "kcas" && git fetch origin "refs/pull/204/head" && git reset --hard 35fb956b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.20-ocaml-5.2@sha256:438c72033b20ee374a28968b3219bffa87e179d8d1e3fb1eb4f9b60379eb0db3
# alpine-3.20-5.2_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-domains.base base-nnp.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-x86_64.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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-16 20:01.43: Using cache hint "ocaml-multicore/kcas-ocaml/opam:alpine-3.20-ocaml-5.2@sha256:438c72033b20ee374a28968b3219bffa87e179d8d1e3fb1eb4f9b60379eb0db3-alpine-3.20-5.2_opam-2.2-3500782eca2ba0f23708b857e5c1b104"
2024-09-16 20:01.43: Using OBuilder spec:
((from ocaml/opam:alpine-3.20-ocaml-5.2@sha256:438c72033b20ee374a28968b3219bffa87e179d8d1e3fb1eb4f9b60379eb0db3)
(comment alpine-3.20-5.2_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-domains.base base-nnp.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-x86_64.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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-16 20:01.43: Waiting for resource in pool OCluster
2024-09-16 20:01.43: Waiting for worker…
2024-09-16 20:03.07: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 35fb956 Change to use Picos instead of DLA and DLT
(from ocaml/opam:alpine-3.20-ocaml-5.2@sha256:438c72033b20ee374a28968b3219bffa87e179d8d1e3fb1eb4f9b60379eb0db3)
2024-09-16 20:08.41 ---> saved as "8e594ddbc61b89628a9846d83a9ca2102edaa54a0b33a1a8f60d33d7e563aba3"
/: (comment alpine-3.20-5.2_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-16 20:08.42 ---> saved as "db42240efdd64d1140f19f795a951353ee20bcabb192df48dc5b5f85a2a46eff"
/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-16 20:10.12 ---> saved as "3fcdda3d723c21a06e251e4f492eb01b73e1a69601de11316f45d3ae7a8e9e0a"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-121-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-09-16 20:10.12 ---> saved as "d451fdaa0671d87012506f44049e42bd5f8a784f2ae6babf911c6de2b8f77212"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-16 20:10.13 ---> saved as "8a72c1416b83bb643624a10ed458e18c125e0903bdf75c3cd575a9b8f1ed367f"
/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-16 20:11.22 ---> saved as "6fad965a35fca06daf5a7f27d36809217fd47ac9ae82150dede4dfc9effa084d"
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-16 20:11.22 ---> saved as "108a24358c49c547138dfb826b25585144288c71e51d8f5de0658c29a16607c2"
/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-16 20:11.28 ---> saved as "3ae1482354073e7f41787003ce5b81d9b0780438976547c3a61543408bb5d08f"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-domains.base base-nnp.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-x86_64.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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 "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.20.3-41-g15f51a1ed0f [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
- v3.20.3-40-g6357f8cdcd6 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
- v20240807-2372-gc367075ce26 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20240807-2375-gd2c32d4e9b7 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20240807-2374-g934c9d69272 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 55133 distinct packages available
<><> 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-09-16 20:11.43 ---> saved as "d3ebe8bc04e1b4ebf99916c1140d67598bd40afe2e67cfd2eef4f81192424419"
/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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 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.3, qcheck-stm.0.3 (cached)
-> retrieved seq.base (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-local-storage.0.2 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved thread-table.1.0.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (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 backoff.0.1.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed ocaml-version.3.6.8
-> installed thread-table.1.0.0
-> installed camlp-streams.5.0.1
-> installed psq.0.2.1
-> installed multicore-magic.2.3.0
-> installed thread-local-storage.0.2
-> installed domain-local-await.1.0.1
-> installed picos_aux.0.5.0
-> installed picos.0.5.0
-> installed cppo.1.7.0
-> installed re.1.12.0
-> installed ocaml-syntax-shims.1.0.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed picos_std.0.5.0
-> installed qcheck-multicoretests-util.0.3
-> installed picos_io.0.5.0
-> installed multicore-bench.0.1.5
-> installed qcheck-stm.0.3
-> installed alcotest.1.8.0
-> installed picos_mux.0.5.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-16 20:12.23 ---> saved as "c8cecc3c9b2bc0ec28075ddcf2ff296de76c1d7635f37205b2c58409b52a2b7c"
/src: (copy (src .) (dst /src))
2024-09-16 20:12.23 ---> saved as "f0e35d330bf07144f8f65e602fecd91d57015a15b6bf19e7879c0a1131b1e723"
/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 `RNLN96AA'.
[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 `WQGEITHL'.
[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 `WJTNZVTX'.
[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 && ./stack_test.exe)
Testing `Stack'.
This run has ID `DIE3XFLS'.
[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 `AFCNXVQM'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `U7E9O2EY'.
[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 && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `ZSSA5YC9'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 0.009s. 2 tests run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `CGZ9L58V'.
[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.015s. 4 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
4.75 ns
ops over time/get:
210.32 M/s
time per op/incr:
11.85 ns
ops over time/incr:
84.37 M/s
time per op/push & pop:
12.29 ns
ops over time/push & pop:
81.39 M/s
time per op/cas int:
10.01 ns
ops over time/cas int:
99.94 M/s
time per op/xchg int:
10.20 ns
ops over time/xchg int:
98.06 M/s
time per op/swap:
13.18 ns
ops over time/swap:
75.86 M/s
Kcas Xt:
time per transaction/0 loc tx:
7.99 ns
transactions over time/0 loc tx:
125.19 M/s
time per transaction/1 loc tx:
34.81 ns
transactions over time/1 loc tx:
28.72 M/s
time per transaction/2 loc tx:
82.44 ns
transactions over time/2 loc tx:
12.13 M/s
time per transaction/4 loc tx:
151.53 ns
transactions over time/4 loc tx:
6.60 M/s
time per transaction/8 loc tx:
304.10 ns
transactions over time/8 loc tx:
3.29 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
7.55 ns
transactions over time/0 loc tx:
132.43 M/s
time per transaction/1 loc tx:
22.00 ns
transactions over time/1 loc tx:
45.45 M/s
time per transaction/2 loc tx:
43.85 ns
transactions over time/2 loc tx:
22.80 M/s
time per transaction/4 loc tx:
78.71 ns
transactions over time/4 loc tx:
12.71 M/s
time per transaction/8 loc tx:
145.68 ns
transactions over time/8 loc tx:
6.86 M/s
Kcas parallel CMP:
time per transaction/1 worker:
90.73 ns
transactions over time/1 worker:
11.02 M/s
time per transaction/2 workers:
83.48 ns
transactions over time/2 workers:
23.96 M/s
time per transaction/4 workers:
91.45 ns
transactions over time/4 workers:
43.74 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
39.05 ns
operations over time/1 worker, 0% reads:
25.61 M/s
time per operation/2 workers, 0% reads:
28.00 ns
operations over time/2 workers, 0% reads:
71.43 M/s
time per operation/4 workers, 0% reads:
24.93 ns
operations over time/4 workers, 0% reads:
160.47 M/s
Kcas_data Dllist:
time per message/one domain:
561.34 ns
messages over time/one domain:
1.78 M/s
time per message/1 nb adder, 1 nb taker:
1964.91 ns
messages over time/1 nb adder, 1 nb taker:
1.02 M/s
time per message/1 nb adder, 2 nb takers:
2020.37 ns
messages over time/1 nb adder, 2 nb takers:
1.48 M/s
time per message/2 nb adders, 1 nb taker:
1915.84 ns
messages over time/2 nb adders, 1 nb taker:
1.57 M/s
time per message/2 nb adders, 2 nb takers:
4345.03 ns
messages over time/2 nb adders, 2 nb takers:
0.92 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
66.60 ns
operations over time/1 worker, 90% reads:
15.01 M/s
time per operation/2 workers, 90% reads:
131.44 ns
operations over time/2 workers, 90% reads:
15.22 M/s
time per operation/4 workers, 90% reads:
171.59 ns
operations over time/4 workers, 90% reads:
23.31 M/s
time per operation/1 worker, 50% reads:
154.35 ns
operations over time/1 worker, 50% reads:
6.48 M/s
time per operation/2 workers, 50% reads:
136.18 ns
operations over time/2 workers, 50% reads:
14.69 M/s
time per operation/4 workers, 50% reads:
327.97 ns
operations over time/4 workers, 50% reads:
12.20 M/s
time per operation/1 worker, 10% reads:
241.73 ns
operations over time/1 worker, 10% reads:
4.14 M/s
time per operation/2 workers, 10% reads:
322.75 ns
operations over time/2 workers, 10% reads:
6.20 M/s
time per operation/4 workers, 10% reads:
392.47 ns
operations over time/4 workers, 10% reads:
10.19 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
1629.80 ns
messages over time/1 nb adder, 1 nb taker:
1.23 M/s
time per message/1 nb adder, 1 taker:
1355.91 ns
messages over time/1 nb adder, 1 taker:
1.48 M/s
time per message/1 nb adder, 2 nb takers:
1826.47 ns
messages over time/1 nb adder, 2 nb takers:
1.64 M/s
time per message/1 nb adder, 2 takers:
6653.48 ns
messages over time/1 nb adder, 2 takers:
0.45 M/s
time per message/1 adder, 1 nb taker:
6661.74 ns
messages over time/1 adder, 1 nb taker:
0.30 M/s
time per message/1 adder, 1 taker:
18742.16 ns
messages over time/1 adder, 1 taker:
0.11 M/s
time per message/1 adder, 2 nb takers:
20857.88 ns
messages over time/1 adder, 2 nb takers:
0.14 M/s
time per message/1 adder, 2 takers:
25256.91 ns
messages over time/1 adder, 2 takers:
0.12 M/s
time per message/2 nb adders, 1 nb taker:
4768.17 ns
messages over time/2 nb adders, 1 nb taker:
0.63 M/s
time per message/2 nb adders, 1 taker:
24662.05 ns
messages over time/2 nb adders, 1 taker:
0.12 M/s
time per message/2 nb adders, 2 nb takers:
3734.16 ns
messages over time/2 nb adders, 2 nb takers:
1.07 M/s
time per message/2 nb adders, 2 takers:
7228.06 ns
messages over time/2 nb adders, 2 takers:
0.55 M/s
time per message/2 adders, 1 nb taker:
9211.34 ns
messages over time/2 adders, 1 nb taker:
0.33 M/s
time per message/2 adders, 1 taker:
26890.47 ns
messages over time/2 adders, 1 taker:
0.11 M/s
time per message/2 adders, 2 nb takers:
12342.08 ns
messages over time/2 adders, 2 nb takers:
0.32 M/s
time per message/2 adders, 2 takers:
28888.83 ns
messages over time/2 adders, 2 takers:
0.14 M/s
Kcas_data Queue:
time per message/one domain:
58.09 ns
messages over time/one domain:
17.22 M/s
time per message/1 nb adder, 1 nb taker:
134.20 ns
messages over time/1 nb adder, 1 nb taker:
14.90 M/s
time per message/1 nb adder, 1 taker:
247.38 ns
messages over time/1 nb adder, 1 taker:
8.08 M/s
time per message/1 nb adder, 2 nb takers:
438.00 ns
messages over time/1 nb adder, 2 nb takers:
6.85 M/s
time per message/1 nb adder, 2 takers:
454.69 ns
messages over time/1 nb adder, 2 takers:
6.60 M/s
time per message/2 nb adders, 1 nb taker:
508.36 ns
messages over time/2 nb adders, 1 nb taker:
5.90 M/s
time per message/2 nb adders, 1 taker:
427.00 ns
messages over time/2 nb adders, 1 taker:
7.03 M/s
time per message/2 nb adders, 2 nb takers:
592.37 ns
messages over time/2 nb adders, 2 nb takers:
6.75 M/s
time per message/2 nb adders, 2 takers:
639.62 ns
messages over time/2 nb adders, 2 takers:
6.25 M/s
Kcas_data Stack:
time per message/one domain:
50.69 ns
messages over time/one domain:
19.73 M/s
time per message/1 nb adder, 1 nb taker:
96.25 ns
messages over time/1 nb adder, 1 nb taker:
20.78 M/s
time per message/1 nb adder, 1 taker:
215.61 ns
messages over time/1 nb adder, 1 taker:
9.28 M/s
time per message/1 nb adder, 2 nb takers:
379.79 ns
messages over time/1 nb adder, 2 nb takers:
7.90 M/s
time per message/1 nb adder, 2 takers:
268.33 ns
messages over time/1 nb adder, 2 takers:
11.18 M/s
time per message/2 nb adders, 1 nb taker:
309.48 ns
messages over time/2 nb adders, 1 nb taker:
9.69 M/s
time per message/2 nb adders, 1 taker:
461.85 ns
messages over time/2 nb adders, 1 taker:
6.50 M/s
time per message/2 nb adders, 2 nb takers:
498.23 ns
messages over time/2 nb adders, 2 nb takers:
8.03 M/s
time per message/2 nb adders, 2 takers:
429.48 ns
messages over time/2 nb adders, 2 takers:
9.31 M/s
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `R6GKQWHD'.
[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 37.224s. 17 tests run.
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 127183367284112479
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.3s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 395282676682972025
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 2.6s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 3763412614222370337
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 4.1s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 1184972238376143065
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Stack sequential
[✓] 256 0 0 256 / 256 9.8s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 854794391215497747
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Stack sequential
[✓] 512 0 0 512 / 512 25.1s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 2705041910068285221
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.6s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 587106610354973868
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 1.5s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 972973387862640215
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 2.9s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 1433515697499416435
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 4.3s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 1344717048934444757
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Queue sequential
[✓] 256 0 0 256 / 256 10.5s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 3214600075240758944
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Queue sequential
[✓] 512 0 0 512 / 512 23.9s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 575083294276132587
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 1.6s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 3225127155737615847
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 1.3s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 4370464628084657698
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 2.7s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 1451173785771445153
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 5.0s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 4435144106772453384
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Dllist sequential
[✓] 256 0 0 256 / 256 11.6s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 1544549491186192031
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Dllist sequential
[✓] 512 0 0 512 / 512 23.3s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 392968966903433231
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 2.0s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 1469508843850089652
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 1.2s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 1372561003999524497
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 2.8s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 1217769172612514073
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 4.5s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 863742790191610615
generated error fail pass / total time test name
[✓] 256
0 0 256 / 256 0.0s Accumulator sequential
[✓] 256 0 0 256 / 256 11.1s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 1460144495984410928
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Accumulator sequential
[✓] 512 0 0 512 / 512 25.7s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 2906988895328902654
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 1.4s Accumulator parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 2020479553780366689
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 1.4s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 4441254555611904902
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 3.0s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 2938216011120725545
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 4.9s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 1086522464643867254
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl sequential
[✓] 256 0 0 256 / 256 12.4s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 2290378532726237476
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Hashtbl sequential
[✓] 512 0 0 512 / 512 24.8s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 4400324583425377401
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 1.2s Hashtbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 935924808599118874
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 1.5s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 3089993000715948627
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 2.7s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 1666774665720760419
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 5.1s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 1049725057672822356
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Hashtbl_with_order sequential
[✓] 256 0 0 256 / 256 14.5s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 1005719438662608875
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Hashtbl_with_order sequential
[✓] 512 0 0 512 / 512 28.2s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 4356262133831596347
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 1.3s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
2024-09-16 20:13.19 ---> saved as "e4e1d6785799e535e4e8fd356c00864f2a925c70ac6eedfd842b1eb96dfb7251"
Job succeeded
2024-09-16 20:13.20: Job succeeded