2024-10-11 07:57.42: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/queue-using-two-stacks (a06fc0994bad0727c536249c78948316afd7d63b) (linux-x86_64:alpine-3.20-5.2_opam-2.2)
Base: ocaml/opam:alpine-3.20-ocaml-5.2@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "queue-using-two-stacks" && cd "kcas" && git reset --hard a06fc099
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.20-ocaml-5.2@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3
# 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 82ebbd52a07bc65404a2443fc4804bd36e534c83 || git fetch origin master) && git reset -q --hard 82ebbd52a07bc65404a2443fc4804bd36e534c83 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 kcas_data.opam kcas.opam ./
RUN opam pin add -yn kcas_data.dev './' && \
opam pin add -yn kcas.dev './'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-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-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.1.0 multicore-bench.0.1.6 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.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-10-11 07:57.42: Using cache hint "ocaml-multicore/kcas-ocaml/opam:alpine-3.20-ocaml-5.2@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3-alpine-3.20-5.2_opam-2.2-4b9874b6a099c4d64a031e5a6fecbf9d"
2024-10-11 07:57.42: Using OBuilder spec:
((from ocaml/opam:alpine-3.20-ocaml-5.2@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3)
(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 82ebbd52a07bc65404a2443fc4804bd36e534c83 || git fetch origin master) && git reset -q --hard 82ebbd52a07bc65404a2443fc4804bd36e534c83 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src kcas_data.opam kcas.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-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-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.1.0 multicore-bench.0.1.6 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.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-10-11 07:57.42: Waiting for resource in pool OCluster
2024-10-11 07:57.42: Waiting for worker…
2024-10-11 08:04.41: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at a06fc09 WIP
(from ocaml/opam:alpine-3.20-ocaml-5.2@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3)
2024-10-11 08:04.42 ---> using "9e024342dba2b0577baa3b159e17fee223c31f0c750d40466894a3b6f35c8915" 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-10-11 08:04.42 ---> using "6e7d1d279a66d4da46d1af479ae8c5b5fd9684c3b059a94697cdf6e9e5d7d965" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-11 08:04.42 ---> using "4a6bf24edc5172909fdaa7d432c6b0aa7c6ddad47b26133c17e731338c757617" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-10-11 08:04.42 ---> using "f925a37a0be7ea0e89f9b428a6059c2974a2a2e40dce3df77c9fb2b594ee414b" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-11 08:04.42 ---> using "6b67a6fc075d84b4fcc549d6001bd9c2ccf85fbb529576d8dc60ec7c1bb87be5" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 82ebbd52a07bc65404a2443fc4804bd36e534c83 || git fetch origin master) && git reset -q --hard 82ebbd52a07bc65404a2443fc4804bd36e534c83 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
75006f8c5e..1a07d7f3b0 master -> origin/master
82ebbd52a0 Merge pull request #26721 from polytypic/release-multicore-bench-0.1.6
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-10-11 08:04.42 ---> using "19c34f3577779b47f369d809a080d24537fbbb87dac9bf6e829c83cda9354319" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-10-11 08:04.42 ---> saved as "03f03c72e47b8d75ce03b2da192f34c9213ad6134afaa93e127be143ccbedfa8"
/src: (run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
[kcas_data.dev] synchronised (file:///src)
kcas_data is now pinned to file:///src (version dev)
[kcas.dev] synchronised (file:///src)
kcas is now pinned to file:///src (version dev)
2024-10-11 08:04.48 ---> saved as "3304bcd0ad7fc55d85c3ec9b5c02994a10dd5f59122f312d3edb3240848138c9"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 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-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.1.0 multicore-bench.0.1.6 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.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
+ /usr/bin/sudo "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-159-g093e185483c [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
- v3.20.3-161-g98f49c5c68d [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
- v20240923-1525-gef5aa6fb841 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20240923-1529-gbc6730f3e3d [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20240923-1507-ge0e28efc57d [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 55511 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-10-11 08:05.09 ---> saved as "408897b13ba5438329e4065bb480b883a0b56f952a7e506e901625ad280c6e83"
/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.1
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cppo 1.7.0
- install csexp 1.5.2
- install domain-local-await 1.0.1
- install domain-local-timeout 1.0.1
- install domain_shims 0.1.0
- install dune 3.16.0
- install fmt 0.9.0
- install logs 0.7.0
- install mdx 2.4.1
- install mtime 2.1.0
- install multicore-bench 0.1.6
- install multicore-magic 2.3.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.9
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install psq 0.2.1
- install qcheck-core 0.22
- install qcheck-multicoretests-util 0.4
- install qcheck-stm 0.4
- install re 1.12.0
- install result 1.5
- install seq base
- install stdlib-shims 0.3.0
- install thread-table 1.0.0
- install topkg 1.0.7
- install uutf 1.0.3
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved domain-local-timeout.1.0.1 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved multicore-bench.0.1.6 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.9 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved 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 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.1
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed ocaml-version.3.6.9
-> installed psq.0.2.1
-> installed camlp-streams.5.0.1
-> installed multicore-magic.2.3.0
-> installed domain-local-timeout.1.0.1
-> installed domain-local-await.1.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.7.0
-> installed re.1.12.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.4
-> installed multicore-bench.0.1.6
-> installed qcheck-stm.0.4
-> installed alcotest.1.8.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-11 08:06.11 ---> saved as "080ea22cf2c1b8f8354520a40833285a435d5e67c12f2eec47f0c4533591161e"
/src: (copy (src .) (dst /src))
2024-10-11 08:06.12 ---> saved as "b5d02c05da8ab3508548a4a25e053d3ca845d62b348ac91e9e6a343d1e94bae2"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/kcas && ./threads.exe)
Testing `Threads'.
This run has ID `1MIDRG04'.
[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 && ./loc_modes.exe)
Loc modes OK!
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `MPBHHC7Q'.
[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.110s. 2 tests run.
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `701V607E'.
[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 && ./xt_test.exe)
Testing `Transactions'.
This run has ID `4156Z3CH'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Transactions'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `URB0S8AO'.
[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 && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `6R84X57O'.
[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.020s. 4 tests run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `WGL246GC'.
[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 `8QN1ZHZM'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.014s. 1 test run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `KW92DI23'.
[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 3.191s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
67.41 M/s
ops over time/get:
218.14 M/s
ops over time/incr:
56.97 M/s
ops over time/push & pop:
50.04 M/s
ops over time/swap:
39.82 M/s
ops over time/xchg int:
70.62 M/s
time per op/cas int:
14.84 ns
time per op/get:
4.58 ns
time per op/incr:
17.55 ns
time per op/push & pop:
19.99 ns
time per op/swap:
25.11 ns
time per op/xchg int:
14.16 ns
Kcas Xt:
time per transaction/0 loc tx:
19.77 ns
time per transaction/1 loc tx:
166.77 ns
time per transaction/2 loc tx:
138.86 ns
time per transaction/4 loc tx:
225.20 ns
time per transaction/8 loc tx:
553.51 ns
transactions over time/0 loc tx:
50.58 M/s
transactions over time/1 loc tx:
6.00 M/s
transactions over time/2 loc tx:
7.20 M/s
transactions over time/4 loc tx:
4.44 M/s
transactions over time/8 loc tx:
1.81 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
15.52 ns
time per transaction/1 loc tx:
34.80 ns
time per transaction/2 loc tx:
77.57 ns
time per transaction/4 loc tx:
125.07 ns
time per transaction/8 loc tx:
220.27 ns
transactions over time/0 loc tx:
64.44 M/s
transactions over time/1 loc tx:
28.74 M/s
transactions over time/2 loc tx:
12.89 M/s
transactions over time/4 loc tx:
8.00 M/s
transactions over time/8 loc tx:
4.54 M/s
Kcas parallel CMP:
time per transaction/1 worker:
144.65 ns
time per transaction/2 workers:
120.59 ns
time per transaction/4 workers:
159.70 ns
transactions over time/1 worker:
6.91 M/s
transactions over time/2 workers:
16.58 M/s
transactions over time/4 workers:
25.05 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
32.94 M/s
operations over time/2 workers, 0% reads:
45.14 M/s
operations over time/4 workers, 0% reads:
50.49 M/s
time per operation/1 worker, 0% reads:
30.36 ns
time per operation/2 workers, 0% reads:
44.31 ns
time per operation/4 workers, 0% reads:
79.22 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
1.62 M/s
messages over time/1 nb adder, 2 nb takers:
1.24 M/s
messages over time/2 nb adders, 1 nb taker:
1.50 M/s
messages over time/2 nb adders, 2 nb takers:
0.78 M/s
messages over time/one domain:
1.87 M/s
time per message/1 nb adder, 1 nb taker:
1237.86 ns
time per message/1 nb adder, 2 nb takers:
2412.55 ns
time per message/2 nb adders, 1 nb taker:
1996.78 ns
time per message/2 nb adders, 2 nb takers:
5120.17 ns
time per message/one domain:
535.75 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
3.41 M/s
operations over time/1 worker, 50% reads:
4.06 M/s
operations over time/1 worker, 90% reads:
10.50 M/s
operations over time/2 workers, 10% reads:
5.20 M/s
operations over time/2 workers, 50% reads:
7.60 M/s
operations over time/2 workers, 90% reads:
13.34 M/s
operations over time/4 workers, 10% reads:
8.46 M/s
operations over time/4 workers, 50% reads:
11.66 M/s
operations over time/4 workers, 90% reads:
20.09 M/s
time per operation/1 worker, 10% reads:
293.58 ns
time per operation/1 worker, 50% reads:
246.20 ns
time per operation/1 worker, 90% reads:
95.23 ns
time per operation/2 workers, 10% reads:
384.73 ns
time per operation/2 workers, 50% reads:
263.04 ns
time per operation/2 workers, 90% reads:
149.91 ns
time per operation/4 workers, 10% reads:
472.76 ns
time per operation/4 workers, 50% reads:
343.19 ns
time per operation/4 workers, 90% reads:
199.12 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.79 M/s
messages over time/1 adder, 1 taker:
0.63 M/s
messages over time/1 adder, 2 nb takers:
0.65 M/s
messages over time/1 adder, 2 takers:
0.57 M/s
messages over time/1 nb adder, 1 nb taker:
3.82 M/s
messages over time/1 nb adder, 1 taker:
0.51 M/s
messages over time/1 nb adder, 2 nb takers:
0.96 M/s
messages over time/1 nb adder, 2 takers:
1.12 M/s
messages over time/2 adders, 1 nb taker:
0.67 M/s
messages over time/2 adders, 1 taker:
1.02 M/s
messages over time/2 adders, 2 nb takers:
1.28 M/s
messages over time/2 adders, 2 takers:
0.60 M/s
messages over time/2 nb adders, 1 nb taker:
1.14 M/s
messages over time/2 nb adders, 1 taker:
4.65 M/s
messages over time/2 nb adders, 2 nb takers:
0.91 M/s
messages over time/2 nb adders, 2 takers:
0.64 M/s
time per message/1 adder, 1 nb taker:
2522.25 ns
time per message/1 adder, 1 taker:
3156.04 ns
time per message/1 adder, 2 nb takers:
4598.15 ns
time per message/1 adder, 2 takers:
5291.17 ns
time per message/1 nb adder, 1 nb taker:
523.19 ns
time per message/1 nb adder, 1 taker:
3897.89 ns
time per message/1 nb adder, 2 nb takers:
3120.56 ns
time per message/1 nb adder, 2 takers:
2682.81 ns
time per message/2 adders, 1 nb taker:
4458.32 ns
time per message/2 adders, 1 taker:
2928.11 ns
time per message/2 adders, 2 nb takers:
3133.65 ns
time per message/2 adders, 2 takers:
6671.30 ns
time per message/2 nb adders, 1 nb taker:
2632.04 ns
time per message/2 nb adders, 1 taker:
645.51 ns
time per message/2 nb adders, 2 nb takers:
4405.42 ns
time per message/2 nb adders, 2 takers:
6242.60 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
6.28 M/s
messages over time/1 nb adder, 1 taker:
6.56 M/s
messages over time/1 nb adder, 2 nb takers:
5.08 M/s
messages over time/1 nb adder, 2 takers:
3.85 M/s
messages over time/2 nb adders, 1 nb taker:
9.69 M/s
messages over time/2 nb adders, 1 taker:
6.09 M/s
messages over time/2 nb adders, 2 nb takers:
4.11 M/s
messages over time/2 nb adders, 2 takers:
4.60 M/s
messages over time/one domain:
12.78 M/s
time per message/1 nb adder, 1 nb taker:
318.32 ns
time per message/1 nb adder, 1 taker:
305.04 ns
time per message/1 nb adder, 2 nb takers:
591.11 ns
time per message/1 nb adder, 2 takers:
778.96 ns
time per message/2 nb adders, 1 nb taker:
309.63 ns
time per message/2 nb adders, 1 taker:
492.54 ns
time per message/2 nb adders, 2 nb takers:
973.74 ns
time per message/2 nb adders, 2 takers:
868.70 ns
time per message/one domain:
78.26 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
8.46 M/s
messages over time/1 nb adder, 1 taker:
11.91 M/s
messages over time/1 nb adder, 2 nb takers:
5.57 M/s
messages over time/1 nb adder, 2 takers:
5.95 M/s
messages over time/2 nb adders, 1 nb taker:
1.79 M/s
messages over time/2 nb adders, 1 taker:
7.35 M/s
messages over time/2 nb adders, 2 nb takers:
4.57 M/s
messages over time/2 nb adders, 2 takers:
4.69 M/s
messages over time/one domain:
11.73 M/s
time per message/1 nb adder, 1 nb taker:
236.53 ns
time per message/1 nb adder, 1 taker:
167.93 ns
time per message/1 nb adder, 2 nb takers:
538.97 ns
time per message/1 nb adder, 2 takers:
504.47 ns
time per message/2 nb adders, 1 nb taker:
1679.70 ns
time per message/2 nb adders, 1 taker:
408.27 ns
time per message/2 nb adders, 2 nb takers:
875.91 ns
time per message/2 nb adders, 2 takers:
852.75 ns
time per message/one domain:
85.24 ns
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 204325282
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Dllist sequential
[✓] 1000 0 0 1000 / 1000 130.1s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 91966654
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Queue sequential
[ ] 506
[✓] 1000 0 0 1000 / 1000 130.9s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 120636233
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Stack sequential
[✓] 1000 0 0 1000 / 1000 139.6s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 335303293
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Accumulator sequential
[ ] 647 0 0 647 / 1000 111.6s Accumulator paral
[✓] 1000 0 0 1000 / 1000 140.5s Accumulator parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 70666453
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Hashtbl sequential
[✓] 1000 0 0 1000 / 1000 142.3s Hashtbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 123177600
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Hashtbl_with_order sequential
[ ] 724 0
[✓] 1000 0 0 1000 / 1000 146.3s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
2024-10-11 08:08.41 ---> saved as "be43f297e13f6047bddd9a389a91a8cc4298ca7e3301ccd0aefe872011ef0894"
Job succeeded
2024-10-11 08:08.43: Job succeeded