2024-08-28 13:38.19: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/add-xt-leftist-heap-benchmark (1218728ecd65e793cd7b8f37cd1a427a9d408b1e) (linux-x86_64:debian-12-5.2_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:e398e9d0d0fcc54da365469956da90a6cd913160a9337bbf28992098170df899
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 1218728e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:e398e9d0d0fcc54da365469956da90a6cd913160a9337bbf28992098170df899
# debian-12-5.2_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && 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-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.6.9 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.0.0 multicore-bench.0.1.4 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.11.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-08-28 13:38.19: Using cache hint "ocaml-multicore/kcas-ocaml/opam:debian-12-ocaml-5.2@sha256:e398e9d0d0fcc54da365469956da90a6cd913160a9337bbf28992098170df899-debian-12-5.2_opam-2.2-a211d66f7f0e1e12c7244f8542140424"
2024-08-28 13:38.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:e398e9d0d0fcc54da365469956da90a6cd913160a9337bbf28992098170df899)
(comment debian-12-5.2_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && 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-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.6.9 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.0.0 multicore-bench.0.1.4 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.11.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-08-28 13:38.19: Waiting for resource in pool OCluster
2024-08-28 22:59.50: Waiting for worker…
2024-08-28 23:09.16: Got resource from pool OCluster
Building on x86-bm-c13.sw.ocaml.org
All commits already cached
HEAD is now at 1218728 Add a transaction benchmark using a naïve unscalable leftist heap
(from ocaml/opam:debian-12-ocaml-5.2@sha256:e398e9d0d0fcc54da365469956da90a6cd913160a9337bbf28992098170df899)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:e398e9d0d0fcc54da365469956da90a6cd913160a9337bbf28992098170df899' locally
docker.io/ocaml/opam@sha256:e398e9d0d0fcc54da365469956da90a6cd913160a9337bbf28992098170df899: Pulling from ocaml/opam
4c032a4abeb7: Pulling fs layer
4c032a4abeb7: Verifying Checksum
4c032a4abeb7: Download complete
4c032a4abeb7: Pull complete
Digest: sha256:e398e9d0d0fcc54da365469956da90a6cd913160a9337bbf28992098170df899
Status: Downloaded newer image for ocaml/opam@sha256:e398e9d0d0fcc54da365469956da90a6cd913160a9337bbf28992098170df899
2024-08-28 23:09.16 ---> using "f349f5b6e47c5f224f11249672bccf0514f0de0a7de3409664e5870c48ac326c" from cache
/: (comment debian-12-5.2_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-08-28 23:09.16 ---> using "fcf05111bf638f96f35f3823f199c74ad5c2d97542daca4f255545ff1920f49a" 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-08-28 23:09.16 ---> using "620c4215f135e814944d8f349c4023a228e97fb3d43d455fbacb01a2916a7353" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 5.2.0
2.2.0
2024-08-28 23:09.16 ---> using "d4e2ce161ee1d7d7c703f17adb6c9a30aaf4fa9ff570e5ffd93764b6e5824c80" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-08-28 23:09.16 ---> using "904163ca0fc805a099ccc3393c6f8ef1e63ca1a0f07108fed66498cfdfa2e4d2" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
7c4ff52ef3..2beff567ef master -> origin/master
2c6ced5ce1 Merge pull request #26448 from avsm/upper-mdx
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
The following actions will be performed:
=== upgrade 1 package
- upgrade opam-depext 1.2.1-1 to 1.2.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3 (cached)
-> removed opam-depext.1.2.1-1
-> installed opam-depext.1.2.3
Done.
<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-08-28 23:09.16 ---> using "1f066839c4ad326e6738b767869d18bdcd21ed97e4472f10c4321db09aa4cec6" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-08-28 23:09.16 ---> using "280b52024118bfa80d90a3dddeee1c80e943b36a4b195b91f8a91cbee7733da2" 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-08-28 23:09.16 ---> using "789e7c25f1dcd1159fb7e8979e5312bbd737535e5f6855b230bc96350c25126e" from cache
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.6.9 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.0.0 multicore-bench.0.1.4 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.11.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://deb.debian.org/debian bookworm InRelease
- 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-security bookworm-security/main amd64 Packages [179 kB]
- Fetched 282 kB in 0s (695 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-08-28 23:09.16 ---> using "08bb93a0934f7c73a74406ba76370203e13d3971b7bc9b515a0f9a76e83b4f5e" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 33 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install backoff 0.1.0
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cppo 1.6.9
- 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.0.0
- install multicore-bench 0.1.4
- 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.3
- install qcheck-stm 0.3
- install re 1.11.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 alcotest.1.8.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.6.9 (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.0.0 (cached)
-> retrieved multicore-bench.0.1.4 (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.3, qcheck-stm.0.3 (cached)
-> retrieved re.1.11.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.0.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed domain_shims.0.1.0
-> installed backoff.0.1.0
-> installed csexp.1.5.2
-> installed ocaml-version.3.6.8
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed thread-table.1.0.0
-> installed psq.0.2.1
-> installed camlp-streams.5.0.1
-> installed multicore-magic.2.3.0
-> installed domain-local-timeout.1.0.1
-> installed domain-local-await.1.0.1
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed ocaml-syntax-shims.1.0.0
-> installed yojson.2.2.2
-> installed qcheck-core.0.22
-> installed qcheck-multicoretests-util.0.3
-> installed alcotest.1.8.0
-> installed multicore-bench.0.1.4
-> installed qcheck-stm.0.3
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-08-28 23:09.16 ---> using "d3ae86fc0da020d7ada0025739c0f63041d4f47d284d11ff32eb5109adcd69b2" from cache
/src: (copy (src .) (dst /src))
2024-08-28 23:09.16 ---> saved as "457891ce8d2965abd10c1f5a370a87df02458c3f19a9ea1e3001626be46b8b46"
/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 `CVM2KMVJ'.
[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 && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `7WL7K3MS'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 0.058s. 2 tests run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `M3JO0R6M'.
[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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `2NBWQBEV'.
[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.001s. 3 tests run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `M4V8YPP3'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Stack'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `DV3UK6FE'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.002s. 1 test run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `C1AN0TG2'.
[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 && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `T78LHYSJ'.
[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.036s. 4 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `00I8XDP3'.
[OK] non linearizable xt 0
[OK] set 0
[OK] no skew xt 0
[OK] get seq xt 0
[OK] stress xt 0
[OK] is_in_log 0
[OK] updates 0
[OK] post commit 0
[OK] blocking 0
[OK] no unnecessary wakeups 0
[OK] pediodic validation 0
[OK] explicit validation 0
[OK] rollback 0
[OK] call 0
[OK] mode 0
[OK] xt 0
[OK] timeout (non-deterministic) 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Kcas'.
Test Successful in 2.299s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
9.66 ns
ops over time/get:
103.48 M/s
time per op/incr:
44.34 ns
ops over time/incr:
22.55 M/s
time per op/push & pop:
61.31 ns
ops over time/push & pop:
16.31 M/s
time per op/cas int:
38.26 ns
ops over time/cas int:
26.14 M/s
time per op/xchg int:
37.86 ns
ops over time/xchg int:
26.41 M/s
time per op/swap:
45.63 ns
ops over time/swap:
21.92 M/s
Kcas Xt:
time per transaction/0 loc tx:
25.26 ns
transactions over time/0 loc tx:
39.59 M/s
time per transaction/1 loc tx:
137.24 ns
transactions over time/1 loc tx:
7.29 M/s
time per transaction/2 loc tx:
279.29 ns
transactions over time/2 loc tx:
3.58 M/s
time per transaction/4 loc tx:
401.88 ns
transactions over time/4 loc tx:
2.49 M/s
time per transaction/8 loc tx:
664.14 ns
transactions over time/8 loc tx:
1.51 M/s
Kcas Xt Leftist_heap (unscalable):
time per operation/1 worker, 10 preload:
1446.94 ns
operations over time/1 worker, 10 preload:
0.69 M/s
time per operation/2 workers, 10 preload:
3117.78 ns
operations over time/2 workers, 10 preload:
0.64 M/s
time per operation/4 workers, 10 preload:
6031.65 ns
operations over time/4 workers, 10 preload:
0.66 M/s
time per operation/1 worker, 100 preload:
1872.65 ns
operations over time/1 worker, 100 preload:
0.53 M/s
time per operation/2 workers, 100 preload:
3958.38 ns
operations over time/2 workers, 100 preload:
0.51 M/s
time per operation/4 workers, 100 preload:
16448.84 ns
operations over time/4 workers, 100 preload:
0.24 M/s
time per operation/1 worker, 1000 preload:
6414.00 ns
operations over time/1 worker, 1000 preload:
0.16 M/s
time per operation/2 workers, 1000 preload:
14095.58 ns
operations over time/2 workers, 1000 preload:
0.14 M/s
time per operation/4 workers, 1000 preload:
61035.53 ns
operations over time/4 workers, 1000 preload:
0.07 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
30.29 ns
transactions over time/0 loc tx:
33.02 M/s
time per transaction/1 loc tx:
66.20 ns
transactions over time/1 loc tx:
15.11 M/s
time per transaction/2 loc tx:
131.58 ns
transactions over time/2 loc tx:
7.60 M/s
time per transaction/4 loc tx:
197.89 ns
transactions over time/4 loc tx:
5.05 M/s
time per transaction/8 loc tx:
373.64 ns
transactions over time/8 loc tx:
2.68 M/s
Kcas parallel CMP:
time per transaction/1 worker:
529.13 ns
transactions over time/1 worker:
1.89 M/s
time per transaction/2 workers:
286.01 ns
transactions over time/2 workers:
6.99 M/s
time per transaction/4 workers:
768.42 ns
transactions over time/4 workers:
5.21 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
92.52 ns
operations over time/1 worker, 0% reads:
10.81 M/s
time per operation/2 workers, 0% reads:
87.25 ns
operations over time/2 workers, 0% reads:
22.92 M/s
time per operation/4 workers, 0% reads:
91.99 ns
operations over time/4 workers, 0% reads:
43.48 M/s
Kcas_data Dllist:
time per message/one domain:
1665.40 ns
messages over time/one domain:
0.60 M/s
time per message/1 nb adder, 1 nb taker:
1556.63 ns
messages over time/1 nb adder, 1 nb taker:
1.28 M/s
time per message/1 nb adder, 2 nb takers:
2883.15 ns
messages over time/1 nb adder, 2 nb takers:
1.04 M/s
time per message/2 nb adders, 1 nb taker:
2194.72 ns
messages over time/2 nb adders, 1 nb taker:
1.37 M/s
time per message/2 nb adders, 2 nb takers:
4277.48 ns
messages over time/2 nb adders, 2 nb takers:
0.94 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
191.60 ns
operations over time/1 worker, 90% reads:
5.22 M/s
time per operation/2 workers, 90% reads:
227.40 ns
operations over time/2 workers, 90% reads:
8.79 M/s
time per operation/4 workers, 90% reads:
361.35 ns
operations over time/4 workers, 90% reads:
11.07 M/s
time per operation/1 worker, 50% reads:
477.53 ns
operations over time/1 worker, 50% reads:
2.09 M/s
time per operation/2 workers, 50% reads:
1024.37 ns
operations over time/2 workers, 50% reads:
1.95 M/s
time per operation/4 workers, 50% reads:
830.08 ns
operations over time/4 workers, 50% reads:
4.82 M/s
time per operation/1 worker, 10% reads:
653.41 ns
operations over time/1 worker, 10% reads:
1.53 M/s
time per operation/2 workers, 10% reads:
1064.82 ns
operations over time/2 workers, 10% reads:
1.88 M/s
time per operation/4 workers, 10% reads:
1610.41 ns
operations over time/4 workers, 10% reads:
2.48 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
615.83 ns
messages over time/1 nb adder, 1 nb taker:
3.25 M/s
time per message/1 nb adder, 1 taker:
998.10 ns
messages over time/1 nb adder, 1 taker:
2.00 M/s
time per message/1 nb adder, 2 nb takers:
915.17 ns
messages over time/1 nb adder, 2 nb takers:
3.28 M/s
time per message/1 nb adder, 2 takers:
1480.60 ns
messages over time/1 nb adder, 2 takers:
2.03 M/s
time per message/1 adder, 1 nb taker:
860.88 ns
messages over time/1 adder, 1 nb taker:
2.32 M/s
time per message/1 adder, 1 taker:
2094.34 ns
messages over time/1 adder, 1 taker:
0.95 M/s
time per message/1 adder, 2 nb takers:
3241.60 ns
messages over time/1 adder, 2 nb takers:
0.93 M/s
time per message/1 adder, 2 takers:
1534.70 ns
messages over time/1 adder, 2 takers:
1.95 M/s
time per message/2 nb adders, 1 nb taker:
2363.12 ns
messages over time/2 nb adders, 1 nb taker:
1.27 M/s
time per message/2 nb adders, 1 taker:
1676.65 ns
messages over time/2 nb adders, 1 taker:
1.79 M/s
time per message/2 nb adders, 2 nb takers:
598.47 ns
messages over time/2 nb adders, 2 nb takers:
6.68 M/s
time per message/2 nb adders, 2 takers:
861.39 ns
messages over time/2 nb adders, 2 takers:
4.66 M/s
time per message/2 adders, 1 nb taker:
1361.91 ns
messages over time/2 adders, 1 nb taker:
2.20 M/s
time per message/2 adders, 1 taker:
1344.77 ns
messages over time/2 adders, 1 taker:
2.23 M/s
time per message/2 adders, 2 nb takers:
1716.42 ns
messages over time/2 adders, 2 nb takers:
2.33 M/s
time per message/2 adders, 2 takers:
1548.15 ns
messages over time/2 adders, 2 takers:
2.58 M/s
Kcas_data Queue:
time per message/one domain:
178.78 ns
messages over time/one domain:
5.59 M/s
time per message/1 nb adder, 1 nb taker:
271.12 ns
messages over time/1 nb adder, 1 nb taker:
7.38 M/s
time per message/1 nb adder, 1 taker:
350.25 ns
messages over time/1 nb adder, 1 taker:
5.71 M/s
time per message/1 nb adder, 2 nb takers:
546.94 ns
messages over time/1 nb adder, 2 nb takers:
5.49 M/s
time per message/1 nb adder, 2 takers:
671.78 ns
messages over time/1 nb adder, 2 takers:
4.47 M/s
time per message/2 nb adders, 1 nb taker:
450.31 ns
messages over time/2 nb adders, 1 nb taker:
6.66 M/s
time per message/2 nb adders, 1 taker:
433.23 ns
messages over time/2 nb adders, 1 taker:
6.92 M/s
time per message/2 nb adders, 2 nb takers:
629.58 ns
messages over time/2 nb adders, 2 nb takers:
6.35 M/s
time per message/2 nb adders, 2 takers:
726.06 ns
messages over time/2 nb adders, 2 takers:
5.51 M/s
Kcas_data Stack:
time per message/one domain:
296.23 ns
messages over time/one domain:
3.38 M/s
time per message/1 nb adder, 1 nb taker:
373.54 ns
messages over time/1 nb adder, 1 nb taker:
5.35 M/s
time per message/1 nb adder, 1 taker:
452.41 ns
messages over time/1 nb adder, 1 taker:
4.42 M/s
time per message/1 nb adder, 2 nb takers:
568.54 ns
messages over time/1 nb adder, 2 nb takers:
5.28 M/s
time per message/1 nb adder, 2 takers:
479.69 ns
messages over time/1 nb adder, 2 takers:
6.25 M/s
time per message/2 nb adders, 1 nb taker:
466.43 ns
messages over time/2 nb adders, 1 nb taker:
6.43 M/s
time per message/2 nb adders, 1 taker:
383.75 ns
messages over time/2 nb adders, 1 taker:
7.82 M/s
time per message/2 nb adders, 2 nb takers:
769.95 ns
messages over time/2 nb adders, 2 nb takers:
5.20 M/s
time per message/2 nb adders, 2 takers:
1362.68 ns
messages over time/2 nb adders, 2 takers:
2.94 M/s
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 40484973
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.3s Accumulator sequential
[✓] 1000 0 0 1000 / 1000 129.7s Accumulator parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 281271321
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.3s Queue sequential
[ ] 931 0 0 931
[✓] 1000 0 0 1000 / 1000 136.8s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 81165301
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.5s Dllist sequential
[✓] 1000 0 0 1000 / 1000 143.8s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 202399143
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.9s Hashtbl_with_order sequential
[✓] 1000 0 0 1000 / 1000 160.0s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 19186411
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.3s Stack sequential
[ ] 487 0 0 487 / 1000 103.5s Stack
[✓] 1000 0 0 1000 / 1000 167.8s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 342416840
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.6s Hashtbl sequential
[✓] 1000 0 0 1000 / 1000 176.0s Hashtbl parallel
================================================================================
success (ran 2 tests)
2024-08-28 23:12.15 ---> saved as "a188cbfd13eacbc92d79eba2b85a0c4d94f424b945bf5e24b4ff06b10d9fdeb0"
Job succeeded
2024-08-28 23:12.16: Job succeeded