2024-09-20 07:34.55: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/port-to-picos (fc9568915bc5155356c6a8c50be748491bd22084) (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" -b "port-to-picos" && cd "kcas" && git reset --hard fc956891
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 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-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.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-09-20 07:34.55: Using cache hint "ocaml-multicore/kcas-ocaml/opam:alpine-3.20-ocaml-5.2@sha256:438c72033b20ee374a28968b3219bffa87e179d8d1e3fb1eb4f9b60379eb0db3-alpine-3.20-5.2_opam-2.2-aaa83b2e7b0303d6c8e45ba7356fa33f"
2024-09-20 07:34.55: 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 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-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.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-09-20 07:34.55: Waiting for resource in pool OCluster
2024-09-20 07:34.55: Waiting for worker…
2024-09-20 07:34.55: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
HEAD is now at fc95689 Beyond mystery
(from ocaml/opam:alpine-3.20-ocaml-5.2@sha256:438c72033b20ee374a28968b3219bffa87e179d8d1e3fb1eb4f9b60379eb0db3)
2024-09-20 07:34.56 ---> using "8e594ddbc61b89628a9846d83a9ca2102edaa54a0b33a1a8f60d33d7e563aba3" from cache
/: (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-20 07:34.56 ---> using "db42240efdd64d1140f19f795a951353ee20bcabb192df48dc5b5f85a2a46eff" 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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-20 07:34.56 ---> using "3fcdda3d723c21a06e251e4f492eb01b73e1a69601de11316f45d3ae7a8e9e0a" from cache
/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-20 07:34.56 ---> using "d451fdaa0671d87012506f44049e42bd5f8a784f2ae6babf911c6de2b8f77212" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-20 07:34.56 ---> using "8a72c1416b83bb643624a10ed458e18c125e0903bdf75c3cd575a9b8f1ed367f" 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..164c8ecdbe 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-20 07:34.56 ---> using "7c65877ccaa67f0e01677a8f6a25caf6bb9d87b634d81c80917c6a436f392556" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-20 07:34.56 ---> using "612d5e669dbca5a46361c34bc941d0045567a5bcba064e006a784fb76b60d89b" 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-20 07:34.56 ---> using "c22d1fd56f779a572fd19ffe88927f01700255deab2076ce264c03d5f284f1f0" from cache
/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.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 "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-58-g5129f0b26c4 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
- v3.20.3-58-g5129f0b26c4 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
- v20240807-2579-gfae84808f6c [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20240807-2603-g5d78ce1914d [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20240807-2589-gcbf7a5b6a10 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 55176 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-20 07:34.56 ---> using "8e65a07bc38772bb1d3ea715190af94710b19f0f81c3b6d91267e4ce7ae6c818" 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 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.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.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_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 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.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 psq.0.2.1 (cached)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved thread-local-storage.0.2 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved dune.3.16.0 (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 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 ocaml-syntax-shims.1.0.0
-> installed picos.0.5.0
-> installed re.1.12.0
-> installed cppo.1.7.0
-> installed picos_std.0.5.0
-> installed yojson.2.2.2
-> installed qcheck-core.0.22
-> installed qcheck-multicoretests-util.0.4
-> installed picos_io.0.5.0
-> installed multicore-bench.0.1.5
-> installed alcotest.1.8.0
-> installed qcheck-stm.0.4
-> installed picos_mux.0.5.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-20 07:34.56 ---> using "136a7e8d51a3654b2879a811dc260c256ac4c9f09904da2746bec76ec1f00be6" from cache
/src: (copy (src .) (dst /src))
2024-09-20 07:34.56 ---> saved as "9cffab9c29cc0ecf14ffd138718c1ed32c77895dacc499acb575cc54dde6bd7f"
/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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `25GSMEN0'.
[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 && ./queue_test.exe)
Testing `Queue'.
This run has ID `6Z16U2UB'.
[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 && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `RQIYX1TJ'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.044s. 1 test run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `6W2551BV'.
[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.053s. 4 tests run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `HGEJGFNA'.
[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 && ./stack_test.exe)
Testing `Stack'.
This run has ID `7X2T8KAE'.
[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 `D79ECIR6'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.013s. 1 test run.
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `P20QAGNH'.
[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.182s. 2 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
11.78 ns
ops over time/get:
84.86 M/s
time per op/incr:
51.70 ns
ops over time/incr:
19.34 M/s
time per op/push & pop:
69.76 ns
ops over time/push & pop:
14.33 M/s
time per op/cas int:
46.22 ns
ops over time/cas int:
21.64 M/s
time per op/xchg int:
45.26 ns
ops over time/xchg int:
22.10 M/s
time per op/swap:
62.67 ns
ops over time/swap:
15.96 M/s
Kcas Xt:
time per transaction/0 loc tx:
30.02 ns
transactions over time/0 loc tx:
33.31 M/s
time per transaction/1 loc tx:
138.91 ns
transactions over time/1 loc tx:
7.20 M/s
time per transaction/2 loc tx:
329.00 ns
transactions over time/2 loc tx:
3.04 M/s
time per transaction/4 loc tx:
616.92 ns
transactions over time/4 loc tx:
1.62 M/s
time per transaction/8 loc tx:
973.40 ns
transactions over time/8 loc tx:
1.03 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
26.99 ns
transactions over time/0 loc tx:
37.06 M/s
time per transaction/1 loc tx:
68.04 ns
transactions over time/1 loc tx:
14.70 M/s
time per transaction/2 loc tx:
129.97 ns
transactions over time/2 loc tx:
7.69 M/s
time per transaction/4 loc tx:
201.20 ns
transactions over time/4 loc tx:
4.97 M/s
time per transaction/8 loc tx:
352.87 ns
transactions over time/8 loc tx:
2.83 M/s
Kcas parallel CMP:
time per transaction/1 worker:
346.09 ns
transactions over time/1 worker:
2.89 M/s
time per transaction/2 workers:
556.97 ns
transactions over time/2 workers:
3.59 M/s
time per transaction/4 workers:
372.03 ns
transactions over time/4 workers:
10.75 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
96.22 ns
operations over time/1 worker, 0% reads:
10.39 M/s
time per operation/2 workers, 0% reads:
114.12 ns
operations over time/2 workers, 0% reads:
17.53 M/s
time per operation/4 workers, 0% reads:
108.69 ns
operations over time/4 workers, 0% reads:
36.80 M/s
Kcas_data Dllist:
time per message/one domain:
2833.77 ns
messages over time/one domain:
0.35 M/s
time per message/1 nb adder, 1 nb taker:
2922.22 ns
messages over time/1 nb adder, 1 nb taker:
0.68 M/s
time per message/1 nb adder, 2 nb takers:
8504.50 ns
messages over time/1 nb adder, 2 nb takers:
0.35 M/s
time per message/2 nb adders, 1 nb taker:
11990.91 ns
messages over time/2 nb adders, 1 nb taker:
0.25 M/s
time per message/2 nb adders, 2 nb takers:
15536.40 ns
messages over time/2 nb adders, 2 nb takers:
0.26 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
341.08 ns
operations over time/1 worker, 90% reads:
2.93 M/s
time per operation/2 workers, 90% reads:
345.05 ns
operations over time/2 workers, 90% reads:
5.80 M/s
time per operation/4 workers, 90% reads:
407.72 ns
operations over time/4 workers, 90% reads:
9.81 M/s
time per operation/1 worker, 50% reads:
427.32 ns
operations over time/1 worker, 50% reads:
2.34 M/s
time per operation/2 workers, 50% reads:
533.32 ns
operations over time/2 workers, 50% reads:
3.75 M/s
time per operation/4 workers, 50% reads:
822.40 ns
operations over time/4 workers, 50% reads:
4.86 M/s
time per operation/1 worker, 10% reads:
1255.94 ns
operations over time/1 worker, 10% reads:
0.80 M/s
time per operation/2 workers, 10% reads:
1275.79 ns
operations over time/2 workers, 10% reads:
1.57 M/s
time per operation/4 workers, 10% reads:
1495.40 ns
operations over time/4 workers, 10% reads:
2.67 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
704.95 ns
messages over time/1 nb adder, 1 nb taker:
2.84 M/s
time per message/1 nb adder, 1 taker:
289.34 ns
messages over time/1 nb adder, 1 taker:
6.91 M/s
time per message/1 nb adder, 2 nb takers:
605.72 ns
messages over time/1 nb adder, 2 nb takers:
4.95 M/s
time per message/1 nb adder, 2 takers:
8108.78 ns
messages over time/1 nb adder, 2 takers:
0.37 M/s
time per message/1 adder, 1 nb taker:
221.78 ns
messages over time/1 adder, 1 nb taker:
9.02 M/s
time per message/1 adder, 1 taker:
41969.41 ns
messages over time/1 adder, 1 taker:
0.05 M/s
time per message/1 adder, 2 nb takers:
3627.19 ns
messages over time/1 adder, 2 nb takers:
0.83 M/s
time per message/1 adder, 2 takers:
68046.39 ns
messages over time/1 adder, 2 takers:
0.04 M/s
time per message/2 nb adders, 1 nb taker:
846.70 ns
messages over time/2 nb adders, 1 nb taker:
3.54 M/s
time per message/2 nb adders, 1 taker:
29355.74 ns
messages over time/2 nb adders, 1 taker:
0.10 M/s
time per message/2 nb adders, 2 nb takers:
2169.32 ns
messages over time/2 nb adders, 2 nb takers:
1.84 M/s
time per message/2 nb adders, 2 takers:
23490.97 ns
messages over time/2 nb adders, 2 takers:
0.17 M/s
time per message/2 adders, 1 nb taker:
3541.56 ns
messages over time/2 adders, 1 nb taker:
0.85 M/s
time per message/2 adders, 1 taker:
69205.40 ns
messages over time/2 adders, 1 taker:
0.04 M/s
time per message/2 adders, 2 nb takers:
28581.52 ns
messages over time/2 adders, 2 nb takers:
0.14 M/s
time per message/2 adders, 2 takers:
92643.60 ns
messages over time/2 adders, 2 takers:
0.04 M/s
Kcas_data Queue:
time per message/one domain:
208.02 ns
messages over time/one domain:
4.81 M/s
time per message/1 nb adder, 1 nb taker:
1108.55 ns
messages over time/1 nb adder, 1 nb taker:
1.80 M/s
time per message/1 nb adder, 1 taker:
796.61 ns
messages over time/1 nb adder, 1 taker:
2.51 M/s
time per message/1 nb adder, 2 nb takers:
1142.84 ns
messages over time/1 nb adder, 2 nb takers:
2.63 M/s
time per message/1 nb adder, 2 takers:
1363.07 ns
messages over time/1 nb adder, 2 takers:
2.20 M/s
time per message/2 nb adders, 1 nb taker:
866.64 ns
messages over time/2 nb adders, 1 nb taker:
3.46 M/s
time per message/2 nb adders, 1 taker:
1344.62 ns
messages over time/2 nb adders, 1 taker:
2.23 M/s
time per message/2 nb adders, 2 nb takers:
2845.36 ns
messages over time/2 nb adders, 2 nb takers:
1.41 M/s
time per message/2 nb adders, 2 takers:
1720.60 ns
messages over time/2 nb adders, 2 takers:
2.32 M/s
Kcas_data Stack:
time per message/one domain:
202.73 ns
messages over time/one domain:
4.93 M/s
time per message/1 nb adder, 1 nb taker:
363.23 ns
messages over time/1 nb adder, 1 nb taker:
5.51 M/s
time per message/1 nb adder, 1 taker:
365.39 ns
messages over time/1 nb adder, 1 taker:
5.47 M/s
time per message/1 nb adder, 2 nb takers:
671.63 ns
messages over time/1 nb adder, 2 nb takers:
4.47 M/s
time per message/1 nb adder, 2 takers:
646.45 ns
messages over time/1 nb adder, 2 takers:
4.64 M/s
time per message/2 nb adders, 1 nb taker:
660.87 ns
messages over time/2 nb adders, 1 nb taker:
4.54 M/s
time per message/2 nb adders, 1 taker:
674.10 ns
messages over time/2 nb adders, 1 taker:
4.45 M/s
time per message/2 nb adders, 2 nb takers:
963.48 ns
messages over time/2 nb adders, 2 nb takers:
4.15 M/s
time per message/2 nb adders, 2 takers:
1016.28 ns
messages over time/2 nb adders, 2 takers:
3.94 M/s
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `BSHNBG63'.
[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 49.414s. 17 tests run.
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 3149041715295299596
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 12.4s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 138507070626535744
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 12.6s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 1209673352821743778
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 15.9s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 3984170234640215112
generated error fail pass / total time test name
[✓] 104 0 0 104 / 104 0.0s Accumulator sequential
[✓] 104 0 0 104 / 104 8.5s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 2712168413973518777
generated error fail pass / total time test name
[✓] 70 0 0 70 / 70 0.0s Accumulator sequential
[✓] 70 0 0 70 / 70 8.2s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 366080285743521548
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 2.6s Accumulator parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 310158176535463233
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 11.9s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 867053136356710608
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 11.6s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 3275799973821950119
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 14.1s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 412728491103937076
generated error fail pass / total time test name
[✓] 132 0 0 132 / 132 0.0s Stack sequential
[✓] 132 0 0 132 / 132 14.4s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 850664056359051791
generated error fail pass / total time test name
[✓] 54 0 0 54 / 54 0.0s Stack sequential
[✓] 54 0 0 54 / 54 5.8s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 1488632649593176041
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 2.5s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 886851567427821763
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 12.6s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 409775736668739153
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 13.7s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 2130284706647016431
generated error fail pass / total time test name
[✓] 122 0 0 122 / 122 0.0s Dllist sequential
[✓] 122 0 0 122 / 122 17.6s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 4080416221637812491
generated error fail pass / total time test name
[✓] 79 0 0 79 / 79 0.0s Dllist sequential
[✓] 79 0 0 79 / 79 8.7s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 4034569095131494476
generated error fail pass / total time test name
[✓] 41 0 0 41 / 41 0.0s Dllist sequential
[✓] 41 0 0 41 / 41 5.4s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 1748266708571860033
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 2.5s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 1939957353397247586
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 13.4s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 429252964683130728
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 11.8s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 1907161079245438247
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 17.8s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 805789750427886828
generated error fail pass / total time test name
[✓] 88 0 0 88 / 88 0.0s Hashtbl_with_order sequential
[✓] 88 0 0 88 / 88 13.0s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 1524534230405169028
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.2s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 1701606155313897976
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 13.6s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 2751314518458881110
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[ ] 13 0 0 13 / 64
[✓] 64 0 0 64 / 64 11.6s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 822531831051522056
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 13.8s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 918334890449416181
generated error fail pass / total time test name
[✓] 120 0 0 120 / 120 0.0s Queue sequential
[✓] 120 0 0 120 / 120 13.7s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 338551651829772809
generated error fail pass / total time test name
[✓] 47 0 0 47 / 47 0.0s Queue sequential
[✓] 47 0 0 47 / 47 3.8s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 505063113503692564
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 3.5s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 3788058670850247837
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 1.2s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 3249059085326941743
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 13.6s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 4228578235153554058
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 11.2s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 2593221826100253661
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 13.9s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 1644019565460541314
generated error fail pass / total time test name
[✓] 123 0 0 123 / 123 0.0s Hashtbl sequential
[✓] 123 0 0 123 / 123 11.6s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 2975550611965340647
generated error fail pass / total time test name
[✓] 66 0 0 66 / 66 0.0s Hashtbl sequential
[✓] 66 0 0 66 / 66 9.1s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 1852819625519293560
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 2.4s Hashtbl parallel
================================================================================
success (ran 2 tests)
2024-09-20 07:36.02 ---> saved as "98be96741115a070e9e5186acc9653be3f4f2422ef512b268b86a30ef963037f"
Job succeeded
2024-09-20 07:36.02: Job succeeded