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-x86_64:ubuntu-24.04-4.14_opam-2.2)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5
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:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5
# ubuntu-24.04-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 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-x86_64.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:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5-ubuntu-24.04-4.14_opam-2.2-6f18f9c4802d6c411f3695732ffd3e0c"
2024-09-18 15:15.06: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5)
(comment ubuntu-24.04-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 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-x86_64.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 16:39.22: Waiting for worker…
2024-09-18 16:44.39: Got resource from pool OCluster
Building on doris.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:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5' locally
docker.io/ocaml/opam@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5: Pulling from ocaml/opam
dc1faef22be7: Pulling fs layer
dc1faef22be7: Verifying Checksum
dc1faef22be7: Download complete
dc1faef22be7: Pull complete
Digest: sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5
Status: Downloaded newer image for ocaml/opam@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5
2024-09-18 16:44.40 ---> using "25db9bf4775bd403f1810d7e62fea93d76081005643154e52538497d13ccf952" from cache
/: (comment ubuntu-24.04-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-09-18 16:44.40 ---> using "33214496dbdbb88903cbaee5f2712b10a886b544d6abe81bd9497994e4e389f6" 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 16:44.40 ---> using "f6df5e6faa9a0706f5f2e75a28f4999175be531940b2057adb40017c568ed79d" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-121-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-09-18 16:44.40 ---> using "3f86f62cc8d83d6aa2f54bbed4d7a633d752700b6dd91d97f5e69d72bcb01156" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-18 16:44.40 ---> using "478020e656440aff4cc3010df2a4783a62f6dca5426b3fe4d622dda8ecc65a47" 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 16:44.40 ---> using "8311ca64aec5983a2b44559773be84e5a8cdd9955145d7c901b4b595329a26db" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-18 16:44.40 ---> saved as "4c95481406cbcb5dfedc766d6adabe675ed727a8233c65139a98c0e6a72b5bbc"
/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 16:44.43 ---> saved as "b9132b627f79c01a35d35a81de4369d9abd53293c38f9fd7ac4dbc2475b70a6b"
/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-x86_64.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"
- Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [442 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [469 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [13.7 kB]
- Get:7 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [360 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [17.8 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [446 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [669 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [491 kB]
- Get:13 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [11.9 kB]
- Fetched 3299 kB in 1s (3207 kB/s)
- Reading package lists...
<><> 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-09-18 16:44.57 ---> saved as "dbf1de98f3ab88be01030825a0cab77e82d4ec4cf9527f0730ac950da8106dd7"
/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.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 astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved alcotest.1.8.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 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 dune.3.16.0 (cached)
-> retrieved yojson.2.2.2 (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 stdlib-shims.0.3.0
-> installed result.1.5
-> installed ocaml-version.3.6.8
-> installed backoff.0.1.0
-> installed camlp-streams.5.0.1
-> installed multicore-magic.2.3.0
-> 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 alcotest.1.8.0
-> installed qcheck-stm.0.4
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-18 16:45.31 ---> saved as "2f57eecd1c9fc5a51dcd3812d071880a1978ed7d17c3bbce764a83295b2776b7"
/src: (copy (src .) (dst /src))
2024-09-18 16:45.31 ---> saved as "a5266b41c8754d3d543b9380d645a79799a1631bde6332c0f97103992efa93c6"
/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 `86PJAUPM'.
[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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `HPK77ZER'.
[OK] basics 0
[OK] add 0
[OK] move 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Dllist'.
Test Successful in 0.000s. 3 tests run.
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `GXZ2YM1G'.
[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 `O7MU2VNJ'.
[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 `FCCPQ3RI'.
[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 `AP6KGXXD'.
[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 `8SGOKPE3'.
[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.004s. 4 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `27VVKSN9'.
[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.858s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
4.57 ns
ops over time/get:
218.60 M/s
time per op/incr:
12.29 ns
ops over time/incr:
81.40 M/s
time per op/push & pop:
12.66 ns
ops over time/push & pop:
79.00 M/s
time per op/cas int:
9.36 ns
ops over time/cas int:
106.78 M/s
time per op/xchg int:
10.46 ns
ops over time/xchg int:
95.63 M/s
time per op/swap:
13.61 ns
ops over time/swap:
73.47 M/s
Kcas Xt:
time per transaction/0 loc tx:
14.10 ns
transactions over time/0 loc tx:
70.90 M/s
time per transaction/1 loc tx:
35.94 ns
transactions over time/1 loc tx:
27.83 M/s
time per transaction/2 loc tx:
72.77 ns
transactions over time/2 loc tx:
13.74 M/s
time per transaction/4 loc tx:
127.03 ns
transactions over time/4 loc tx:
7.87 M/s
time per transaction/8 loc tx:
268.97 ns
transactions over time/8 loc tx:
3.72 M/s
Kcas Xt Leftist_heap (unscalable):
time per operation/1 worker, 10 preload:
697.18 ns
operations over time/1 worker, 10 preload:
1.43 M/s
time per operation/2 workers, 10 preload:
1004.64 ns
operations over time/2 workers, 10 preload:
1.99 M/s
time per operation/4 workers, 10 preload:
2504.93 ns
operations over time/4 workers, 10 preload:
1.60 M/s
time per operation/1 worker, 100 preload:
1498.91 ns
operations over time/1 worker, 100 preload:
0.67 M/s
time per operation/2 workers, 100 preload:
2972.38 ns
operations over time/2 workers, 100 preload:
0.67 M/s
time per operation/4 workers, 100 preload:
6914.50 ns
operations over time/4 workers, 100 preload:
0.58 M/s
time per operation/1 worker, 1000 preload:
4722.06 ns
operations over time/1 worker, 1000 preload:
0.21 M/s
time per operation/2 workers, 1000 preload:
12680.66 ns
operations over time/2 workers, 1000 preload:
0.16 M/s
time per operation/4 workers, 1000 preload:
28367.85 ns
operations over time/4 workers, 1000 preload:
0.14 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
16.37 ns
transactions over time/0 loc tx:
61.10 M/s
time per transaction/1 loc tx:
33.41 ns
transactions over time/1 loc tx:
29.93 M/s
time per transaction/2 loc tx:
44.05 ns
transactions over time/2 loc tx:
22.70 M/s
time per transaction/4 loc tx:
66.82 ns
transactions over time/4 loc tx:
14.96 M/s
time per transaction/8 loc tx:
121.37 ns
transactions over time/8 loc tx:
8.24 M/s
Kcas parallel CMP:
time per transaction/1 worker:
74.86 ns
transactions over time/1 worker:
13.36 M/s
time per transaction/2 workers:
148.72 ns
transactions over time/2 workers:
13.45 M/s
time per transaction/4 workers:
333.90 ns
transactions over time/4 workers:
11.98 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
14.98 ns
operations over time/1 worker, 0% reads:
66.74 M/s
time per operation/2 workers, 0% reads:
34.86 ns
operations over time/2 workers, 0% reads:
57.38 M/s
time per operation/4 workers, 0% reads:
69.88 ns
operations over time/4 workers, 0% reads:
57.24 M/s
Kcas_data Dllist:
time per message/one domain:
327.54 ns
messages over time/one domain:
3.05 M/s
time per message/1 nb adder, 1 nb taker:
583.96 ns
messages over time/1 nb adder, 1 nb taker:
3.43 M/s
time per message/1 nb adder, 2 nb takers:
815.32 ns
messages over time/1 nb adder, 2 nb takers:
3.68 M/s
time per message/2 nb adders, 1 nb taker:
806.41 ns
messages over time/2 nb adders, 1 nb taker:
3.73 M/s
time per message/2 nb adders, 2 nb takers:
1139.17 ns
messages over time/2 nb adders, 2 nb takers:
3.51 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
53.41 ns
operations over time/1 worker, 90% reads:
18.72 M/s
time per operation/2 workers, 90% reads:
111.09 ns
operations over time/2 workers, 90% reads:
18.00 M/s
time per operation/4 workers, 90% reads:
231.79 ns
operations over time/4 workers, 90% reads:
17.26 M/s
time per operation/1 worker, 50% reads:
109.54 ns
operations over time/1 worker, 50% reads:
9.13 M/s
time per operation/2 workers, 50% reads:
246.33 ns
operations over time/2 workers, 50% reads:
8.12 M/s
time per operation/4 workers, 50% reads:
534.38 ns
operations over time/4 workers, 50% reads:
7.49 M/s
time per operation/1 worker, 10% reads:
136.88 ns
operations over time/1 worker, 10% reads:
7.31 M/s
time per operation/2 workers, 10% reads:
310.64 ns
operations over time/2 workers, 10% reads:
6.44 M/s
time per operation/4 workers, 10% reads:
766.93 ns
operations over time/4 workers, 10% reads:
5.22 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
21995.78 ns
messages over time/1 nb adder, 1 nb taker:
0.09 M/s
time per message/1 nb adder, 1 taker:
18509.95 ns
messages over time/1 nb adder, 1 taker:
0.11 M/s
time per message/1 nb adder, 2 nb takers:
58164.22 ns
messages over time/1 nb adder, 2 nb takers:
0.05 M/s
time per message/1 nb adder, 2 takers:
43814.76 ns
messages over time/1 nb adder, 2 takers:
0.07 M/s
time per message/1 adder, 1 nb taker:
22214.26 ns
messages over time/1 adder, 1 nb taker:
0.09 M/s
time per message/1 adder, 1 taker:
23589.74 ns
messages over time/1 adder, 1 taker:
0.08 M/s
time per message/1 adder, 2 nb takers:
39178.67 ns
messages over time/1 adder, 2 nb takers:
0.08 M/s
time per message/1 adder, 2 takers:
37234.87 ns
messages over time/1 adder, 2 takers:
0.08 M/s
time per message/2 nb adders, 1 nb taker:
40718.20 ns
messages over time/2 nb adders, 1 nb taker:
0.07 M/s
time per message/2 nb adders, 1 taker:
39804.63 ns
messages over time/2 nb adders, 1 taker:
0.08 M/s
time per message/2 nb adders, 2 nb takers:
47418.93 ns
messages over time/2 nb adders, 2 nb takers:
0.08 M/s
time per message/2 nb adders, 2 takers:
59255.10 ns
messages over time/2 nb adders, 2 takers:
0.07 M/s
time per message/2 adders, 1 nb taker:
44917.59 ns
messages over time/2 adders, 1 nb taker:
0.07 M/s
time per message/2 adders, 1 taker:
39523.61 ns
messages over time/2 adders, 1 taker:
0.08 M/s
time per message/2 adders, 2 nb takers:
49923.04 ns
messages over time/2 adders, 2 nb takers:
0.08 M/s
time per message/2 adders, 2 takers:
50805.35 ns
messages over time/2 adders, 2 takers:
0.08 M/s
Kcas_data Queue:
time per message/one domain:
68.11 ns
messages over time/one domain:
14.68 M/s
time per message/1 nb adder, 1 nb taker:
69.77 ns
messages over time/1 nb adder, 1 nb taker:
28.66 M/s
time per message/1 nb adder, 1 taker:
72.13 ns
messages over time/1 nb adder, 1 taker:
27.73 M/s
time per message/1 nb adder, 2 nb takers:
149.44 ns
messages over time/1 nb adder, 2 nb takers:
20.07 M/s
time per message/1 nb adder, 2 takers:
125.78 ns
messages over time/1 nb adder, 2 takers:
23.85 M/s
time per message/2 nb adders, 1 nb taker:
91.36 ns
messages over time/2 nb adders, 1 nb taker:
32.84 M/s
time per message/2 nb adders, 1 taker:
82.89 ns
messages over time/2 nb adders, 1 taker:
36.19 M/s
time per message/2 nb adders, 2 nb takers:
151.47 ns
messages over time/2 nb adders, 2 nb takers:
26.41 M/s
time per message/2 nb adders, 2 takers:
141.59 ns
messages over time/2 nb adders, 2 takers:
28.25 M/s
Kcas_data Stack:
time per message/one domain:
46.94 ns
messages over time/one domain:
21.30 M/s
time per message/1 nb adder, 1 nb taker:
92.25 ns
messages over time/1 nb adder, 1 nb taker:
21.68 M/s
time per message/1 nb adder, 1 taker:
66.54 ns
messages over time/1 nb adder, 1 taker:
30.06 M/s
time per message/1 nb adder, 2 nb takers:
123.02 ns
messages over time/1 nb adder, 2 nb takers:
24.39 M/s
time per message/1 nb adder, 2 takers:
118.01 ns
messages over time/1 nb adder, 2 takers:
25.42 M/s
time per message/2 nb adders, 1 nb taker:
75.86 ns
messages over time/2 nb adders, 1 nb taker:
39.55 M/s
time per message/2 nb adders, 1 taker:
92.57 ns
messages over time/2 nb adders, 1 taker:
32.41 M/s
time per message/2 nb adders, 2 nb takers:
119.40 ns
messages over time/2 nb adders, 2 nb takers:
33.50 M/s
time per message/2 nb adders, 2 takers:
151.71 ns
messages over time/2 nb adders, 2 takers:
26.37 M/s
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `WHJKYQCZ'.
[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.116s. 2 tests run.
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 4348993701237723173
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 2.0s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3538615761877975974
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 4.0s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 336137783945483162
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 7.8s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1108556766080858314
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Queue sequential
[✓] 256 0 0 256 / 256 22.0s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3109178564853345645
generated error fail pass / total time test name
[✓] 322 0 0 322 / 322 0.0s Queue sequential
[✓] 322 0 0 322 / 322 29.3s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 854979343452851258
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 2.0s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2349533802631929639
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 3.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2246497256164969626
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 9.1s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3599605722842752323
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl sequential
[✓] 256 0 0 256 / 256 22.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 370172179320454928
generated error fail pass / total time test name
[✓] 289 0 0 289 / 289 0.0s Hashtbl sequential
[✓] 289 0 0 289 / 289 28.0s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 3994317553897652031
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 2.1s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1501552603736117697
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 4.1s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 4152089079124538118
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 8.2s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1874917432779980597
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Dllist sequential
[ ] 231 0
[✓] 256 0 0 256 / 256 21.9s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 732921481680182990
generated error fail pass / total time test name
[✓] 314 0 0 314 / 314 0.0s Dllist sequential
[✓] 314 0 0 314 / 314 30.3s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 235377016234200796
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 1.6s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 1667645727741538572
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 4.1s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 480897910060456264
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 8.1s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2161702042339806957
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Accumulator sequential
[✓] 256 0 0 256 / 256 21.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 881292772211217569
generated error fail pass / total time test name
[✓] 338 0 0 338 / 338 0.0s Accumulator sequential
[✓] 338 0 0 338 / 338 31.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 487961182951930671
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 1.9s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 262130842442016885
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 4.7s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2565520577518469067
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 9.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 901955955500304732
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl_with_order sequential
[✓] 256 0 0 256 / 256 23.0s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3962009814101803584
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl_with_order sequential
[✓] 256 0 0 256 / 256 27.8s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 2933578542764684987
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.7s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3606061572090769957
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 4.0s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3433152882379853610
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 7.7s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3890516623414086875
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Stack sequential
[✓] 256 0 0 256 / 256 21.0s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1424533572952924475
generated error fail pass / total time test name
[✓] 356 0 0 356 / 356 0.0s Stack sequential
[✓] 356 0 0 356 / 356 32.9s Stack concurrent
================================================================================
success (ran 2 tests)
2024-09-18 16:46.40 ---> saved as "dc8e94581abec37132ccf24d69fcd8c324acd8bdd7748c5fab245ac992eabfb4"
Job succeeded
2024-09-18 16:46.41: Job succeeded