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:debian-11-4.14_opam-2.2)
Base: ocaml/opam:debian-11-ocaml-4.14@sha256:380d042e408984ce5511dd010ef2a9a6f0a59087b76b77d384b994e7f10e7f28
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-11-ocaml-4.14@sha256:380d042e408984ce5511dd010ef2a9a6f0a59087b76b77d384b994e7f10e7f28
# debian-11-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:debian-11-ocaml-4.14@sha256:380d042e408984ce5511dd010ef2a9a6f0a59087b76b77d384b994e7f10e7f28-debian-11-4.14_opam-2.2-6f18f9c4802d6c411f3695732ffd3e0c"
2024-09-18 15:15.06: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.14@sha256:380d042e408984ce5511dd010ef2a9a6f0a59087b76b77d384b994e7f10e7f28)
(comment debian-11-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.44: Waiting for worker…
2024-09-18 16:45.50: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
HEAD is now at fa732ba Add a transaction benchmark using a naïve unscalable leftist heap
(from ocaml/opam:debian-11-ocaml-4.14@sha256:380d042e408984ce5511dd010ef2a9a6f0a59087b76b77d384b994e7f10e7f28)
Unable to find image 'ocaml/opam:debian-11-ocaml-4.14@sha256:380d042e408984ce5511dd010ef2a9a6f0a59087b76b77d384b994e7f10e7f28' locally
docker.io/ocaml/opam@sha256:380d042e408984ce5511dd010ef2a9a6f0a59087b76b77d384b994e7f10e7f28: Pulling from ocaml/opam
36834dc59181: Pulling fs layer
7a46de2c4b04: Pulling fs layer
4e392ce1e92c: Pulling fs layer
a91adcd445ad: Pulling fs layer
64d81edac0ce: Pulling fs layer
64d81edac0ce: Waiting
4e392ce1e92c: Verifying Checksum
4e392ce1e92c: Download complete
a91adcd445ad: Verifying Checksum
a91adcd445ad: Download complete
64d81edac0ce: Verifying Checksum
64d81edac0ce: Download complete
7a46de2c4b04: Verifying Checksum
7a46de2c4b04: Download complete
36834dc59181: Verifying Checksum
36834dc59181: Download complete
36834dc59181: Pull complete
7a46de2c4b04: Pull complete
4e392ce1e92c: Pull complete
a91adcd445ad: Pull complete
64d81edac0ce: Pull complete
Digest: sha256:380d042e408984ce5511dd010ef2a9a6f0a59087b76b77d384b994e7f10e7f28
Status: Downloaded newer image for ocaml/opam@sha256:380d042e408984ce5511dd010ef2a9a6f0a59087b76b77d384b994e7f10e7f28
2024-09-18 16:45.51 ---> using "31826883d75758077fc904edf8f108371373fc46a47bc2094536847224befa57" from cache
/: (comment debian-11-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:45.51 ---> using "a702fa3fbda535286b4714bdd4e2292e9fcca708c0e6147c3e6b63350f66efee" 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:45.51 ---> using "7440bfc2adbcb1915db5d58a0b463027c3b0a84bf9705e253d72b8817a0675b1" 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:45.51 ---> using "bcce211c54da9d554060cd16cbd2ebfb2116f35b3685e5e0b76eb22e3f279673" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-18 16:45.51 ---> using "60b9aea1e6fed279f9c08c85ad2e31d4d82295fc3f6e627ba7acafd86d82ae4f" 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:45.51 ---> using "c2c21f61b390f3eb7780436659337818f33aa43d9a10e5eb7fabf0f23e2b97e7" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-18 16:45.51 ---> saved as "1a02ffcd1cdc3794945682686b905bfe64861403f7a8ff23ec84e252bd58e775"
/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:45.57 ---> saved as "a4dcdf49bb5bd3b64678e77f5c2c612d23bae4159b7712a6c6f3c74e9815b2ef"
/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"
- Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8066 kB]
- Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [294 kB]
- Fetched 8547 kB in 3s (3362 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:46.27 ---> saved as "39883db636dcd3d5dccd37452809bf50813311bf46078e627f4eae046f2c6de6"
/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 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 re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved dune.3.16.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed stdlib-shims.0.3.0
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed result.1.5
-> installed multicore-magic.2.3.0
-> installed backoff.0.1.0
-> installed thread-table.1.0.0
-> installed ocaml-version.3.6.8
-> installed psq.0.2.1
-> installed domain-local-await.1.0.1
-> installed domain-local-timeout.1.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.7.0
-> installed re.1.12.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.4
-> installed qcheck-stm.0.4
-> installed multicore-bench.0.1.5
-> installed alcotest.1.8.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-18 16:47.57 ---> saved as "ee8423f8343894e7eee9743c5582fc32510958c3399971cba2a74bde7b82d846"
/src: (copy (src .) (dst /src))
2024-09-18 16:47.58 ---> saved as "0150f3a3072f42705f5d3d7c42b41b2bd9bb59e413c0af954bc1e3fda13c945d"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/kcas && ./loc_modes.exe)
Loc modes OK!
(cd _build/default/test/kcas && ./threads.exe)
Testing `Threads'.
This run has ID `2YKUAW1J'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.031s. 1 test run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `9VR2KVGT'.
[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 && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `CDGU771O'.
[OK] non linearizable xt 0
[OK] set 0
[OK] no skew xt 0
[OK] get seq xt 0
[OK] stress xt 0
[OK] is_in_log 0
[OK] updates 0
[OK] post commit 0
[OK] blocking 0
[OK] no unnecessary wakeups 0
[OK] pediodic validation 0
[OK] explicit validation 0
[OK] rollback 0
[OK] call 0
[OK] mode 0
[OK] xt 0
[OK] timeout (non-deterministic) 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Kcas'.
Test Successful in 1.145s. 17 tests run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `2FL4ZVI3'.
[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.012s. 4 tests run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `G9M50GV2'.
[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 && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `O791GGD4'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.029s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `VUH4N5OL'.
[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 && ./xt_test.exe)
Testing `Transactions'.
This run has ID `YD3OTH8L'.
[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/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
5.71 ns
ops over time/get:
175.23 M/s
time per op/incr:
28.34 ns
ops over time/incr:
35.28 M/s
time per op/push & pop:
39.78 ns
ops over time/push & pop:
25.14 M/s
time per op/cas int:
21.55 ns
ops over time/cas int:
46.40 M/s
time per op/xchg int:
22.49 ns
ops over time/xchg int:
44.47 M/s
time per op/swap:
32.56 ns
ops over time/swap:
30.73 M/s
Kcas Xt:
time per transaction/0 loc tx:
21.52 ns
transactions over time/0 loc tx:
46.47 M/s
time per transaction/1 loc tx:
73.57 ns
transactions over time/1 loc tx:
13.59 M/s
time per transaction/2 loc tx:
181.74 ns
transactions over time/2 loc tx:
5.50 M/s
time per transaction/4 loc tx:
326.66 ns
transactions over time/4 loc tx:
3.06 M/s
time per transaction/8 loc tx:
525.81 ns
transactions over time/8 loc tx:
1.90 M/s
Kcas Xt Leftist_heap (unscalable):
time per operation/1 worker, 10 preload:
1091.56 ns
operations over time/1 worker, 10 preload:
0.92 M/s
time per operation/2 workers, 10 preload:
2726.50 ns
operations over time/2 workers, 10 preload:
0.73 M/s
time per operation/4 workers, 10 preload:
5726.59 ns
operations over time/4 workers, 10 preload:
0.70 M/s
time per operation/1 worker, 100 preload:
8506.60 ns
operations over time/1 worker, 100 preload:
0.12 M/s
time per operation/2 workers, 100 preload:
5848.14 ns
operations over time/2 workers, 100 preload:
0.34 M/s
time per operation/4 workers, 100 preload:
42449.41 ns
operations over time/4 workers, 100 preload:
0.09 M/s
time per operation/1 worker, 1000 preload:
11071.54 ns
operations over time/1 worker, 1000 preload:
0.09 M/s
time per operation/2 workers, 1000 preload:
20920.47 ns
operations over time/2 workers, 1000 preload:
0.10 M/s
time per operation/4 workers, 1000 preload:
43458.87 ns
operations over time/4 workers, 1000 preload:
0.09 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
22.31 ns
transactions over time/0 loc tx:
44.83 M/s
time per transaction/1 loc tx:
50.06 ns
transactions over time/1 loc tx:
19.98 M/s
time per transaction/2 loc tx:
99.32 ns
transactions over time/2 loc tx:
10.07 M/s
time per transaction/4 loc tx:
168.62 ns
transactions over time/4 loc tx:
5.93 M/s
time per transaction/8 loc tx:
275.24 ns
transactions over time/8 loc tx:
3.63 M/s
Kcas parallel CMP:
time per transaction/1 worker:
203.80 ns
transactions over time/1 worker:
4.91 M/s
time per transaction/2 workers:
486.22 ns
transactions over time/2 workers:
4.11 M/s
time per transaction/4 workers:
905.13 ns
transactions over time/4 workers:
4.42 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
52.63 ns
operations over time/1 worker, 0% reads:
19.01 M/s
time per operation/2 workers, 0% reads:
110.44 ns
operations over time/2 workers, 0% reads:
18.11 M/s
time per operation/4 workers, 0% reads:
428.77 ns
operations over time/4 workers, 0% reads:
9.33 M/s
Kcas_data Dllist:
time per message/one domain:
3826.61 ns
messages over time/one domain:
0.26 M/s
time per message/1 nb adder, 1 nb taker:
1252.46 ns
messages over time/1 nb adder, 1 nb taker:
1.60 M/s
time per message/1 nb adder, 2 nb takers:
2156.01 ns
messages over time/1 nb adder, 2 nb takers:
1.39 M/s
time per message/2 nb adders, 1 nb taker:
2002.43 ns
messages over time/2 nb adders, 1 nb taker:
1.50 M/s
time per message/2 nb adders, 2 nb takers:
2570.30 ns
messages over time/2 nb adders, 2 nb takers:
1.56 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
179.66 ns
operations over time/1 worker, 90% reads:
5.57 M/s
time per operation/2 workers, 90% reads:
378.64 ns
operations over time/2 workers, 90% reads:
5.28 M/s
time per operation/4 workers, 90% reads:
886.27 ns
operations over time/4 workers, 90% reads:
4.51 M/s
time per operation/1 worker, 50% reads:
373.65 ns
operations over time/1 worker, 50% reads:
2.68 M/s
time per operation/2 workers, 50% reads:
885.33 ns
operations over time/2 workers, 50% reads:
2.26 M/s
time per operation/4 workers, 50% reads:
1852.03 ns
operations over time/4 workers, 50% reads:
2.16 M/s
time per operation/1 worker, 10% reads:
522.90 ns
operations over time/1 worker, 10% reads:
1.91 M/s
time per operation/2 workers, 10% reads:
1040.45 ns
operations over time/2 workers, 10% reads:
1.92 M/s
time per operation/4 workers, 10% reads:
6928.12 ns
operations over time/4 workers, 10% reads:
0.58 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
27557.68 ns
messages over time/1 nb adder, 1 nb taker:
0.07 M/s
time per message/1 nb adder, 1 taker:
29841.54 ns
messages over time/1 nb adder, 1 taker:
0.07 M/s
time per message/1 nb adder, 2 nb takers:
32190.63 ns
messages over time/1 nb adder, 2 nb takers:
0.09 M/s
time per message/1 nb adder, 2 takers:
37609.72 ns
messages over time/1 nb adder, 2 takers:
0.08 M/s
time per message/1 adder, 1 nb taker:
36054.57 ns
messages over time/1 adder, 1 nb taker:
0.06 M/s
time per message/1 adder, 1 taker:
25107.76 ns
messages over time/1 adder, 1 taker:
0.08 M/s
time per message/1 adder, 2 nb takers:
34237.29 ns
messages over time/1 adder, 2 nb takers:
0.09 M/s
time per message/1 adder, 2 takers:
33021.74 ns
messages over time/1 adder, 2 takers:
0.09 M/s
time per message/2 nb adders, 1 nb taker:
53820.96 ns
messages over time/2 nb adders, 1 nb taker:
0.06 M/s
time per message/2 nb adders, 1 taker:
39612.52 ns
messages over time/2 nb adders, 1 taker:
0.08 M/s
time per message/2 nb adders, 2 nb takers:
176828.11 ns
messages over time/2 nb adders, 2 nb takers:
0.02 M/s
time per message/2 nb adders, 2 takers:
52369.30 ns
messages over time/2 nb adders, 2 takers:
0.08 M/s
time per message/2 adders, 1 nb taker:
49826.83 ns
messages over time/2 adders, 1 nb taker:
0.06 M/s
time per message/2 adders, 1 taker:
35934.55 ns
messages over time/2 adders, 1 taker:
0.08 M/s
time per message/2 adders, 2 nb takers:
43176.44 ns
messages over time/2 adders, 2 nb takers:
0.09 M/s
time per message/2 adders, 2 takers:
114446.77 ns
messages over time/2 adders, 2 takers:
0.03 M/s
Kcas_data Queue:
time per message/one domain:
167.51 ns
messages over time/one domain:
5.97 M/s
time per message/1 nb adder, 1 nb taker:
139.72 ns
messages over time/1 nb adder, 1 nb taker:
14.31 M/s
time per message/1 nb adder, 1 taker:
139.11 ns
messages over time/1 nb adder, 1 taker:
14.38 M/s
time per message/1 nb adder, 2 nb takers:
234.47 ns
messages over time/1 nb adder, 2 nb takers:
12.80 M/s
time per message/1 nb adder, 2 takers:
235.58 ns
messages over time/1 nb adder, 2 takers:
12.73 M/s
time per message/2 nb adders, 1 nb taker:
188.95 ns
messages over time/2 nb adders, 1 nb taker:
15.88 M/s
time per message/2 nb adders, 1 taker:
185.96 ns
messages over time/2 nb adders, 1 taker:
16.13 M/s
time per message/2 nb adders, 2 nb takers:
323.95 ns
messages over time/2 nb adders, 2 nb takers:
12.35 M/s
time per message/2 nb adders, 2 takers:
254.32 ns
messages over time/2 nb adders, 2 takers:
15.73 M/s
Kcas_data Stack:
time per message/one domain:
116.93 ns
messages over time/one domain:
8.55 M/s
time per message/1 nb adder, 1 nb taker:
108.30 ns
messages over time/1 nb adder, 1 nb taker:
18.47 M/s
time per message/1 nb adder, 1 taker:
109.98 ns
messages over time/1 nb adder, 1 taker:
18.19 M/s
time per message/1 nb adder, 2 nb takers:
194.85 ns
messages over time/1 nb adder, 2 nb takers:
15.40 M/s
time per message/1 nb adder, 2 takers:
212.57 ns
messages over time/1 nb adder, 2 takers:
14.11 M/s
time per message/2 nb adders, 1 nb taker:
172.51 ns
messages over time/2 nb adders, 1 nb taker:
17.39 M/s
time per message/2 nb adders, 1 taker:
179.64 ns
messages over time/2 nb adders, 1 taker:
16.70 M/s
time per message/2 nb adders, 2 nb takers:
298.90 ns
messages over time/2 nb adders, 2 nb takers:
13.38 M/s
time per message/2 nb adders, 2 takers:
304.89 ns
messages over time/2 nb adders, 2 takers:
13.12 M/s
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `ZV53GGPF'.
[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.573s. 2 tests run.
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 436206414120413873
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 17.6s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1219936877736054958
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 33.5s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 2587089051546946980
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 13.3s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 1240816032860213543
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 21.2s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 456212758266014077
generated error fail pass / total time test name
[✓] 58 0 0 58 / 58 0.0s Accumulator sequential
[✓] 58 0 0 58 / 58 20.3s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 586213746587556392
generated error fail pass / total time test name
[✓] 39 0 0 39 / 39 0.0s Accumulator sequential
[✓] 39 0 0 39 / 39 13.8s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3363132925064288225
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 11.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 4339927526448423464
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 21.0s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3725689378019421119
generated error fail pass / total time test name
[✓] 59 0 0 59 / 59 0.0s Dllist sequential
[✓] 59 0 0 59 / 59 20.8s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3339320173896981423
generated error fail pass / total time test name
[✓] 39 0 0 39 / 39 0.0s Dllist sequential
[✓] 39 0 0 39 / 39 15.3s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 768977750491201334
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 10.3s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 659351538280501054
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 20.5s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1517110757454592739
generated error fail pass / total time test name
[✓] 61 0 0 61 / 61 0.0s Queue sequential
[✓] 61 0 0 61 / 61 20.1s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2849263588018847771
generated error fail pass / total time test name
[✓] 44 0 0 44 / 44 0.0s Queue sequential
[✓] 44 0 0 44 / 44 15.7s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 4052368846427127397
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 11.6s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 1262550535793726526
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 21.6s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 1917768282373987093
generated error fail pass / total time test name
[✓] 56 0 0 56 / 56 0.0s Hashtbl sequential
[✓] 56 0 0 56 / 56 34.8s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4168118103419640139
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 13.4s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 621416214257000057
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 20.6s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 1934254687279481008
generated error fail pass / total time test name
[✓] 61 0 0 61 / 61 0.0s Hashtbl_with_order sequential
[✓] 61 0 0 61 / 61 24.0s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3016552259764404068
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 14.3s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2744028535979120502
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 10.9s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-09-18 16:49.13 ---> saved as "3e8edf67647379a546705db0189c42d3ab348bf0591e624af9c66a63fde71fa4"
Job succeeded
2024-09-18 16:49.13: Job succeeded