2024-08-28 13:38.24: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/main (1747c2411179365347e86eb7d974923b6a727e96) (linux-x86_64:alpine-3.20-5.2_opam-2.2)
Base: ocaml/opam:alpine-3.20-ocaml-5.2@sha256:7e1ff627c9463d11c6c8cb5cd9e605e0469d5c782ffd9fa0bc54d598262b1edd
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "main" && cd "kcas" && git reset --hard 1747c241
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.20-ocaml-5.2@sha256:7e1ff627c9463d11c6c8cb5cd9e605e0469d5c782ffd9fa0bc54d598262b1edd
# 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 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && 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.6.9 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.0.0 multicore-bench.0.1.4 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 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-08-28 13:38.24: Using cache hint "ocaml-multicore/kcas-ocaml/opam:alpine-3.20-ocaml-5.2@sha256:7e1ff627c9463d11c6c8cb5cd9e605e0469d5c782ffd9fa0bc54d598262b1edd-alpine-3.20-5.2_opam-2.2-a211d66f7f0e1e12c7244f8542140424"
2024-08-28 13:38.24: Using OBuilder spec:
((from ocaml/opam:alpine-3.20-ocaml-5.2@sha256:7e1ff627c9463d11c6c8cb5cd9e605e0469d5c782ffd9fa0bc54d598262b1edd)
(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 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && 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.6.9 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.0.0 multicore-bench.0.1.4 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 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-08-28 13:38.24: Waiting for resource in pool OCluster
2024-08-28 23:01.06: Waiting for worker…
2024-08-28 23:02.13: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 1747c24 Upgrade ocamlformat to 0.26.2
(from ocaml/opam:alpine-3.20-ocaml-5.2@sha256:7e1ff627c9463d11c6c8cb5cd9e605e0469d5c782ffd9fa0bc54d598262b1edd)
2024-08-28 23:02.14 ---> using "f91c4207485e9bc221333a0708729e42c83c784e9f1d26a677abe99bfadb57ee" 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-08-28 23:02.14 ---> using "70cf9e6f892a5da9ae0318828075a4de0a73c3288e1773e4b4512a3d4f5f8a7e" 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-08-28 23:02.14 ---> using "b11f81c60531f20ab2cc375bcca0ff2e882e9305d8da1c5d29e6a0cfa9ea1487" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 5.2.0
2.2.0
2024-08-28 23:02.14 ---> using "46ddb2c7faf6447f4dcd2c3dba89789a07724b392cffb54db543c2823a686961" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-08-28 23:02.14 ---> using "160bed035beab9da9b8c79ac62b37d826e4ef2f8ecb0312ddee24850d7a5b86c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
7c4ff52ef3..2beff567ef master -> origin/master
2c6ced5ce1 Merge pull request #26448 from avsm/upper-mdx
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
The following actions will be performed:
=== upgrade 1 package
- upgrade opam-depext 1.2.1-1 to 1.2.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3 (cached)
-> removed opam-depext.1.2.1-1
-> installed opam-depext.1.2.3
Done.
<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-08-28 23:02.14 ---> using "90d27e037f88338d18760d2574149bd21b603e99b3c4c45e8922167096e2cf74" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-08-28 23:02.14 ---> using "8eb060b43b28f920567414139874e72ef8cfa912d82b5736c45ec34fb89c316b" 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-08-28 23:02.14 ---> using "bae954cb5c116dea0ec34c7c05d2551753b52e03488ac5b2247911b2fff04da2" 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.6.9 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.0.0 multicore-bench.0.1.4 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 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
+ /usr/bin/sudo "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.2-181-gc105d1f586d [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
- v3.20.2-184-g64eba4bc809 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
- v20240807-1027-gc8a9e395dc9 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20240807-1095-g516d037eb4f [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20240807-1093-g57fbec1248b [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 54862 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-08-28 23:02.14 ---> using "fc7b5ef02b690a7b2889bb6d0c7b3f1f019bcdcd4481d6b0a5d6455e63b6746f" 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 33 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install backoff 0.1.0
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cppo 1.6.9
- install csexp 1.5.2
- install domain-local-await 1.0.1
- install domain-local-timeout 1.0.1
- install domain_shims 0.1.0
- install dune 3.16.0
- install fmt 0.9.0
- install logs 0.7.0
- install mdx 2.4.1
- install mtime 2.0.0
- install multicore-bench 0.1.4
- install multicore-magic 2.3.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.8
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install psq 0.2.1
- install qcheck-core 0.22
- install qcheck-multicoretests-util 0.3
- install qcheck-stm 0.3
- install re 1.11.0
- install result 1.5
- install seq base
- install stdlib-shims 0.3.0
- install thread-table 1.0.0
- install topkg 1.0.7
- install uutf 1.0.3
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cppo.1.6.9 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved alcotest.1.8.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 mdx.2.4.1 (cached)
-> retrieved mtime.2.0.0 (cached)
-> retrieved multicore-bench.0.1.4 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.8 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved domain-local-timeout.1.0.1 (https://github.com/ocaml-multicore/domain-local-timeout/releases/download/1.0.1/domain-local-timeout-1.0.1.tbz)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved qcheck-multicoretests-util.0.3, qcheck-stm.0.3 (cached)
-> retrieved re.1.11.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved dune.3.16.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (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.0.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 ocaml-version.3.6.8
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed camlp-streams.5.0.1
-> installed multicore-magic.2.3.0
-> installed psq.0.2.1
-> installed domain-local-await.1.0.1
-> installed domain-local-timeout.1.0.1
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed ocaml-syntax-shims.1.0.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.3
-> installed alcotest.1.8.0
-> installed multicore-bench.0.1.4
-> installed qcheck-stm.0.3
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-08-28 23:02.14 ---> using "81dd6dabd53cac6af3503536044faf3a12fe696fa625d43eccfcf479017184b6" from cache
/src: (copy (src .) (dst /src))
2024-08-28 23:02.14 ---> saved as "2f8d1c4a75d834266a6814030059be1391a0d89cde9b3547ba4cdd69f9f17152"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/kcas && ./loc_modes.exe)
Loc modes OK!
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas && ./threads.exe)
Testing `Threads'.
This run has ID `OH2DPZ0L'.
[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 && ./stack_test.exe)
Testing `Stack'.
This run has ID `TIZXIP99'.
[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_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `LHIR3QMT'.
[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 `7HEK9DOE'.
[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 && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `ZLFCWHCO'.
[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.011s. 2 tests run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `W4RYPXQV'.
[OK] basics 0
[OK] add 0
[OK] move 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Dllist'.
Test Successful in 0.000s. 3 tests run.
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `Z0CL9Y6X'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.002s. 1 test run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `AY4K4HYL'.
[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.018s. 4 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `GUH711U3'.
[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 2.246s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
4.04 ns
ops over time/get:
247.72 M/s
time per op/incr:
13.53 ns
ops over time/incr:
73.89 M/s
time per op/push & pop:
15.53 ns
ops over time/push & pop:
64.41 M/s
time per op/cas int:
11.30 ns
ops over time/cas int:
88.48 M/s
time per op/xchg int:
11.35 ns
ops over time/xchg int:
88.09 M/s
time per op/swap:
17.47 ns
ops over time/swap:
57.26 M/s
Kcas Xt:
time per transaction/0 loc tx:
9.57 ns
transactions over time/0 loc tx:
104.50 M/s
time per transaction/1 loc tx:
39.32 ns
transactions over time/1 loc tx:
25.43 M/s
time per transaction/2 loc tx:
93.15 ns
transactions over time/2 loc tx:
10.73 M/s
time per transaction/4 loc tx:
161.15 ns
transactions over time/4 loc tx:
6.21 M/s
time per transaction/8 loc tx:
335.77 ns
transactions over time/8 loc tx:
2.98 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
11.96 ns
transactions over time/0 loc tx:
83.60 M/s
time per transaction/1 loc tx:
24.83 ns
transactions over time/1 loc tx:
40.27 M/s
time per transaction/2 loc tx:
50.53 ns
transactions over time/2 loc tx:
19.79 M/s
time per transaction/4 loc tx:
121.12 ns
transactions over time/4 loc tx:
8.26 M/s
time per transaction/8 loc tx:
147.67 ns
transactions over time/8 loc tx:
6.77 M/s
Kcas parallel CMP:
time per transaction/1 worker:
119.36 ns
transactions over time/1 worker:
8.38 M/s
time per transaction/2 workers:
94.94 ns
transactions over time/2 workers:
21.06 M/s
time per transaction/4 workers:
98.35 ns
transactions over time/4 workers:
40.67 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
31.81 ns
operations over time/1 worker, 0% reads:
31.43 M/s
time per operation/2 workers, 0% reads:
28.09 ns
operations over time/2 workers, 0% reads:
71.21 M/s
time per operation/4 workers, 0% reads:
28.33 ns
operations over time/4 workers, 0% reads:
141.18 M/s
Kcas_data Dllist:
time per message/one domain:
604.65 ns
messages over time/one domain:
1.65 M/s
time per message/1 nb adder, 1 nb taker:
647.90 ns
messages over time/1 nb adder, 1 nb taker:
3.09 M/s
time per message/1 nb adder, 2 nb takers:
2949.51 ns
messages over time/1 nb adder, 2 nb takers:
1.02 M/s
time per message/2 nb adders, 1 nb taker:
3152.80 ns
messages over time/2 nb adders, 1 nb taker:
0.95 M/s
time per message/2 nb adders, 2 nb takers:
3426.18 ns
messages over time/2 nb adders, 2 nb takers:
1.17 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
83.62 ns
operations over time/1 worker, 90% reads:
11.96 M/s
time per operation/2 workers, 90% reads:
189.60 ns
operations over time/2 workers, 90% reads:
10.55 M/s
time per operation/4 workers, 90% reads:
189.86 ns
operations over time/4 workers, 90% reads:
21.07 M/s
time per operation/1 worker, 50% reads:
206.57 ns
operations over time/1 worker, 50% reads:
4.84 M/s
time per operation/2 workers, 50% reads:
290.60 ns
operations over time/2 workers, 50% reads:
6.88 M/s
time per operation/4 workers, 50% reads:
348.23 ns
operations over time/4 workers, 50% reads:
11.49 M/s
time per operation/1 worker, 10% reads:
187.85 ns
operations over time/1 worker, 10% reads:
5.32 M/s
time per operation/2 workers, 10% reads:
334.69 ns
operations over time/2 workers, 10% reads:
5.98 M/s
time per operation/4 workers, 10% reads:
390.36 ns
operations over time/4 workers, 10% reads:
10.25 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
1834.69 ns
messages over time/1 nb adder, 1 nb taker:
1.09 M/s
time per message/1 nb adder, 1 taker:
2706.76 ns
messages over time/1 nb adder, 1 taker:
0.74 M/s
time per message/1 nb adder, 2 nb takers:
4511.11 ns
messages over time/1 nb adder, 2 nb takers:
0.67 M/s
time per message/1 nb adder, 2 takers:
4908.11 ns
messages over time/1 nb adder, 2 takers:
0.61 M/s
time per message/1 adder, 1 nb taker:
3013.61 ns
messages over time/1 adder, 1 nb taker:
0.66 M/s
time per message/1 adder, 1 taker:
1055.68 ns
messages over time/1 adder, 1 taker:
1.89 M/s
time per message/1 adder, 2 nb takers:
8041.71 ns
messages over time/1 adder, 2 nb takers:
0.37 M/s
time per message/1 adder, 2 takers:
8269.94 ns
messages over time/1 adder, 2 takers:
0.36 M/s
time per message/2 nb adders, 1 nb taker:
5475.64 ns
messages over time/2 nb adders, 1 nb taker:
0.55 M/s
time per message/2 nb adders, 1 taker:
4823.10 ns
messages over time/2 nb adders, 1 taker:
0.62 M/s
time per message/2 nb adders, 2 nb takers:
3469.81 ns
messages over time/2 nb adders, 2 nb takers:
1.15 M/s
time per message/2 nb adders, 2 takers:
5149.89 ns
messages over time/2 nb adders, 2 takers:
0.78 M/s
time per message/2 adders, 1 nb taker:
5675.48 ns
messages over time/2 adders, 1 nb taker:
0.53 M/s
time per message/2 adders, 1 taker:
7557.94 ns
messages over time/2 adders, 1 taker:
0.40 M/s
time per message/2 adders, 2 nb takers:
4404.85 ns
messages over time/2 adders, 2 nb takers:
0.91 M/s
time per message/2 adders, 2 takers:
6341.42 ns
messages over time/2 adders, 2 takers:
0.63 M/s
Kcas_data Queue:
time per message/one domain:
72.58 ns
messages over time/one domain:
13.78 M/s
time per message/1 nb adder, 1 nb taker:
427.80 ns
messages over time/1 nb adder, 1 nb taker:
4.68 M/s
time per message/1 nb adder, 1 taker:
465.06 ns
messages over time/1 nb adder, 1 taker:
4.30 M/s
time per message/1 nb adder, 2 nb takers:
546.89 ns
messages over time/1 nb adder, 2 nb takers:
5.49 M/s
time per message/1 nb adder, 2 takers:
613.94 ns
messages over time/1 nb adder, 2 takers:
4.89 M/s
time per message/2 nb adders, 1 nb taker:
604.90 ns
messages over time/2 nb adders, 1 nb taker:
4.96 M/s
time per message/2 nb adders, 1 taker:
536.70 ns
messages over time/2 nb adders, 1 taker:
5.59 M/s
time per message/2 nb adders, 2 nb takers:
777.96 ns
messages over time/2 nb adders, 2 nb takers:
5.14 M/s
time per message/2 nb adders, 2 takers:
863.34 ns
messages over time/2 nb adders, 2 takers:
4.63 M/s
Kcas_data Stack:
time per message/one domain:
66.35 ns
messages over time/one domain:
15.07 M/s
time per message/1 nb adder, 1 nb taker:
256.90 ns
messages over time/1 nb adder, 1 nb taker:
7.79 M/s
time per message/1 nb adder, 1 taker:
264.57 ns
messages over time/1 nb adder, 1 taker:
7.56 M/s
time per message/1 nb adder, 2 nb takers:
450.64 ns
messages over time/1 nb adder, 2 nb takers:
6.66 M/s
time per message/1 nb adder, 2 takers:
408.28 ns
messages over time/1 nb adder, 2 takers:
7.35 M/s
time per message/2 nb adders, 1 nb taker:
403.73 ns
messages over time/2 nb adders, 1 nb taker:
7.43 M/s
time per message/2 nb adders, 1 taker:
314.88 ns
messages over time/2 nb adders, 1 taker:
9.53 M/s
time per message/2 nb adders, 2 nb takers:
525.46 ns
messages over time/2 nb adders, 2 nb takers:
7.61 M/s
time per message/2 nb adders, 2 takers:
511.32 ns
messages over time/2 nb adders, 2 takers:
7.82 M/s
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 213837654
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.1s Stack sequential
[✓] 1000 0 0 1000 / 1000 43.5s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 142249206
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.1s Accumulator sequential
[✓] 1000 0 0 1000 / 1000 43.8s Accumulator parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 319796292
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.1s Queue sequential
[✓] 1000 0 0 1000 / 1000 44.1s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 13875479
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.2s Hashtbl sequential
[ ] 436 0 0 436 / 1000
[✓] 1000 0 0 1000 / 1000 44.7s Hashtbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 348325777
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.2s Dllist sequential
[✓] 1000 0 0 1000 / 1000 46.3s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 122237994
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.3s Hashtbl_with_order sequential
[✓] 1000 0 0 1000 / 1000 51.9s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
2024-08-28 23:03.08 ---> saved as "dd50b6a49c6d6acf27dc7a8e7dab6c82759f200d41c36dd943451de66ef19364"
Job succeeded
2024-08-28 23:03.09: Job succeeded