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-4.14_opam-2.2)
Base: ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ca93b07e1eb7c90d165c476bfe152845a1cd570bea9665dd8cde9699b2445d06
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-4.14@sha256:ca93b07e1eb7c90d165c476bfe152845a1cd570bea9665dd8cde9699b2445d06
# alpine-3.20-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-4.14@sha256:ca93b07e1eb7c90d165c476bfe152845a1cd570bea9665dd8cde9699b2445d06-alpine-3.20-4.14_opam-2.2-5f4c992c2d473520416af47288a983cf"
2024-10-18 17:21.14: Using OBuilder spec:
((from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ca93b07e1eb7c90d165c476bfe152845a1cd570bea9665dd8cde9699b2445d06)
(comment alpine-3.20-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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:25.28: Got resource from pool OCluster
Building on asteria.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-4.14@sha256:ca93b07e1eb7c90d165c476bfe152845a1cd570bea9665dd8cde9699b2445d06)
2024-10-18 17:25.28 ---> using "985d1785f83b4891ff973f84322b6ae3a9d90575d816ad52456fbbac4db24296" from cache
/: (comment alpine-3.20-4.14_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:25.28 ---> using "424ecb4fd76a71bc03eabfc1f3af4742e1e505d3d9b8035ad2d7e45690e0728a" 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:25.28 ---> using "0b027b6c04c06f5c7e242bd7839cb2838576f0029b13d9031bce3f8a4a1f5acb" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-10-18 17:25.28 ---> using "88660f6f9449daae8f546084b825a4aabecb6972d8728585f1a2ebc26836a734" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-18 17:25.28 ---> using "3793e4d28aace89f51f56ac0e27bd5409a2e90b3abb095a596c196cfe87e1cd2" 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.28 ---> using "95d39bc4404e67b1b7f79bf267c4358b2558f533860944b5d98d1473b66669fc" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-10-18 17:25.28 ---> using "92ea6ca7e64ea7f2ab8b75e4ff0652d16a0d84f9c3e95bc0a9822be164dd6de8" 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:25.28 ---> using "a84f992f52fe3df78d17114e7751bd1019c0456b67e5b6b61375d0cae6195279" from cache
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
2024-10-18 17:25.32 ---> saved as "7114b3e5eed9ed7f3144f91b4cbe1a3964313b8957575fd90782842db5c881c3"
/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-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 alcotest.1.8.0 (cached)
-> retrieved camlp-streams.5.0.1 (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.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 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 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 csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed backoff.0.1.1
-> installed ocaml-version.3.6.9
-> installed psq.0.2.1
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> 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 qcheck-stm.0.4
-> installed multicore-bench.0.1.7
-> 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.34 ---> saved as "2bdbe98c236b53520e5ed5416dd5ed54b084e7617550f130a8ce7769b41d37b4"
/src: (copy (src .) (dst /src))
2024-10-18 17:26.35 ---> saved as "6cccf13ce05cf3871cadbf08326adf76c56b383b665e07a040aca6ea5dd91587"
/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 `PMOC1BUN'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.004s. 1 test run.
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `NA7FDTKF'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `5SL4ZD6F'.
[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.005s. 4 tests run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `XPT5QWCA'.
[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 `OEP192HW'.
[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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `PN3KO5NO'.
[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 && ./queue_test.exe)
Testing `Queue'.
This run has ID `H2KIJQZX'.
[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 && ./test.exe)
Testing `Kcas'.
This run has ID `VPBHK311'.
[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 1.123s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
72.47 M/s
ops over time/get:
249.07 M/s
ops over time/incr:
49.64 M/s
ops over time/push & pop:
44.37 M/s
ops over time/swap:
43.99 M/s
ops over time/xchg int:
61.99 M/s
time per op/cas int:
13.80 ns
time per op/get:
4.02 ns
time per op/incr:
20.15 ns
time per op/push & pop:
22.54 ns
time per op/swap:
22.73 ns
time per op/xchg int:
16.13 ns
Kcas Xt:
time per transaction/0 loc tx:
22.13 ns
time per transaction/1 loc tx:
58.38 ns
time per transaction/2 loc tx:
117.06 ns
time per transaction/4 loc tx:
206.79 ns
time per transaction/8 loc tx:
367.50 ns
transactions over time/0 loc tx:
45.20 M/s
transactions over time/1 loc tx:
17.13 M/s
transactions over time/2 loc tx:
8.54 M/s
transactions over time/4 loc tx:
4.84 M/s
transactions over time/8 loc tx:
2.72 M/s
Kcas Xt Leftist_heap (unscalable):
operations over time/1 worker, 1000 preload:
0.14 M/s
operations over time/1 worker, 100 preload:
0.47 M/s
operations over time/1 worker, 10 preload:
1.49 M/s
operations over time/2 workers, 1000 preload:
0.14 M/s
operations over time/2 workers, 100 preload:
0.37 M/s
operations over time/2 workers, 10 preload:
1.38 M/s
operations over time/4 workers, 1000 preload:
0.15 M/s
operations over time/4 workers, 100 preload:
0.43 M/s
operations over time/4 workers, 10 preload:
1.19 M/s
time per operation/1 worker, 1000 preload:
7283.11 ns
time per operation/1 worker, 100 preload:
2146.66 ns
time per operation/1 worker, 10 preload:
673.20 ns
time per operation/2 workers, 1000 preload:
14146.98 ns
time per operation/2 workers, 100 preload:
5336.92 ns
time per operation/2 workers, 10 preload:
1450.61 ns
time per operation/4 workers, 1000 preload:
26142.48 ns
time per operation/4 workers, 100 preload:
9356.58 ns
time per operation/4 workers, 10 preload:
3366.87 ns
Kcas Xt read-only:
time per transaction/0 loc tx:
19.52 ns
time per transaction/1 loc tx:
33.32 ns
time per transaction/2 loc tx:
75.85 ns
time per transaction/4 loc tx:
107.81 ns
time per transaction/8 loc tx:
216.34 ns
transactions over time/0 loc tx:
51.22 M/s
transactions over time/1 loc tx:
30.01 M/s
transactions over time/2 loc tx:
13.18 M/s
transactions over time/4 loc tx:
9.28 M/s
transactions over time/8 loc tx:
4.62 M/s
Kcas parallel CMP:
time per transaction/1 worker:
135.60 ns
time per transaction/2 workers:
262.47 ns
time per transaction/4 workers:
545.56 ns
transactions over time/1 worker:
7.37 M/s
transactions over time/2 workers:
7.62 M/s
transactions over time/4 workers:
7.33 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
41.92 M/s
operations over time/2 workers, 0% reads:
37.64 M/s
operations over time/4 workers, 0% reads:
48.14 M/s
time per operation/1 worker, 0% reads:
23.86 ns
time per operation/2 workers, 0% reads:
53.14 ns
time per operation/4 workers, 0% reads:
83.10 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
2.90 M/s
messages over time/1 nb adder, 2 nb takers:
2.75 M/s
messages over time/2 nb adders, 1 nb taker:
3.03 M/s
messages over time/2 nb adders, 2 nb takers:
3.30 M/s
messages over time/one domain:
2.06 M/s
time per message/1 nb adder, 1 nb taker:
690.20 ns
time per message/1 nb adder, 2 nb takers:
1089.26 ns
time per message/2 nb adders, 1 nb taker:
990.50 ns
time per message/2 nb adders, 2 nb takers:
1211.74 ns
time per message/one domain:
484.89 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
5.13 M/s
operations over time/1 worker, 50% reads:
6.46 M/s
operations over time/1 worker, 90% reads:
11.97 M/s
operations over time/2 workers, 10% reads:
4.10 M/s
operations over time/2 workers, 50% reads:
5.76 M/s
operations over time/2 workers, 90% reads:
11.97 M/s
operations over time/4 workers, 10% reads:
3.64 M/s
operations over time/4 workers, 50% reads:
5.42 M/s
operations over time/4 workers, 90% reads:
12.60 M/s
time per operation/1 worker, 10% reads:
195.02 ns
time per operation/1 worker, 50% reads:
154.80 ns
time per operation/1 worker, 90% reads:
83.51 ns
time per operation/2 workers, 10% reads:
487.69 ns
time per operation/2 workers, 50% reads:
347.10 ns
time per operation/2 workers, 90% reads:
167.04 ns
time per operation/4 workers, 10% reads:
1098.42 ns
time per operation/4 workers, 50% reads:
737.86 ns
time per operation/4 workers, 90% reads:
317.47 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.08 M/s
messages over time/1 adder, 1 taker:
0.08 M/s
messages over time/1 adder, 2 nb takers:
0.09 M/s
messages over time/1 adder, 2 takers:
0.09 M/s
messages over time/1 nb adder, 1 nb taker:
0.09 M/s
messages over time/1 nb adder, 1 taker:
0.09 M/s
messages over time/1 nb adder, 2 nb takers:
0.09 M/s
messages over time/1 nb adder, 2 takers:
0.09 M/s
messages over time/2 adders, 1 nb taker:
0.08 M/s
messages over time/2 adders, 1 taker:
0.08 M/s
messages over time/2 adders, 2 nb takers:
0.09 M/s
messages over time/2 adders, 2 takers:
0.07 M/s
messages over time/2 nb adders, 1 nb taker:
0.09 M/s
messages over time/2 nb adders, 1 taker:
0.08 M/s
messages over time/2 nb adders, 2 nb takers:
0.09 M/s
messages over time/2 nb adders, 2 takers:
0.08 M/s
time per message/1 adder, 1 nb taker:
24840.29 ns
time per message/1 adder, 1 taker:
23653.21 ns
time per message/1 adder, 2 nb takers:
34868.93 ns
time per message/1 adder, 2 takers:
34912.02 ns
time per message/1 nb adder, 1 nb taker:
21480.22 ns
time per message/1 nb adder, 1 taker:
21985.41 ns
time per message/1 nb adder, 2 nb takers:
33424.92 ns
time per message/1 nb adder, 2 takers:
33629.44 ns
time per message/2 adders, 1 nb taker:
37115.50 ns
time per message/2 adders, 1 taker:
37421.52 ns
time per message/2 adders, 2 nb takers:
46974.54 ns
time per message/2 adders, 2 takers:
55189.48 ns
time per message/2 nb adders, 1 nb taker:
33071.65 ns
time per message/2 nb adders, 1 taker:
35300.64 ns
time per message/2 nb adders, 2 nb takers:
42274.85 ns
time per message/2 nb adders, 2 takers:
48032.47 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
21.20 M/s
messages over time/1 nb adder, 1 taker:
21.96 M/s
messages over time/1 nb adder, 2 nb takers:
18.39 M/s
messages over time/1 nb adder, 2 takers:
17.27 M/s
messages over time/2 nb adders, 1 nb taker:
21.06 M/s
messages over time/2 nb adders, 1 taker:
21.71 M/s
messages over time/2 nb adders, 2 nb takers:
18.01 M/s
messages over time/2 nb adders, 2 takers:
16.91 M/s
messages over time/one domain:
10.19 M/s
time per message/1 nb adder, 1 nb taker:
94.34 ns
time per message/1 nb adder, 1 taker:
91.10 ns
time per message/1 nb adder, 2 nb takers:
163.16 ns
time per message/1 nb adder, 2 takers:
173.73 ns
time per message/2 nb adders, 1 nb taker:
142.45 ns
time per message/2 nb adders, 1 taker:
138.18 ns
time per message/2 nb adders, 2 nb takers:
222.05 ns
time per message/2 nb adders, 2 takers:
236.59 ns
time per message/one domain:
98.16 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
24.27 M/s
messages over time/1 nb adder, 1 taker:
19.95 M/s
messages over time/1 nb adder, 2 nb takers:
19.40 M/s
messages over time/1 nb adder, 2 takers:
17.96 M/s
messages over time/2 nb adders, 1 nb taker:
24.56 M/s
messages over time/2 nb adders, 1 taker:
24.50 M/s
messages over time/2 nb adders, 2 nb takers:
20.29 M/s
messages over time/2 nb adders, 2 takers:
18.71 M/s
messages over time/one domain:
12.59 M/s
time per message/1 nb adder, 1 nb taker:
82.41 ns
time per message/1 nb adder, 1 taker:
100.25 ns
time per message/1 nb adder, 2 nb takers:
154.63 ns
time per message/1 nb adder, 2 takers:
167.08 ns
time per message/2 nb adders, 1 nb taker:
122.15 ns
time per message/2 nb adders, 1 taker:
122.47 ns
time per message/2 nb adders, 2 nb takers:
197.13 ns
time per message/2 nb adders, 2 takers:
216.33 ns
time per message/one domain:
79.64 ns
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `1P4AVXD7'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 10.578s. 2 tests run.
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 4411452603305283869
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 17.7s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 4122951942310065853
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 31.0s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1772408151728923232
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 14.9s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 4508333094803133875
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 17.0s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 4136314219490282475
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 31.9s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 4154851801369261882
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 15.0s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 81927571886910010
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 16.1s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 615208620980811606
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 33.0s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 283312649827339344
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 14.7s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 4271263882439498864
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 17.3s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3889065666816715263
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 31.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 613801925571909973
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 15.0s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 1660755331407316334
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 14.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 4082411650874284456
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 30.0s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 4335101230309530325
generated error fail pass / total time test name
[✓] 33 0 0 33 / 33 0.0s Hashtbl_with_order sequential
[✓] 33 0 0 33 / 33 13.2s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 767595093680053069
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 concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 387270176347513927
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 14.9s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2728178571128839722
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 29.0s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1674868956020856329
generated error fail pass / total time test name
[✓] 35 0 0 35 / 35 0.0s Queue sequential
[✓] 35 0 0 35 / 35 13.5s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1565777584393077500
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 9.4s Queue concurrent
================================================================================
success (ran 2 tests)
2024-10-18 17:27.46 ---> saved as "c848d56a4c4b83f1ee0e58e3e640c96e71865b0579db17f45c4239f3ab48f385"
Job succeeded
2024-10-18 17:27.46: Job succeeded