2024-10-18 17:21.14: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/add-xt-leftist-heap-benchmark (609c614dc8b898e02df72fb1a791d20aeaeb6c48) (linux-x86_64:debian-11-4.14_opam-2.2)
Base: ocaml/opam:debian-11-ocaml-4.14@sha256:9527dd00bf4eab25165c3b12cbeded615485468c37dee117128cc32409dac96a
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "add-xt-leftist-heap-benchmark" && cd "kcas" && git reset --hard 609c614d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-4.14@sha256:9527dd00bf4eab25165c3b12cbeded615485468c37dee117128cc32409dac96a
# 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 b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 kcas_data.opam kcas.opam ./
RUN opam pin add -yn kcas_data.dev './' && \
opam pin add -yn kcas.dev './'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-10-18 17:21.14: Using cache hint "ocaml-multicore/kcas-ocaml/opam:debian-11-ocaml-4.14@sha256:9527dd00bf4eab25165c3b12cbeded615485468c37dee117128cc32409dac96a-debian-11-4.14_opam-2.2-5f4c992c2d473520416af47288a983cf"
2024-10-18 17:21.14: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.14@sha256:9527dd00bf4eab25165c3b12cbeded615485468c37dee117128cc32409dac96a)
(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 b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src kcas_data.opam kcas.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-10-18 17:21.14: Waiting for resource in pool OCluster
2024-10-18 17:23.43: Waiting for worker…
2024-10-18 17:24.20: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 609c614 Add a transaction benchmark using a naïve unscalable leftist heap
(from ocaml/opam:debian-11-ocaml-4.14@sha256:9527dd00bf4eab25165c3b12cbeded615485468c37dee117128cc32409dac96a)
2024-10-18 17:24.21 ---> using "384ac898cf0f8783bbc9d68b7d566c484d7f556b64eb46ddfa3d9bca0272dca4" 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-10-18 17:24.21 ---> using "24de693298e9d3534f3a5fb75eba169ecdc49a8a429d746a1043c73940f3c7a0" 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
[NOTE] The 'jobs' option was reset, its value was 31 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=31 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-18 17:24.21 ---> using "b9648b6bb552c6f850f43a92b88cbf5b7d69bc6a79d477c26abc63a8455675b9" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-10-18 17:24.21 ---> using "18f0d60edc22256829121c71482c59fb0004bee188c307b92957484533e7cccd" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-18 17:24.21 ---> using "adcec65c1c7321963685c584fafda98dfefc95ae36fe889b60b3d4b585f31869" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
75006f8c5e..b8e118d3ef master -> origin/master
b8e118d3ef Merge pull request #26758 from polytypic/release-multicore-bench-0.1.7
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-10-18 17:25.01 ---> saved as "be003288f3eda38ee657d73aaff25db9136bdec50206904fb8649c3e06c78354"
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-10-18 17:25.02 ---> saved as "e0ad5387fc66b059ee6973cda878c8a246864100db9e2892129a54498ebe4b99"
/src: (run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
[kcas_data.dev] synchronised (file:///src)
kcas_data is now pinned to file:///src (version dev)
[kcas.dev] synchronised (file:///src)
kcas is now pinned to file:///src (version dev)
2024-10-18 17:25.06 ---> saved as "59c28a7c658e0181445ef6bfc0d7bf9e5c1b479453f1209053d82824c0bb8e54"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- 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-security bullseye-security/main amd64 Packages [303 kB]
- Fetched 374 kB in 1s (489 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-10-18 17:25.23 ---> saved as "8ef4983f2ee70a1759973669dba534c6656d19911f1ca6f2ca65c2b8152bf596"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 33 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install backoff 0.1.1
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cppo 1.7.0
- install csexp 1.5.2
- install domain-local-await 1.0.1
- install domain-local-timeout 1.0.1
- install domain_shims 0.1.0
- install dune 3.16.0
- install fmt 0.9.0
- install logs 0.7.0
- install mdx 2.4.1
- install mtime 2.1.0
- install multicore-bench 0.1.7
- install multicore-magic 2.3.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.9
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install psq 0.2.1
- install qcheck-core 0.22
- install qcheck-multicoretests-util 0.4
- install qcheck-stm 0.4
- install re 1.12.0
- install result 1.5
- install seq base
- install stdlib-shims 0.3.0
- install thread-table 1.0.0
- install topkg 1.0.7
- install uutf 1.0.3
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved domain-local-timeout.1.0.1 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved multicore-bench.0.1.7 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.9 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved dune.3.16.0 (cached)
-> installed cmdliner.1.3.0
-> installed 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 camlp-streams.5.0.1
-> installed backoff.0.1.1
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed ocaml-version.3.6.9
-> installed psq.0.2.1
-> installed multicore-magic.2.3.0
-> installed domain-local-timeout.1.0.1
-> installed domain-local-await.1.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed 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 qcheck-stm.0.4
-> installed multicore-bench.0.1.7
-> installed alcotest.1.8.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-18 17:26.15 ---> saved as "1b080e580fed173fa61b2e23d6566b3c99c27ff1863816ca00902c2afa3771d7"
/src: (copy (src .) (dst /src))
2024-10-18 17:26.17 ---> saved as "8a2381517c309760baf48d5a6a9439ad87be270301f023bd3b2bd22dc0ce3b76"
/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 `LEII0YNS'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `1B0MCFYX'.
[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 `FL4KGPLN'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `FHXW1ROP'.
[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 `12TAJ4IH'.
[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 `GDK7BKM7'.
[OK] replace and remove 0
[OK] large tx 0
[OK] large ops 0
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Hashtbl'.
Test Successful in 0.005s. 4 tests run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `HK0ICRRD'.
[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 && ./test.exe)
Testing `Kcas'.
This run has ID `YMOGI7MJ'.
[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.002s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
83.07 M/s
ops over time/get:
219.29 M/s
ops over time/incr:
45.00 M/s
ops over time/push & pop:
44.92 M/s
ops over time/swap:
41.90 M/s
ops over time/xchg int:
59.87 M/s
time per op/cas int:
12.04 ns
time per op/get:
4.56 ns
time per op/incr:
22.22 ns
time per op/push & pop:
22.26 ns
time per op/swap:
23.86 ns
time per op/xchg int:
16.70 ns
Kcas Xt:
time per transaction/0 loc tx:
15.20 ns
time per transaction/1 loc tx:
45.86 ns
time per transaction/2 loc tx:
109.41 ns
time per transaction/4 loc tx:
198.89 ns
time per transaction/8 loc tx:
414.84 ns
transactions over time/0 loc tx:
65.79 M/s
transactions over time/1 loc tx:
21.82 M/s
transactions over time/2 loc tx:
9.14 M/s
transactions over time/4 loc tx:
5.03 M/s
transactions over time/8 loc tx:
2.41 M/s
Kcas Xt Leftist_heap (unscalable):
operations over time/1 worker, 1000 preload:
0.15 M/s
operations over time/1 worker, 100 preload:
0.46 M/s
operations over time/1 worker, 10 preload:
1.19 M/s
operations over time/2 workers, 1000 preload:
0.15 M/s
operations over time/2 workers, 100 preload:
0.45 M/s
operations over time/2 workers, 10 preload:
1.23 M/s
operations over time/4 workers, 1000 preload:
0.15 M/s
operations over time/4 workers, 100 preload:
0.49 M/s
operations over time/4 workers, 10 preload:
1.33 M/s
time per operation/1 worker, 1000 preload:
6806.18 ns
time per operation/1 worker, 100 preload:
2182.77 ns
time per operation/1 worker, 10 preload:
843.88 ns
time per operation/2 workers, 1000 preload:
13770.03 ns
time per operation/2 workers, 100 preload:
4450.56 ns
time per operation/2 workers, 10 preload:
1631.14 ns
time per operation/4 workers, 1000 preload:
26826.18 ns
time per operation/4 workers, 100 preload:
8133.11 ns
time per operation/4 workers, 10 preload:
3005.91 ns
Kcas Xt read-only:
time per transaction/0 loc tx:
16.26 ns
time per transaction/1 loc tx:
35.13 ns
time per transaction/2 loc tx:
68.64 ns
time per transaction/4 loc tx:
115.02 ns
time per transaction/8 loc tx:
193.49 ns
transactions over time/0 loc tx:
61.50 M/s
transactions over time/1 loc tx:
28.47 M/s
transactions over time/2 loc tx:
14.57 M/s
transactions over time/4 loc tx:
8.69 M/s
transactions over time/8 loc tx:
5.17 M/s
Kcas parallel CMP:
time per transaction/1 worker:
117.35 ns
time per transaction/2 workers:
240.33 ns
time per transaction/4 workers:
429.46 ns
transactions over time/1 worker:
8.52 M/s
transactions over time/2 workers:
8.32 M/s
transactions over time/4 workers:
9.31 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
47.44 M/s
operations over time/2 workers, 0% reads:
51.32 M/s
operations over time/4 workers, 0% reads:
39.74 M/s
time per operation/1 worker, 0% reads:
21.08 ns
time per operation/2 workers, 0% reads:
38.97 ns
time per operation/4 workers, 0% reads:
100.66 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
3.03 M/s
messages over time/1 nb adder, 2 nb takers:
2.81 M/s
messages over time/2 nb adders, 1 nb taker:
3.19 M/s
messages over time/2 nb adders, 2 nb takers:
2.74 M/s
messages over time/one domain:
1.97 M/s
time per message/1 nb adder, 1 nb taker:
659.84 ns
time per message/1 nb adder, 2 nb takers:
1069.00 ns
time per message/2 nb adders, 1 nb taker:
940.27 ns
time per message/2 nb adders, 2 nb takers:
1458.68 ns
time per message/one domain:
508.51 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
4.82 M/s
operations over time/1 worker, 50% reads:
6.86 M/s
operations over time/1 worker, 90% reads:
12.66 M/s
operations over time/2 workers, 10% reads:
3.89 M/s
operations over time/2 workers, 50% reads:
5.00 M/s
operations over time/2 workers, 90% reads:
11.70 M/s
operations over time/4 workers, 10% reads:
4.65 M/s
operations over time/4 workers, 50% reads:
5.09 M/s
operations over time/4 workers, 90% reads:
10.06 M/s
time per operation/1 worker, 10% reads:
207.54 ns
time per operation/1 worker, 50% reads:
145.84 ns
time per operation/1 worker, 90% reads:
78.97 ns
time per operation/2 workers, 10% reads:
513.77 ns
time per operation/2 workers, 50% reads:
399.79 ns
time per operation/2 workers, 90% reads:
171.01 ns
time per operation/4 workers, 10% reads:
860.78 ns
time per operation/4 workers, 50% reads:
786.39 ns
time per operation/4 workers, 90% reads:
397.47 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.08 M/s
messages over time/1 adder, 1 taker:
0.08 M/s
messages over time/1 adder, 2 nb takers:
0.08 M/s
messages over time/1 adder, 2 takers:
0.08 M/s
messages over time/1 nb adder, 1 nb taker:
0.08 M/s
messages over time/1 nb adder, 1 taker:
0.08 M/s
messages over time/1 nb adder, 2 nb takers:
0.09 M/s
messages over time/1 nb adder, 2 takers:
0.07 M/s
messages over time/2 adders, 1 nb taker:
0.08 M/s
messages over time/2 adders, 1 taker:
0.07 M/s
messages over time/2 adders, 2 nb takers:
0.08 M/s
messages over time/2 adders, 2 takers:
0.08 M/s
messages over time/2 nb adders, 1 nb taker:
0.10 M/s
messages over time/2 nb adders, 1 taker:
0.08 M/s
messages over time/2 nb adders, 2 nb takers:
0.09 M/s
messages over time/2 nb adders, 2 takers:
0.05 M/s
time per message/1 adder, 1 nb taker:
25955.78 ns
time per message/1 adder, 1 taker:
24326.01 ns
time per message/1 adder, 2 nb takers:
36333.01 ns
time per message/1 adder, 2 takers:
35741.42 ns
time per message/1 nb adder, 1 nb taker:
24053.45 ns
time per message/1 nb adder, 1 taker:
25118.11 ns
time per message/1 nb adder, 2 nb takers:
33305.99 ns
time per message/1 nb adder, 2 takers:
44286.82 ns
time per message/2 adders, 1 nb taker:
37259.17 ns
time per message/2 adders, 1 taker:
40296.98 ns
time per message/2 adders, 2 nb takers:
48383.67 ns
time per message/2 adders, 2 takers:
49109.85 ns
time per message/2 nb adders, 1 nb taker:
31540.12 ns
time per message/2 nb adders, 1 taker:
39101.74 ns
time per message/2 nb adders, 2 nb takers:
44777.39 ns
time per message/2 nb adders, 2 takers:
80810.16 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
18.83 M/s
messages over time/1 nb adder, 1 taker:
21.14 M/s
messages over time/1 nb adder, 2 nb takers:
20.02 M/s
messages over time/1 nb adder, 2 takers:
17.24 M/s
messages over time/2 nb adders, 1 nb taker:
21.46 M/s
messages over time/2 nb adders, 1 taker:
18.12 M/s
messages over time/2 nb adders, 2 nb takers:
15.80 M/s
messages over time/2 nb adders, 2 takers:
17.99 M/s
messages over time/one domain:
10.00 M/s
time per message/1 nb adder, 1 nb taker:
106.19 ns
time per message/1 nb adder, 1 taker:
94.63 ns
time per message/1 nb adder, 2 nb takers:
149.85 ns
time per message/1 nb adder, 2 takers:
173.97 ns
time per message/2 nb adders, 1 nb taker:
139.77 ns
time per message/2 nb adders, 1 taker:
165.60 ns
time per message/2 nb adders, 2 nb takers:
253.12 ns
time per message/2 nb adders, 2 takers:
222.35 ns
time per message/one domain:
100.00 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
22.55 M/s
messages over time/1 nb adder, 1 taker:
22.43 M/s
messages over time/1 nb adder, 2 nb takers:
18.60 M/s
messages over time/1 nb adder, 2 takers:
18.40 M/s
messages over time/2 nb adders, 1 nb taker:
22.19 M/s
messages over time/2 nb adders, 1 taker:
17.73 M/s
messages over time/2 nb adders, 2 nb takers:
19.93 M/s
messages over time/2 nb adders, 2 takers:
17.63 M/s
messages over time/one domain:
12.01 M/s
time per message/1 nb adder, 1 nb taker:
88.70 ns
time per message/1 nb adder, 1 taker:
89.18 ns
time per message/1 nb adder, 2 nb takers:
161.33 ns
time per message/1 nb adder, 2 takers:
163.04 ns
time per message/2 nb adders, 1 nb taker:
135.22 ns
time per message/2 nb adders, 1 taker:
169.24 ns
time per message/2 nb adders, 2 nb takers:
200.67 ns
time per message/2 nb adders, 2 takers:
226.93 ns
time per message/one domain:
83.25 ns
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `I5EFJN6P'.
[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.387s. 2 tests run.
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 904773533410646052
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 9.1s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1444195500499706920
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 29.8s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 4067663277439757941
generated error fail pass / total time test name
[✓] 52 0 0 52 / 52 0.0s Queue sequential
[✓] 52 0 0 52 / 52 22.5s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 505982818665238860
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 9.7s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2348982714440206613
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 29.3s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3404316298685047054
generated error fail pass / total time test name
[✓] 51 0 0 51 / 51 0.0s Accumulator sequential
[✓] 51 0 0 51 / 51 22.7s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 3012347535069144292
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 9.8s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 4249757037841837327
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 29.7s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 656185879350699670
generated error fail pass / total time test name
[✓] 49 0 0 49 / 49 0.0s Dllist sequential
[✓] 49 0 0 49 / 49 22.2s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 3680528505345988281
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 12.9s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3113219161932835095
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 33.4s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3148180368907783572
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 15.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 4433047739088127956
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 8.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2947550763846044911
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 30.6s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4256526264873743508
generated error fail pass / total time test name
[✓] 49 0 0 49 / 49 0.0s Hashtbl sequential
[✓] 49 0 0 49 / 49 22.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 3574195095824485000
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 8.3s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 25046506650071586
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 29.6s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3430931234717946091
generated error fail pass / total time test name
[✓] 56 0 0 56 / 56 0.0s Stack sequential
[✓] 56 0 0 56 / 56 25.4s Stack concurrent
================================================================================
success (ran 2 tests)
2024-10-18 17:27.23 ---> saved as "50e43d8e8bcfe636d9405421ff7287767dea2983923dde876efc98deb2e922b3"
Job succeeded
2024-10-18 17:27.24: Job succeeded