2024-10-18 17:21.30: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/sleeping-barbers-example (2d9eea67a0e305f74798f477980f4101c89ad771) (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 "sleeping-barbers-example" && cd "kcas" && git reset --hard 2d9eea67
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 b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 kcas_data.opam kcas.opam ./
RUN opam pin add -yn kcas_data.dev './' && \
opam pin add -yn kcas.dev './'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-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.7 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-18 17:21.30: Using cache hint "ocaml-multicore/kcas-ocaml/opam:alpine-3.20-ocaml-5.2@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3-alpine-3.20-5.2_opam-2.2-f45f998e12843bce57e3edad46924462"
2024-10-18 17:21.30: 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 b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src kcas_data.opam kcas.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-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.7 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-18 17:21.30: Waiting for resource in pool OCluster
2024-10-18 17:28.08: Waiting for worker…
2024-10-18 17:28.08: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 2d9eea6 Sleeping barbers
(from ocaml/opam:alpine-3.20-ocaml-5.2@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3)
2024-10-18 17:28.13 ---> 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-18 17:28.13 ---> 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-18 17:28.13 ---> 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-18 17:28.13 ---> using "f925a37a0be7ea0e89f9b428a6059c2974a2a2e40dce3df77c9fb2b594ee414b" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-18 17:28.13 ---> 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 b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
75006f8c5e..b8e118d3ef master -> origin/master
b8e118d3ef Merge pull request #26758 from polytypic/release-multicore-bench-0.1.7
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-10-18 17:28.13 ---> using "2b88ba6b513267427d253df7f45a2fbed950ee5db97a0458032638908076f6f8" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-10-18 17:28.13 ---> using "16cae847702a59176a0d7ee5c3fb8dbc44fcebca9c77fe1d3bae2807d0153aa7" 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-10-18 17:28.13 ---> using "4499e0bd84a84eb4587f604cd537c98095f9f36c7a766813dc3c4b121a8733d7" from cache
/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.7 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-179-ga91f588948a [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
- v3.20.3-179-ga91f588948a [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
- v20240923-2214-g88f7343df9d [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20240923-2219-gddb34f4f50f [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20240923-2220-g4b1b6f3cf69 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 55559 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-18 17:28.13 ---> using "31c2d3d3ea64d03f402f50dc824f254dedd466c2a025608e32ac64cdf3aa2716" 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.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.7
- install multicore-magic 2.3.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.9
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install 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 cppo.1.7.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved domain-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.7 (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 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 ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed domain_shims.0.1.0
-> installed backoff.0.1.1
-> installed csexp.1.5.2
-> installed ocaml-version.3.6.9
-> installed stdlib-shims.0.3.0
-> installed camlp-streams.5.0.1
-> installed result.1.5
-> installed psq.0.2.1
-> installed thread-table.1.0.0
-> 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.7
-> 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-18 17:28.13 ---> using "c7817657ef5b49526262f707405902c8e8d1a7c60c2454c2323755f2a5bf971e" from cache
/src: (copy (src .) (dst /src))
2024-10-18 17:28.13 ---> saved as "630a5c162e4d238e68d05dc532934e779f68de7e288ef1d81724cf774c0ee502"
/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 && ./threads.exe)
Testing `Threads'.
This run has ID `M0J9NFPD'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.008s. 1 test run.
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `COPQCKVP'.
[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.058s. 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 `X8LASS2G'.
[OK] basics 0
[OK] capacity 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Stack'.
Test Successful in 0.009s. 2 tests run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `E0IU0J90'.
[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 && ./xt_test.exe)
Testing `Transactions'.
This run has ID `HWMV0L0M'.
[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 && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `0FBD4VGF'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.007s. 1 test run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `CZ8CQG38'.
[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.037s. 4 tests run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `M6UEA8Q0'.
[OK] basics 0
[OK] capacity 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Queue'.
Test Successful in 0.028s. 2 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `UEFKUC16'.
[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.992s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
29.88 M/s
ops over time/get:
190.75 M/s
ops over time/incr:
40.50 M/s
ops over time/push & pop:
17.94 M/s
ops over time/swap:
54.82 M/s
ops over time/xchg int:
59.09 M/s
time per op/cas int:
33.46 ns
time per op/get:
5.24 ns
time per op/incr:
24.69 ns
time per op/push & pop:
55.76 ns
time per op/swap:
18.24 ns
time per op/xchg int:
16.92 ns
Kcas Xt:
time per transaction/0 loc tx:
14.95 ns
time per transaction/1 loc tx:
45.12 ns
time per transaction/2 loc tx:
135.11 ns
time per transaction/4 loc tx:
264.15 ns
time per transaction/8 loc tx:
467.36 ns
transactions over time/0 loc tx:
66.87 M/s
transactions over time/1 loc tx:
22.17 M/s
transactions over time/2 loc tx:
7.40 M/s
transactions over time/4 loc tx:
3.79 M/s
transactions over time/8 loc tx:
2.14 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
19.69 ns
time per transaction/1 loc tx:
82.37 ns
time per transaction/2 loc tx:
131.41 ns
time per transaction/4 loc tx:
220.29 ns
time per transaction/8 loc tx:
286.47 ns
transactions over time/0 loc tx:
50.80 M/s
transactions over time/1 loc tx:
12.14 M/s
transactions over time/2 loc tx:
7.61 M/s
transactions over time/4 loc tx:
4.54 M/s
transactions over time/8 loc tx:
3.49 M/s
Kcas parallel CMP:
time per transaction/1 worker:
97.74 ns
time per transaction/2 workers:
167.61 ns
time per transaction/4 workers:
815.64 ns
transactions over time/1 worker:
10.23 M/s
transactions over time/2 workers:
11.93 M/s
transactions over time/4 workers:
4.90 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
27.12 M/s
operations over time/2 workers, 0% reads:
43.52 M/s
operations over time/4 workers, 0% reads:
66.30 M/s
time per operation/1 worker, 0% reads:
36.87 ns
time per operation/2 workers, 0% reads:
45.96 ns
time per operation/4 workers, 0% reads:
60.33 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
0.95 M/s
messages over time/1 nb adder, 2 nb takers:
0.68 M/s
messages over time/2 nb adders, 1 nb taker:
0.68 M/s
messages over time/2 nb adders, 2 nb takers:
0.62 M/s
messages over time/one domain:
1.00 M/s
time per message/1 nb adder, 1 nb taker:
2095.75 ns
time per message/1 nb adder, 2 nb takers:
4412.34 ns
time per message/2 nb adders, 1 nb taker:
4425.04 ns
time per message/2 nb adders, 2 nb takers:
6477.95 ns
time per message/one domain:
1001.04 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
2.24 M/s
operations over time/1 worker, 50% reads:
2.61 M/s
operations over time/1 worker, 90% reads:
3.79 M/s
operations over time/2 workers, 10% reads:
4.19 M/s
operations over time/2 workers, 50% reads:
3.89 M/s
operations over time/2 workers, 90% reads:
18.85 M/s
operations over time/4 workers, 10% reads:
2.67 M/s
operations over time/4 workers, 50% reads:
3.77 M/s
operations over time/4 workers, 90% reads:
8.84 M/s
time per operation/1 worker, 10% reads:
447.34 ns
time per operation/1 worker, 50% reads:
383.67 ns
time per operation/1 worker, 90% reads:
263.55 ns
time per operation/2 workers, 10% reads:
477.51 ns
time per operation/2 workers, 50% reads:
513.49 ns
time per operation/2 workers, 90% reads:
106.13 ns
time per operation/4 workers, 10% reads:
1496.20 ns
time per operation/4 workers, 50% reads:
1061.07 ns
time per operation/4 workers, 90% reads:
452.34 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.70 M/s
messages over time/1 adder, 1 taker:
0.57 M/s
messages over time/1 adder, 2 nb takers:
5.17 M/s
messages over time/1 adder, 2 takers:
0.54 M/s
messages over time/1 nb adder, 1 nb taker:
0.96 M/s
messages over time/1 nb adder, 1 taker:
0.82 M/s
messages over time/1 nb adder, 2 nb takers:
1.62 M/s
messages over time/1 nb adder, 2 takers:
1.21 M/s
messages over time/2 adders, 1 nb taker:
3.09 M/s
messages over time/2 adders, 1 taker:
0.53 M/s
messages over time/2 adders, 2 nb takers:
1.12 M/s
messages over time/2 adders, 2 takers:
2.29 M/s
messages over time/2 nb adders, 1 nb taker:
4.37 M/s
messages over time/2 nb adders, 1 taker:
0.81 M/s
messages over time/2 nb adders, 2 nb takers:
0.93 M/s
messages over time/2 nb adders, 2 takers:
0.60 M/s
time per message/1 adder, 1 nb taker:
2877.07 ns
time per message/1 adder, 1 taker:
3509.76 ns
time per message/1 adder, 2 nb takers:
580.27 ns
time per message/1 adder, 2 takers:
5574.35 ns
time per message/1 nb adder, 1 nb taker:
2075.42 ns
time per message/1 nb adder, 1 taker:
2439.92 ns
time per message/1 nb adder, 2 nb takers:
1856.07 ns
time per message/1 nb adder, 2 takers:
2483.35 ns
time per message/2 adders, 1 nb taker:
970.26 ns
time per message/2 adders, 1 taker:
5642.74 ns
time per message/2 adders, 2 nb takers:
3576.44 ns
time per message/2 adders, 2 takers:
1749.05 ns
time per message/2 nb adders, 1 nb taker:
685.84 ns
time per message/2 nb adders, 1 taker:
3721.55 ns
time per message/2 nb adders, 2 nb takers:
4311.57 ns
time per message/2 nb adders, 2 takers:
6654.41 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
6.55 M/s
messages over time/1 nb adder, 1 taker:
8.02 M/s
messages over time/1 nb adder, 2 nb takers:
4.70 M/s
messages over time/1 nb adder, 2 takers:
3.58 M/s
messages over time/2 nb adders, 1 nb taker:
3.72 M/s
messages over time/2 nb adders, 1 taker:
4.53 M/s
messages over time/2 nb adders, 2 nb takers:
2.18 M/s
messages over time/2 nb adders, 2 takers:
3.36 M/s
messages over time/one domain:
9.67 M/s
time per message/1 nb adder, 1 nb taker:
305.20 ns
time per message/1 nb adder, 1 taker:
249.26 ns
time per message/1 nb adder, 2 nb takers:
637.81 ns
time per message/1 nb adder, 2 takers:
838.28 ns
time per message/2 nb adders, 1 nb taker:
806.75 ns
time per message/2 nb adders, 1 taker:
662.72 ns
time per message/2 nb adders, 2 nb takers:
1833.43 ns
time per message/2 nb adders, 2 takers:
1192.04 ns
time per message/one domain:
103.40 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
8.76 M/s
messages over time/1 nb adder, 1 taker:
3.33 M/s
messages over time/1 nb adder, 2 nb takers:
4.38 M/s
messages over time/1 nb adder, 2 takers:
4.53 M/s
messages over time/2 nb adders, 1 nb taker:
3.86 M/s
messages over time/2 nb adders, 1 taker:
4.27 M/s
messages over time/2 nb adders, 2 nb takers:
3.83 M/s
messages over time/2 nb adders, 2 takers:
4.87 M/s
messages over time/one domain:
7.88 M/s
time per message/1 nb adder, 1 nb taker:
228.39 ns
time per message/1 nb adder, 1 taker:
601.47 ns
time per message/1 nb adder, 2 nb takers:
684.97 ns
time per message/1 nb adder, 2 takers:
661.64 ns
time per message/2 nb adders, 1 nb taker:
777.59 ns
time per message/2 nb adders, 1 taker:
702.59 ns
time per message/2 nb adders, 2 nb takers:
1043.22 ns
time per message/2 nb adders, 2 takers:
820.98 ns
time per message/one domain:
126.94 ns
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 4210878438981714165
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 9.3s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 2926145635528986553
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 12.4s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 1648396923877863457
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 20.0s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 3226897441460457768
generated error fail pass / total time test name
[✓] 98 0 0 98 / 98 0.0s Dllist sequential
[✓] 98 0 0 98 / 98 15.2s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 4456290856135677810
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 3.3s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 3608717256878584166
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 8.7s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 4060325170117013808
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 13.9s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 198897955283802111
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 20.5s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 1650430865761307005
generated error fail pass / total time test name
[✓] 87 0 0 87 / 87 0.0s Hashtbl_with_order sequential
[✓] 87 0 0 87 / 87 13.7s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 2903635826983597974
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 3.8s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 1182589614811305193
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 8.5s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 1302106978047251701
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 12.3s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 2641662679041931783
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 19.1s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 4097037312128377269
generated error fail pass / total time test name
[✓] 112 0 0 112 / 112 0.0s Stack sequential
[✓] 112 0 0 112 / 112 15.9s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 1659026126090986625
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 3.4s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 3294882700070390297
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 2.4s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 324282601043143317
generated error fail pass / total time test name
[✓
m] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 8.5s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 3487969541509080094
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 13.0s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 128249994594877854
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 19.3s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 4460951170263437468
generated error fail pass / total time test name
[✓] 105 0 0 105 / 105 0.0s Queue sequential
[✓] 105 0 0 105 / 105 14.9s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 4386466417926904431
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: 3709637149913893280
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 2.3s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 612441965401214512
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 8.3s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 3791416844990708303
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 13.3s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 3543026876715719684
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 19.5s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 3235043649046402277
generated error fail pass / total time test name
[✓] 103 0 0 103 / 103 0.0s Hashtbl sequential
[✓] 103 0 0 103 / 103 15.4s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 750663680462232229
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 3.2s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 359133774202573011
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 2.1s Hashtbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 3304243817114666128
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 7.7s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 990908348007500744
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: 1845594326344162469
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 19.2s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 2528672142453141135
generated error fail pass / total time test name
[✓] 116 0 0 116 / 116 0.0s Accumulator sequential
[✓] 116 0 0 116 / 116 16.7s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 2958244687345605347
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 3.4s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 2527738982105977608
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 2.4s Accumulator parallel
================================================================================
success (ran 2 tests)
2024-10-18 17:29.19 ---> saved as "5e500b47bff87f37d01167aec8745158c9633dd4f36d030607e77d2b32425a81"
Job succeeded
2024-10-18 17:29.20: Job succeeded