2024-09-18 15:15.06: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/add-xt-leftist-heap-benchmark (fa732ba8a273c90b9051eb90b5fb5793471bd8b5) (linux-arm64:debian-12-4.14_arm64_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264
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 fa732ba8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264
# debian-12-4.14_arm64_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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 kcas_data.opam kcas.opam ./
RUN opam pin add -yn kcas_data.dev './' && \
opam pin add -yn kcas.dev './'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-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-arm64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 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.8 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-09-18 15:15.06: Using cache hint "ocaml-multicore/kcas-ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264-debian-12-4.14_arm64_opam-2.2-b7484b9240e8d940789a373328687612"
2024-09-18 15:15.06: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264)
(comment debian-12-4.14_arm64_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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src kcas_data.opam kcas.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-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-arm64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 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.8 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-09-18 15:15.06: Waiting for resource in pool OCluster
2024-09-18 19:09.38: Waiting for worker…
2024-09-18 21:00.50: Got resource from pool OCluster
Building on molpadia.caelum.ci.dev
All commits already cached
HEAD is now at fa732ba Add a transaction benchmark using a naïve unscalable leftist heap
(from ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264' locally
docker.io/ocaml/opam@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264: Pulling from ocaml/opam
24e337f7a758: Already exists
c7503b606140: Pulling fs layer
8e63de27d01f: Pulling fs layer
f00d2b5315b8: Pulling fs layer
69d7461ae3b3: Pulling fs layer
8e63de27d01f: Verifying Checksum
8e63de27d01f: Download complete
f00d2b5315b8: Verifying Checksum
f00d2b5315b8: Download complete
69d7461ae3b3: Verifying Checksum
69d7461ae3b3: Download complete
c7503b606140: Verifying Checksum
c7503b606140: Download complete
c7503b606140: Pull complete
8e63de27d01f: Pull complete
f00d2b5315b8: Pull complete
69d7461ae3b3: Pull complete
Digest: sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264
Status: Downloaded newer image for ocaml/opam@sha256:4f348c3ba57ed226f4b634f2d76d418d2647ad7eff1e6a1310d951210f786264
2024-09-18 21:00.50 ---> using "950c89a2ebbee9ce8bcf1014e6ad1912c5366217e3bcadb5fece9fe7a308db32" from cache
/: (comment debian-12-4.14_arm64_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-09-18 21:00.50 ---> using "5f6d8154718cb0ff38006f05185a935cc97d7291dd8304a3d8d3590bf05d7a9a" 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-09-18 21:00.50 ---> using "93c36ecae88c8a06107b4ff201e94ccb388fcd8d06b3d88d3c7cf325bd028b23" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-09-18 21:00.50 ---> using "2957ff589e1455219f3bc480f9ce744f201e51b90321e5f1eb0e147b2267ba33" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-18 21:00.50 ---> using "572391a6db702c8d69fe6500cfbd9e4625b2f718288379f88382f6c16cfc539f" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
e89899ac28..45f961713f master -> origin/master
45f961713f Merge pull request #26585 from dra27/trunk-tweaks
<><> 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-09-18 21:00.50 ---> using "00c4aae696e42d4d09188d77dcd4d2fda750fcfffc940a4c50364af3f749336c" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-18 21:00.50 ---> saved as "5950116db7804391ccee5f2349ad00f6cb1239c64986272a6acb9141161c8641"
/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-09-18 21:00.53 ---> saved as "b5142af52e547894ffd63cf581da3b73cb847b5f1643daabee139d1d3176994f"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 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-arm64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 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.8 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 "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main arm64 Packages [8689 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages.diff/Index [11.7 kB]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [179 kB]
- Get:7 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1115 B]
- Get:7 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1115 B]
- Fetched 9135 kB in 1s (7563 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas_data.dev] synchronised (no changes)
[kcas.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-arm64 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-09-18 21:01.06 ---> saved as "e5f6b0183d1ab3193f554b3fb15850f5b43a895c9373ba0209be8b698c094934"
/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-arm64 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.0
- 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.5
- install multicore-magic 2.3.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.8
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install psq 0.2.1
- install qcheck-core 0.22
- install qcheck-multicoretests-util 0.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.0 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved alcotest.1.8.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 multicore-bench.0.1.5 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.8 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
-> retrieved dune.3.16.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.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 yojson.2.2.2 (cached)
-> retrieved topkg.1.0.7 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed result.1.5
-> installed camlp-streams.5.0.1
-> installed backoff.0.1.0
-> installed multicore-magic.2.3.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-version.3.6.8
-> installed psq.0.2.1
-> installed thread-table.1.0.0
-> installed domain-local-timeout.1.0.1
-> installed domain-local-await.1.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed cppo.1.7.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.4
-> installed multicore-bench.0.1.5
-> 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-09-18 21:01.44 ---> saved as "ad303fdc6800fe0c32cd70519c696b26a678d7b13067ab3451eac88a559659a7"
/src: (copy (src .) (dst /src))
2024-09-18 21:01.44 ---> saved as "bc7cc676d7518af5f6fea164183ae4087adcc03bf97cee13a2a4c6f6f4cc02e1"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/kcas && ./loc_modes.exe)
Loc modes OK!
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas && ./threads.exe)
Testing `Threads'.
This run has ID `X7A7RCLQ'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `SWLJS862'.
[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 `Z1M5YCK3'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `7YW97644'.
[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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `E8WA1Q1A'.
[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 `VRP9Z5X5'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Queue'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `WL70UNBE'.
[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 && ./test.exe)
Testing `Kcas'.
This run has ID `MP4DFXBG'.
[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 0.918s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
3.39 ns
ops over time/get:
295.23 M/s
time per op/incr:
16.55 ns
ops over time/incr:
60.41 M/s
time per op/push & pop:
16.98 ns
ops over time/push & pop:
58.90 M/s
time per op/cas int:
11.78 ns
ops over time/cas int:
84.90 M/s
time per op/xchg int:
12.14 ns
ops over time/xchg int:
82.37 M/s
time per op/swap:
17.80 ns
ops over time/swap:
56.18 M/s
Kcas Xt:
time per transaction/0 loc tx:
11.71 ns
transactions over time/0 loc tx:
85.40 M/s
time per transaction/1 loc tx:
38.67 ns
transactions over time/1 loc tx:
25.86 M/s
time per transaction/2 loc tx:
83.63 ns
transactions over time/2 loc tx:
11.96 M/s
time per transaction/4 loc tx:
147.20 ns
transactions over time/4 loc tx:
6.79 M/s
time per transaction/8 loc tx:
294.32 ns
transactions over time/8 loc tx:
3.40 M/s
Kcas Xt Leftist_heap (unscalable):
time per operation/1 worker, 10 preload:
555.98 ns
operations over time/1 worker, 10 preload:
1.80 M/s
time per operation/2 workers, 10 preload:
1155.80 ns
operations over time/2 workers, 10 preload:
1.73 M/s
time per operation/4 workers, 10 preload:
4673.78 ns
operations over time/4 workers, 10 preload:
0.86 M/s
time per operation/1 worker, 100 preload:
1804.59 ns
operations over time/1 worker, 100 preload:
0.56 M/s
time per operation/2 workers, 100 preload:
3002.96 ns
operations over time/2 workers, 100 preload:
0.67 M/s
time per operation/4 workers, 100 preload:
10751.87 ns
operations over time/4 workers, 100 preload:
0.37 M/s
time per operation/1 worker, 1000 preload:
5086.76 ns
operations over time/1 worker, 1000 preload:
0.20 M/s
time per operation/2 workers, 1000 preload:
22765.11 ns
operations over time/2 workers, 1000 preload:
0.09 M/s
time per operation/4 workers, 1000 preload:
50869.76 ns
operations over time/4 workers, 1000 preload:
0.08 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
12.44 ns
transactions over time/0 loc tx:
80.39 M/s
time per transaction/1 loc tx:
26.99 ns
transactions over time/1 loc tx:
37.05 M/s
time per transaction/2 loc tx:
51.05 ns
transactions over time/2 loc tx:
19.59 M/s
time per transaction/4 loc tx:
87.43 ns
transactions over time/4 loc tx:
11.44 M/s
time per transaction/8 loc tx:
169.76 ns
transactions over time/8 loc tx:
5.89 M/s
Kcas parallel CMP:
time per transaction/1 worker:
89.91 ns
transactions over time/1 worker:
11.12 M/s
time per transaction/2 workers:
183.61 ns
transactions over time/2 workers:
10.89 M/s
time per transaction/4 workers:
729.28 ns
transactions over time/4 workers:
5.48 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
17.56 ns
operations over time/1 worker, 0% reads:
56.93 M/s
time per operation/2 workers, 0% reads:
36.50 ns
operations over time/2 workers, 0% reads:
54.80 M/s
time per operation/4 workers, 0% reads:
219.82 ns
operations over time/4 workers, 0% reads:
18.20 M/s
Kcas_data Dllist:
time per message/one domain:
584.97 ns
messages over time/one domain:
1.71 M/s
time per message/1 nb adder, 1 nb taker:
1116.91 ns
messages over time/1 nb adder, 1 nb taker:
1.79 M/s
time per message/1 nb adder, 2 nb takers:
2027.06 ns
messages over time/1 nb adder, 2 nb takers:
1.48 M/s
time per message/2 nb adders, 1 nb taker:
1784.56 ns
messages over time/2 nb adders, 1 nb taker:
1.68 M/s
time per message/2 nb adders, 2 nb takers:
2953.93 ns
messages over time/2 nb adders, 2 nb takers:
1.35 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
60.09 ns
operations over time/1 worker, 90% reads:
16.64 M/s
time per operation/2 workers, 90% reads:
129.75 ns
operations over time/2 workers, 90% reads:
15.42 M/s
time per operation/4 workers, 90% reads:
418.16 ns
operations over time/4 workers, 90% reads:
9.57 M/s
time per operation/1 worker, 50% reads:
135.55 ns
operations over time/1 worker, 50% reads:
7.38 M/s
time per operation/2 workers, 50% reads:
316.69 ns
operations over time/2 workers, 50% reads:
6.32 M/s
time per operation/4 workers, 50% reads:
1363.09 ns
operations over time/4 workers, 50% reads:
2.93 M/s
time per operation/1 worker, 10% reads:
168.29 ns
operations over time/1 worker, 10% reads:
5.94 M/s
time per operation/2 workers, 10% reads:
466.59 ns
operations over time/2 workers, 10% reads:
4.29 M/s
time per operation/4 workers, 10% reads:
1354.69 ns
operations over time/4 workers, 10% reads:
2.95 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
19022.01 ns
messages over time/1 nb adder, 1 nb taker:
0.11 M/s
time per message/1 nb adder, 1 taker:
19077.80 ns
messages over time/1 nb adder, 1 taker:
0.10 M/s
time per message/1 nb adder, 2 nb takers:
30500.93 ns
messages over time/1 nb adder, 2 nb takers:
0.10 M/s
time per message/1 nb adder, 2 takers:
30761.93 ns
messages over time/1 nb adder, 2 takers:
0.10 M/s
time per message/1 adder, 1 nb taker:
18388.10 ns
messages over time/1 adder, 1 nb taker:
0.11 M/s
time per message/1 adder, 1 taker:
19003.81 ns
messages over time/1 adder, 1 taker:
0.11 M/s
time per message/1 adder, 2 nb takers:
31226.53 ns
messages over time/1 adder, 2 nb takers:
0.10 M/s
time per message/1 adder, 2 takers:
35999.38 ns
messages over time/1 adder, 2 takers:
0.08 M/s
time per message/2 nb adders, 1 nb taker:
38495.61 ns
messages over time/2 nb adders, 1 nb taker:
0.08 M/s
time per message/2 nb adders, 1 taker:
31431.14 ns
messages over time/2 nb adders, 1 taker:
0.10 M/s
time per message/2 nb adders, 2 nb takers:
46900.50 ns
messages over time/2 nb adders, 2 nb takers:
0.09 M/s
time per message/2 nb adders, 2 takers:
52638.16 ns
messages over time/2 nb adders, 2 takers:
0.08 M/s
time per message/2 adders, 1 nb taker:
35147.77 ns
messages over time/2 adders, 1 nb taker:
0.09 M/s
time per message/2 adders, 1 taker:
36517.99 ns
messages over time/2 adders, 1 taker:
0.08 M/s
time per message/2 adders, 2 nb takers:
47854.11 ns
messages over time/2 adders, 2 nb takers:
0.08 M/s
time per message/2 adders, 2 takers:
57904.42 ns
messages over time/2 adders, 2 takers:
0.07 M/s
Kcas_data Queue:
time per message/one domain:
72.54 ns
messages over time/one domain:
13.82 M/s
time per message/1 nb adder, 1 nb taker:
194.93 ns
messages over time/1 nb adder, 1 nb taker:
10.26 M/s
time per message/1 nb adder, 1 taker:
204.94 ns
messages over time/1 nb adder, 1 taker:
9.76 M/s
time per message/1 nb adder, 2 nb takers:
351.16 ns
messages over time/1 nb adder, 2 nb takers:
8.54 M/s
time per message/1 nb adder, 2 takers:
353.95 ns
messages over time/1 nb adder, 2 takers:
8.48 M/s
time per message/2 nb adders, 1 nb taker:
283.37 ns
messages over time/2 nb adders, 1 nb taker:
10.59 M/s
time per message/2 nb adders, 1 taker:
282.90 ns
messages over time/2 nb adders, 1 taker:
10.60 M/s
time per message/2 nb adders, 2 nb takers:
434.10 ns
messages over time/2 nb adders, 2 nb takers:
9.21 M/s
time per message/2 nb adders, 2 takers:
490.08 ns
messages over time/2 nb adders, 2 takers:
8.16 M/s
Kcas_data Stack:
time per message/one domain:
53.64 ns
messages over time/one domain:
18.64 M/s
time per message/1 nb adder, 1 nb taker:
194.71 ns
messages over time/1 nb adder, 1 nb taker:
10.27 M/s
time per message/1 nb adder, 1 taker:
215.14 ns
messages over time/1 nb adder, 1 taker:
9.30 M/s
time per message/1 nb adder, 2 nb takers:
334.44 ns
messages over time/1 nb adder, 2 nb takers:
8.97 M/s
time per message/1 nb adder, 2 takers:
363.08 ns
messages over time/1 nb adder, 2 takers:
8.26 M/s
time per message/2 nb adders, 1 nb taker:
310.97 ns
messages over time/2 nb adders, 1 nb taker:
9.65 M/s
time per message/2 nb adders, 1 taker:
310.72 ns
messages over time/2 nb adders, 1 taker:
9.66 M/s
time per message/2 nb adders, 2 nb takers:
576.20 ns
messages over time/2 nb adders, 2 nb takers:
6.94 M/s
time per message/2 nb adders, 2 takers:
490.49 ns
messages over time/2 nb adders, 2 takers:
8.16 M/s
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `HAULGTLI'.
[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.137s. 2 tests run.
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 41335931433930490
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 5.0s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 1015600630359956203
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 12.0s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4075631301696160204
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 28.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3213946029728820574
generated error fail pass / total time test name
[✓] 71 0 0 71 / 71 0.0s Hashtbl sequential
[✓] 71 0 0 71 / 71 10.4s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4443899524648770044
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 4.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 3774266989156953907
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 4.9s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 318496776519599925
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 12.0s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3984723157725602141
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 27.4s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3496442985246205931
generated error fail pass / total time test name
[✓] 79 0 0 79 / 79 0.0s Stack sequential
[✓] 79 0 0 79 / 79 11.9s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 4250210430903783486
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 4.4s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 72039680039594037
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 5.8s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 912266949888945114
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 11.5s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 363525807913760914
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 28.8s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1537795979602718891
generated error fail pass / total time test name
[✓] 67 0 0 67 / 67 0.0s Dllist sequential
[✓] 67 0 0 67 / 67 10.2s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 930531672152320179
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 4.4s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 2194178962713785935
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 4.9s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 4497064883365581850
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 12.1s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3829054781653454639
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 28.3s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2412847608049391442
generated error fail pass / total time test name
[✓] 72 0 0 72 / 72 0.0s Queue sequential
[ ] 41 0 0 41 / 72 7.6s Queue concurrent
[✓] 72 0 0 72 / 72 11.1s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 4202551455730682711
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 4.4s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 2494637903037745387
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 4.3s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 681268330708742137
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 12.7s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3814933868585156743
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 27.5s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 1772840063222374108
generated error fail pass / total time test name
[✓] 78 0 0 78 / 78 0.0s Accumulator sequential
[✓] 78 0 0 78 / 78 12.8s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 135407458793916249
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 3.6s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 3405069681395954469
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 6.2s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 23704624051729163
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 11.2s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2036590321807421827
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.9s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2208747872891152393
generated error fail pass / total time test name
[✓] 60 0 0 60 / 60 0.0s Hashtbl_with_order sequential
[✓] 60 0 0 60 / 60 11.2s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2121559714029329518
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.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-09-18 21:02.48 ---> saved as "2a97df3beda11cac9f38a5c873ec19bca223d11544e4abc20a6c908542dd7876"
Job succeeded
2024-09-18 21:02.50: Job succeeded