2024-10-18 17:21.14: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/add-xt-leftist-heap-benchmark (609c614dc8b898e02df72fb1a791d20aeaeb6c48) (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 "add-xt-leftist-heap-benchmark" && cd "kcas" && git reset --hard 609c614d
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.14: 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.14: 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.14: Waiting for resource in pool OCluster
2024-10-18 17:23.44: Waiting for worker…
2024-10-18 17:23.44: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 609c614 Add a transaction benchmark using a naïve unscalable leftist heap
(from ocaml/opam:alpine-3.20-ocaml-5.2@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3)
2024-10-18 17:23.47 ---> 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:23.47 ---> 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:23.47 ---> 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:23.47 ---> using "f925a37a0be7ea0e89f9b428a6059c2974a2a2e40dce3df77c9fb2b594ee414b" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-18 17:23.47 ---> 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:25.01 ---> saved as "2b88ba6b513267427d253df7f45a2fbed950ee5db97a0458032638908076f6f8"
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-10-18 17:25.01 ---> saved as "16cae847702a59176a0d7ee5c3fb8dbc44fcebca9c77fe1d3bae2807d0153aa7"
/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:25.06 ---> saved as "4499e0bd84a84eb4587f604cd537c98095f9f36c7a766813dc3c4b121a8733d7"
/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:25.23 ---> saved as "31c2d3d3ea64d03f402f50dc824f254dedd466c2a025608e32ac64cdf3aa2716"
/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:26.21 ---> saved as "c7817657ef5b49526262f707405902c8e8d1a7c60c2454c2323755f2a5bf971e"
/src: (copy (src .) (dst /src))
2024-10-18 17:26.22 ---> saved as "3cfca518fc28d0db815f92c6fddf4e6c1e950ce48debc3b4b326f8959242055b"
/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 `3AOR7DDO'.
[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 && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `WLB2ACIM'.
[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.050s. 2 tests run.
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `0HXBHGTU'.
[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 `85PGXYP8'.
[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 `O3DJZGOU'.
[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 && ./stack_test.exe)
Testing `Stack'.
This run has ID `X56HAAJC'.
[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 && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `68D1NJ5M'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.004s. 1 test run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `LBKYRLS3'.
[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.039s. 4 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `HC31D60K'.
[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.238s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
38.78 M/s
ops over time/get:
210.88 M/s
ops over time/incr:
48.71 M/s
ops over time/push & pop:
35.12 M/s
ops over time/swap:
33.32 M/s
ops over time/xchg int:
53.74 M/s
time per op/cas int:
25.79 ns
time per op/get:
4.74 ns
time per op/incr:
20.53 ns
time per op/push & pop:
28.47 ns
time per op/swap:
30.01 ns
time per op/xchg int:
18.61 ns
Kcas Xt:
time per transaction/0 loc tx:
14.41 ns
time per transaction/1 loc tx:
62.60 ns
time per transaction/2 loc tx:
132.79 ns
time per transaction/4 loc tx:
364.32 ns
time per transaction/8 loc tx:
404.19 ns
transactions over time/0 loc tx:
69.40 M/s
transactions over time/1 loc tx:
15.97 M/s
transactions over time/2 loc tx:
7.53 M/s
transactions over time/4 loc tx:
2.74 M/s
transactions over time/8 loc tx:
2.47 M/s
Kcas Xt Leftist_heap (unscalable):
operations over time/1 worker, 1000 preload:
0.13 M/s
operations over time/1 worker, 100 preload:
0.45 M/s
operations over time/1 worker, 10 preload:
1.25 M/s
operations over time/2 workers, 1000 preload:
0.14 M/s
operations over time/2 workers, 100 preload:
0.57 M/s
operations over time/2 workers, 10 preload:
0.59 M/s
operations over time/4 workers, 1000 preload:
0.10 M/s
operations over time/4 workers, 100 preload:
0.34 M/s
operations over time/4 workers, 10 preload:
0.35 M/s
time per operation/1 worker, 1000 preload:
7656.37 ns
time per operation/1 worker, 100 preload:
2212.67 ns
time per operation/1 worker, 10 preload:
801.70 ns
time per operation/2 workers, 1000 preload:
13803.15 ns
time per operation/2 workers, 100 preload:
3516.40 ns
time per operation/2 workers, 10 preload:
3394.32 ns
time per operation/4 workers, 1000 preload:
39328.83 ns
time per operation/4 workers, 100 preload:
11775.85 ns
time per operation/4 workers, 10 preload:
11488.70 ns
Kcas Xt read-only:
time per transaction/0 loc tx:
15.15 ns
time per transaction/1 loc tx:
32.62 ns
time per transaction/2 loc tx:
81.96 ns
time per transaction/4 loc tx:
118.67 ns
time per transaction/8 loc tx:
241.33 ns
transactions over time/0 loc tx:
66.02 M/s
transactions over time/1 loc tx:
30.66 M/s
transactions over time/2 loc tx:
12.20 M/s
transactions over time/4 loc tx:
8.43 M/s
transactions over time/8 loc tx:
4.14 M/s
Kcas parallel CMP:
time per transaction/1 worker:
141.95 ns
time per transaction/2 workers:
211.64 ns
time per transaction/4 workers:
220.87 ns
transactions over time/1 worker:
7.04 M/s
transactions over time/2 workers:
9.45 M/s
transactions over time/4 workers:
18.11 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
18.35 M/s
operations over time/2 workers, 0% reads:
20.30 M/s
operations over time/4 workers, 0% reads:
35.81 M/s
time per operation/1 worker, 0% reads:
54.51 ns
time per operation/2 workers, 0% reads:
98.50 ns
time per operation/4 workers, 0% reads:
111.71 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
0.76 M/s
messages over time/1 nb adder, 2 nb takers:
1.16 M/s
messages over time/2 nb adders, 1 nb taker:
1.02 M/s
messages over time/2 nb adders, 2 nb takers:
0.48 M/s
messages over time/one domain:
0.84 M/s
time per message/1 nb adder, 1 nb taker:
2646.87 ns
time per message/1 nb adder, 2 nb takers:
2576.77 ns
time per message/2 nb adders, 1 nb taker:
2946.40 ns
time per message/2 nb adders, 2 nb takers:
8285.01 ns
time per message/one domain:
1196.07 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
1.81 M/s
operations over time/1 worker, 50% reads:
3.49 M/s
operations over time/1 worker, 90% reads:
6.41 M/s
operations over time/2 workers, 10% reads:
4.07 M/s
operations over time/2 workers, 50% reads:
4.35 M/s
operations over time/2 workers, 90% reads:
11.10 M/s
operations over time/4 workers, 10% reads:
1.75 M/s
operations over time/4 workers, 50% reads:
3.90 M/s
operations over time/4 workers, 90% reads:
13.20 M/s
time per operation/1 worker, 10% reads:
552.04 ns
time per operation/1 worker, 50% reads:
286.51 ns
time per operation/1 worker, 90% reads:
155.91 ns
time per operation/2 workers, 10% reads:
491.16 ns
time per operation/2 workers, 50% reads:
459.92 ns
time per operation/2 workers, 90% reads:
180.13 ns
time per operation/4 workers, 10% reads:
2279.22 ns
time per operation/4 workers, 50% reads:
1026.68 ns
time per operation/4 workers, 90% reads:
303.04 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
3.05 M/s
messages over time/1 adder, 1 taker:
1.53 M/s
messages over time/1 adder, 2 nb takers:
3.29 M/s
messages over time/1 adder, 2 takers:
3.14 M/s
messages over time/1 nb adder, 1 nb taker:
1.17 M/s
messages over time/1 nb adder, 1 taker:
0.73 M/s
messages over time/1 nb adder, 2 nb takers:
5.11 M/s
messages over time/1 nb adder, 2 takers:
1.15 M/s
messages over time/2 adders, 1 nb taker:
0.50 M/s
messages over time/2 adders, 1 taker:
0.57 M/s
messages over time/2 adders, 2 nb takers:
0.57 M/s
messages over time/2 adders, 2 takers:
2.28 M/s
messages over time/2 nb adders, 1 nb taker:
3.88 M/s
messages over time/2 nb adders, 1 taker:
2.86 M/s
messages over time/2 nb adders, 2 nb takers:
1.47 M/s
messages over time/2 nb adders, 2 takers:
2.49 M/s
time per message/1 adder, 1 nb taker:
655.16 ns
time per message/1 adder, 1 taker:
1308.36 ns
time per message/1 adder, 2 nb takers:
912.13 ns
time per message/1 adder, 2 takers:
954.01 ns
time per message/1 nb adder, 1 nb taker:
1704.22 ns
time per message/1 nb adder, 1 taker:
2731.84 ns
time per message/1 nb adder, 2 nb takers:
586.60 ns
time per message/1 nb adder, 2 takers:
2599.19 ns
time per message/2 adders, 1 nb taker:
5988.92 ns
time per message/2 adders, 1 taker:
5227.44 ns
time per message/2 adders, 2 nb takers:
6980.74 ns
time per message/2 adders, 2 takers:
1751.99 ns
time per message/2 nb adders, 1 nb taker:
773.68 ns
time per message/2 nb adders, 1 taker:
1049.03 ns
time per message/2 nb adders, 2 nb takers:
2729.53 ns
time per message/2 nb adders, 2 takers:
1605.91 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
4.75 M/s
messages over time/1 nb adder, 1 taker:
4.68 M/s
messages over time/1 nb adder, 2 nb takers:
3.12 M/s
messages over time/1 nb adder, 2 takers:
5.25 M/s
messages over time/2 nb adders, 1 nb taker:
5.02 M/s
messages over time/2 nb adders, 1 taker:
5.02 M/s
messages over time/2 nb adders, 2 nb takers:
4.91 M/s
messages over time/2 nb adders, 2 takers:
3.46 M/s
messages over time/one domain:
7.30 M/s
time per message/1 nb adder, 1 nb taker:
421.26 ns
time per message/1 nb adder, 1 taker:
427.38 ns
time per message/1 nb adder, 2 nb takers:
961.70 ns
time per message/1 nb adder, 2 takers:
571.19 ns
time per message/2 nb adders, 1 nb taker:
597.93 ns
time per message/2 nb adders, 1 taker:
597.62 ns
time per message/2 nb adders, 2 nb takers:
814.91 ns
time per message/2 nb adders, 2 takers:
1154.72 ns
time per message/one domain:
137.04 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
7.18 M/s
messages over time/1 nb adder, 1 taker:
6.60 M/s
messages over time/1 nb adder, 2 nb takers:
8.75 M/s
messages over time/1 nb adder, 2 takers:
5.92 M/s
messages over time/2 nb adders, 1 nb taker:
3.17 M/s
messages over time/2 nb adders, 1 taker:
4.76 M/s
messages over time/2 nb adders, 2 nb takers:
4.52 M/s
messages over time/2 nb adders, 2 takers:
5.02 M/s
messages over time/one domain:
7.77 M/s
time per message/1 nb adder, 1 nb taker:
278.56 ns
time per message/1 nb adder, 1 taker:
303.22 ns
time per message/1 nb adder, 2 nb takers:
342.92 ns
time per message/1 nb adder, 2 takers:
507.01 ns
time per message/2 nb adders, 1 nb taker:
946.80 ns
time per message/2 nb adders, 1 taker:
630.54 ns
time per message/2 nb adders, 2 nb takers:
884.93 ns
time per message/2 nb adders, 2 takers:
796.16 ns
time per message/one domain:
128.76 ns
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 4502811212696894400
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.0s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 2489481702931331812
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 16.4s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 3586951824266105089
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 29.6s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 2316477799774249775
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 7.2s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 504373331674407482
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 7.9s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 492520476146891979
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 13.7s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 3709533584556273461
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 30.5s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 1832395934217700149
generated error fail pass / total time test name
[✓] 34 0 0 34 / 34 0.0s Queue sequential
[✓] 34 0 0 34 / 34 5.5s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 2188212757466768920
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 5.3s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 2367747017400217706
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 7.8s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 1702123781494285340
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 13.6s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 1722668475678607291
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 29.1s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 1215422817698001015
generated error fail pass / total time test name
[✓] 42 0 0 42 / 42 0.0s Accumulator sequential
[✓] 42 0 0 42 / 42 7.4s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 836957429104392265
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 5.5s Accumulator parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 3009326659131515009
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 7.9s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 1924231525397337183
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 14.9s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 3879687368305043490
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[ ] 66 0 0 66 / 128
[✓] 128 0 0 128 / 128 27.9s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 898793889570786724
generated error fail pass / total time test name
[✓] 41 0 0 41 / 41 0.0s Dllist sequential
[✓] 41 0 0 41 / 41 8.2s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 11150332161338988
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 4.9s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 3058998526490553084
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 8.3s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 3477032059395112877
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 15.0s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 4565745510742671558
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 27.7s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 4252189256208353281
generated error fail pass / total time test name
[✓] 39 0 0 39 / 39 0.0s Stack sequential
[✓] 39 0 0 39 / 39 7.7s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 3407417945613209257
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 5.1s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 1211320370997861783
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 7.6s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 2808040476558692425
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 14.5s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 3824835778970286351
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 29.8s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 1620677881137121467
generated error fail pass / total time test name
[✓] 34 0 0 34 / 34 0.0s Hashtbl sequential
[✓] 34 0 0 34 / 34 6.2s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 1681473622461528735
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 6.1s Hashtbl parallel
================================================================================
success (ran 2 tests)
2024-10-18 17:27.29 ---> saved as "e75690c10b144adfc99e3b364baca6acd16c9f5997a9c697b3b649d04edfa5d1"
Job succeeded
2024-10-18 17:27.29: Job succeeded