2025-01-12 21:47.28: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/add-xt-leftist-heap-benchmark (b95f898b0e2d34ad1a7adec251bad4a854739ca4) (freebsd-x86_64:freebsd-14.1-4.14_opam-2.3)
Base: freebsd-14.1-ocaml-4.14
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 b95f898b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.1-ocaml-4.14
# freebsd-14.1-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.3 /usr/local/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 8e8ee268048d2d5e2963654e1bdaf866d59a5598 || git fetch origin master) && git reset -q --hard 8e8ee268048d2d5e2963654e1bdaf866d59a5598 && 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.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.17.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.1 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.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.23 qcheck-multicoretests-util.0.5 qcheck-stm.0.5 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.3 --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
2025-01-12 21:47.28: Using cache hint "ocaml-multicore/kcas-freebsd-14.1-ocaml-4.14-freebsd-14.1-4.14_opam-2.3-1bdc07ae9a7f1575a6ee534bd54bbf64"
2025-01-12 21:47.28: Using OBuilder spec:
((from freebsd-14.1-ocaml-4.14)
(comment freebsd-14.1-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/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 8e8ee268048d2d5e2963654e1bdaf866d59a5598 || git fetch origin master) && git reset -q --hard 8e8ee268048d2d5e2963654e1bdaf866d59a5598 && 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.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.17.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.1 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.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.23 qcheck-multicoretests-util.0.5 qcheck-stm.0.5 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.3 --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"))
)
2025-01-12 21:47.28: Waiting for resource in pool OCluster
2025-01-12 21:47.28: Waiting for worker…
2025-01-12 22:05.53: Got resource from pool OCluster
Building on spring
All commits already cached
HEAD is now at b95f898 Add a transaction benchmark using a naïve unscalable leftist heap
(from freebsd-14.1-ocaml-4.14)
2025-01-12 21:53.45 ---> using "ae13298952475462d6ff8423c053aa12bd6b321268da2da393f31b39d910ae06" from cache
/: (comment freebsd-14.1-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/bin/opam"))
2025-01-12 21:53.46 ---> using "a01a14b3afaf0e96198b4995f7495eb095c8d446bea3004be25da82cfecae768" from cache
/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.1 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 1 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=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2025-01-12 21:53.47 ---> using "a60b36efeb57e54e6ca4e23dae975fff8d0668822376b173ed63b66aa24444bc" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.1-RELEASE-p5
The OCaml toplevel, version 4.14.2
2.3.0
2025-01-12 21:53.47 ---> using "188549049d3e68e7a3a1a01e1161c07610550818a3f0b75ffbaafa2a77641d27" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-01-12 21:53.48 ---> using "39fdaef227d4780a13f56312f6b694c46af609f82c1eca907bb338ae047f238f" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8e8ee268048d2d5e2963654e1bdaf866d59a5598 || git fetch origin master) && git reset -q --hard 8e8ee268048d2d5e2963654e1bdaf866d59a5598 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
c31c18de15..8e8ee26804 master -> origin/master
8e8ee26804 Merge pull request #27247 from polytypic/release-multicore-magic-2.3.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.4.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2025-01-12 21:53.49 ---> using "b1e3afb4b5a5109ddff502bf1af45666c458906ee09b178ad22122883a0bd0bf" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2025-01-12 21:53.49 ---> using "6cdebdeafbbe29367521d9ce0102a314bcfe8c783c6cfb7367d4324ec326ac9a" 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)
2025-01-12 21:53.50 ---> using "b3be77f3920b743bc9e86fb6f2f5125d059cec54543bd633e31c9c3395bfaad9" from cache
/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.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.17.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.5.0 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.1 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.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.23 qcheck-multicoretests-util.0.5 qcheck-stm.0.5 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.3 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas_data.dev] synchronised (no changes)
[kcas.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-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).
2025-01-12 21:53.51 ---> using "dcc00acbe0313edfcfff99ed9496b1318c0b6430f1c6de3e12ba00d675613b3d" 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 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
∗ alcotest 1.8.0
∗ astring 0.8.5
∗ backoff 0.1.1
∗ camlp-streams 5.0.1
∗ cmdliner 1.3.0
∗ cppo 1.8.0
∗ csexp 1.5.2
∗ domain-local-await 1.0.1
∗ domain-local-timeout 1.0.1
∗ domain_shims 0.1.0
∗ dune 3.17.1
∗ fmt 0.9.0
∗ logs 0.7.0
∗ mdx 2.5.0
∗ mtime 2.1.0
∗ multicore-bench 0.1.7
∗ multicore-magic 2.3.1
∗ ocaml-syntax-shims 1.0.0
∗ ocaml-version 3.7.3
∗ ocamlbuild 0.15.0
∗ ocamlfind 1.9.6
∗ psq 0.2.1
∗ qcheck-core 0.23
∗ qcheck-multicoretests-util 0.5
∗ qcheck-stm 0.5
∗ 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
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved astring.0.8.5 (cached)
⬇ retrieved backoff.0.1.1 (cached)
⬇ retrieved camlp-streams.5.0.1 (cached)
⬇ retrieved alcotest.1.8.0 (cached)
⬇ retrieved csexp.1.5.2 (cached)
⬇ retrieved cppo.1.8.0 (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 cmdliner.1.3.0 (cached)
⬇ retrieved logs.0.7.0 (cached)
⬇ retrieved fmt.0.9.0 (cached)
⬇ retrieved mdx.2.5.0 (cached)
⬇ retrieved mtime.2.1.0 (cached)
⬇ retrieved multicore-bench.0.1.7 (cached)
⬇ retrieved multicore-magic.2.3.1 (cached)
⬇ retrieved ocaml-syntax-shims.1.0.0 (cached)
⬇ retrieved ocaml-version.3.7.3 (cached)
⬇ retrieved ocamlbuild.0.15.0 (cached)
⬇ retrieved psq.0.2.1 (cached)
⬇ retrieved ocamlfind.1.9.6 (cached)
⬇ retrieved qcheck-multicoretests-util.0.5, qcheck-stm.0.5 (cached)
⬇ retrieved qcheck-core.0.23 (cached)
⬇ retrieved re.1.12.0 (cached)
⬇ retrieved seq.base (cached)
∗ installed seq.base
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved result.1.5 (cached)
⬇ retrieved thread-table.1.0.0 (cached)
⬇ retrieved dune.3.17.1 (cached)
⬇ retrieved yojson.2.2.2 (cached)
⬇ retrieved uutf.1.0.3 (cached)
⬇ retrieved topkg.1.0.7 (cached)
∗ installed cmdliner.1.3.0
∗ installed ocamlfind.1.9.6
∗ installed ocamlbuild.0.15.0
∗ installed topkg.1.0.7
∗ installed mtime.2.1.0
∗ installed uutf.1.0.3
∗ installed astring.0.8.5
∗ installed fmt.0.9.0
∗ installed logs.0.7.0
∗ installed dune.3.17.1
∗ installed backoff.0.1.1
∗ installed csexp.1.5.2
∗ installed domain_shims.0.1.0
∗ installed camlp-streams.5.0.1
∗ installed multicore-magic.2.3.1
∗ installed psq.0.2.1
∗ installed ocaml-version.3.7.3
∗ installed result.1.5
∗ installed stdlib-shims.0.3.0
∗ installed thread-table.1.0.0
∗ installed cppo.1.8.0
∗ installed ocaml-syntax-shims.1.0.0
∗ installed domain-local-timeout.1.0.1
∗ installed qcheck-core.0.23
∗ installed domain-local-await.1.0.1
∗ installed re.1.12.0
∗ installed qcheck-multicoretests-util.0.5
∗ installed yojson.2.2.2
∗ installed qcheck-stm.0.5
∗ installed multicore-bench.0.1.7
∗ installed alcotest.1.8.0
∗ installed mdx.2.5.0
Done.
2025-01-12 21:53.52 ---> using "bb9df5f5aa5324822af60488a6815aad482e9dc64623d2aa307b6faa817a5758" from cache
/src: (copy (src .) (dst /src))
2025-01-12 21:53.57 ---> saved as "3aaa1a97de81836001e1369bd7faca80f9be3693b4dbfe13fd5db0aee970bc77"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/kcas && ./threads.exe)
Testing `Threads'.
This run has ID `GPI5CB3X'.
[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 && ./loc_modes.exe)
Loc modes OK!
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `35O1G0IZ'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.100s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `YNOMHVBS'.
[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 && ./test.exe)
Testing `Kcas'.
This run has ID `MFR8K7FI'.
[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 3.331s. 17 tests run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `4GVXVLSU'.
[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 && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `3MP63CMD'.
[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 && ./xt_test.exe)
Testing `Transactions'.
This run has ID `RD2X7G8X'.
[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 && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `Y5ZSBXG0'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 12.200s. 2 tests run.
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `IS3E1EUU'.
[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/bench && ./main.exe -brief 'Kcas Loc')
Kcas Loc:
ops over time/cas int:
59.81 M/s
ops over time/get:
179.54 M/s
ops over time/incr:
44.68 M/s
ops over time/push & pop:
38.15 M/s
ops over time/swap:
34.89 M/s
ops over time/xchg int:
59.76 M/s
time per op/cas int:
16.72 ns
time per op/get:
5.57 ns
time per op/incr:
22.38 ns
time per op/push & pop:
26.21 ns
time per op/swap:
28.66 ns
time per op/xchg int:
16.73 ns
(cd _build/default/bench && ./main.exe -brief 'Kcas Xt')
Kcas Xt:
time per transaction/0 loc tx:
17.70 ns
time per transaction/1 loc tx:
52.25 ns
time per transaction/2 loc tx:
116.85 ns
time per transaction/4 loc tx:
212.10 ns
time per transaction/8 loc tx:
435.44 ns
transactions over time/0 loc tx:
56.49 M/s
transactions over time/1 loc tx:
19.14 M/s
transactions over time/2 loc tx:
8.56 M/s
transactions over time/4 loc tx:
4.71 M/s
transactions over time/8 loc tx:
2.30 M/s
Kcas Xt Leftist_heap (unscalable):
operations over time/1 worker, 1000 preload:
0.12 M/s
operations over time/1 worker, 100 preload:
0.39 M/s
operations over time/1 worker, 10 preload:
1.27 M/s
operations over time/2 workers, 1000 preload:
0.04 M/s
operations over time/2 workers, 100 preload:
0.37 M/s
operations over time/2 workers, 10 preload:
1.03 M/s
operations over time/4 workers, 1000 preload:
0.10 M/s
operations over time/4 workers, 100 preload:
0.32 M/s
operations over time/4 workers, 10 preload:
0.78 M/s
time per operation/1 worker, 1000 preload:
8684.15 ns
time per operation/1 worker, 100 preload:
2593.40 ns
time per operation/1 worker, 10 preload:
786.23 ns
time per operation/2 workers, 1000 preload:
50361.18 ns
time per operation/2 workers, 100 preload:
5430.34 ns
time per operation/2 workers, 10 preload:
1941.24 ns
time per operation/4 workers, 1000 preload:
38462.78 ns
time per operation/4 workers, 100 preload:
12352.26 ns
time per operation/4 workers, 10 preload:
5097.12 ns
Kcas Xt read-only:
time per transaction/0 loc tx:
17.82 ns
time per transaction/1 loc tx:
40.98 ns
time per transaction/2 loc tx:
68.94 ns
time per transaction/4 loc tx:
119.03 ns
time per transaction/8 loc tx:
211.76 ns
transactions over time/0 loc tx:
56.12 M/s
transactions over time/1 loc tx:
24.40 M/s
transactions over time/2 loc tx:
14.51 M/s
transactions over time/4 loc tx:
8.40 M/s
transactions over time/8 loc tx:
4.72 M/s
(cd _build/default/bench && ./main.exe -brief 'Kcas Xt read-only')
Kcas Xt read-only:
time per transaction/0 loc tx:
18.62 ns
time per transaction/1 loc tx:
40.86 ns
time per transaction/2 loc tx:
69.13 ns
time per transaction/4 loc tx:
119.33 ns
time per transaction/8 loc tx:
211.53 ns
transactions over time/0 loc tx:
53.71 M/s
transactions over time/1 loc tx:
24.47 M/s
transactions over time/2 loc tx:
14.46 M/s
transactions over time/4 loc tx:
8.38 M/s
transactions over time/8 loc tx:
4.73 M/s
(cd _build/default/bench && ./main.exe -brief 'Kcas Xt Leftist_heap (unscalable)')
Kcas Xt Leftist_heap (unscalable):
operations over time/1 worker, 1000 preload:
0.11 M/s
operations over time/1 worker, 100 preload:
0.40 M/s
operations over time/1 worker, 10 preload:
1.01 M/s
operations over time/2 workers, 1000 preload:
0.08 M/s
operations over time/2 workers, 100 preload:
0.38 M/s
operations over time/2 workers, 10 preload:
0.96 M/s
operations over time/4 workers, 1000 preload:
0.10 M/s
operations over time/4 workers, 100 preload:
0.36 M/s
operations over time/4 workers, 10 preload:
1.03 M/s
time per operation/1 worker, 1000 preload:
8971.17 ns
time per operation/1 worker, 100 preload:
2522.45 ns
time per operation/1 worker, 10 preload:
987.36 ns
time per operation/2 workers, 1000 preload:
24466.62 ns
time per operation/2 workers, 100 preload:
5273.35 ns
time per operation/2 workers, 10 preload:
2080.21 ns
time per operation/4 workers, 1000 preload:
39951.97 ns
time per operation/4 workers, 100 preload:
10997.37 ns
time per operation/4 workers, 10 preload:
3898.75 ns
(cd _build/default/bench && ./main.exe -brief 'Kcas parallel CMP')
Kcas parallel CMP:
time per transaction/1 worker:
123.52 ns
transactions over time/1 worker:
8.10 M/s
(cd _build/default/bench && ./main.exe -brief 'Kcas_data Accumulator')
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
41.67 M/s
time per operation/1 worker, 0% reads:
24.00 ns
(cd _build/default/bench && ./main.exe -brief 'Kcas_data Dllist')
Kcas_data Dllist:
messages over time/one domain:
1.85 M/s
time per message/one domain:
539.75 ns
(cd _build/default/bench && ./main.exe -brief 'Kcas_data Hashtbl')
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
4.60 M/s
operations over time/1 worker, 50% reads:
5.67 M/s
operations over time/1 worker, 90% reads:
10.67 M/s
time per operation/1 worker, 10% reads:
217.63 ns
time per operation/1 worker, 50% reads:
176.31 ns
time per operation/1 worker, 90% reads:
93.75 ns
(cd _build/default/bench && ./main.exe -brief 'Kcas_data Mvar')
Kcas_data Mvar:
(cd _build/default/bench && ./main.exe -brief 'Kcas_data Queue')
Kcas_data Queue:
messages over time/one domain:
8.55 M/s
time per message/one domain:
116.97 ns
(cd _build/default/bench && ./main.exe -brief 'Kcas_data Stack')
Kcas_data Stack:
messages over time/one domain:
12.64 M/s
time per message/one domain:
79.11 ns
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 1947784805408690270
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Accumulator sequential
[ ] 0 0 0 0 / 32 0.0s Accumulator sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[ ] 0 0 0 0 / 32 0.0s Accumulator concurrent
[ ] 1 0 0 1 / 32 8.9s Accumulator concurrent
[ ] 2 0 0 2 / 32 14.4s Accumulator concurrent
[ ] 3 0 0 3 / 32 18.3s Accumulator concurrent
[ ] 4 0 0 4 / 32 21.5s Accumulator concurrent
[ ] 5 0 0 5 / 32 23.7s Accumulator concurrent
[ ] 6 0 0 6 / 32 26.4s Accumulator concurrent
[ ] 7 0 0 7 / 32 28.7s Accumulator concurrent
[ ] 8 0 0 8 / 32 31.7s Accumulator concurrent
[ ] 9 0 0 9 / 32 33.4s Accumulator concurrent
[ ] 10 0 0 10 / 32 35.2s Accumulator concurrent
[ ] 11 0 0 11 / 32 37.7s Accumulator concurrent
[ ] 12 0 0 12 / 32 39.7s Accumulator concurrent
[ ] 13 0 0 13 / 32 42.1s Accumulator concurrent
[ ] 14 0 0 14 / 32 44.7s Accumulator concurrent
[ ] 15 0 0 15 / 32 46.4s Accumulator concurrent
[ ] 16 0 0 16 / 32 48.7s Accumulator concurrent
[ ] 17 0 0 17 / 32 50.7s Accumulator concurrent
[ ] 18 0 0 18 / 32 52.8s Accumulator concurrent
[ ] 19 0 0 19 / 32 55.4s Accumulator concurrent
[ ] 20 0 0 20 / 32 57.3s Accumulator concurrent
[ ] 21 0 0 21 / 32 59.7s Accumulator concurrent
[ ] 22 0 0 22 / 32 62.9s Accumulator concurrent
[ ] 23 0 0 23 / 32 67.1s Accumulator concurrent
[ ] 24 0 0 24 / 32 70.5s Accumulator concurrent
[ ] 25 0 0 25 / 32 72.8s Accumulator concurrent
[ ] 26 0 0 26 / 32 76.0s Accumulator concurrent
[ ] 27 0 0 27 / 32 78.9s Accumulator concurrent
[ ] 28 0 0 28 / 32 81.4s Accumulator concurrent
[ ] 29 0 0 29 / 32 83.7s Accumulator concurrent
[ ] 30 0 0 30 / 32 86.1s Accumulator concurrent
[ ] 31 0 0 31 / 32 88.3s Accumulator concurrent
[ ] 32 0 0 32 / 32 91.1s Accumulator concurrent
[✓] 32 0 0 32 / 32 91.1s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 207450332892682652
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Hashtbl sequential
[ ] 0 0 0 0 / 32 0.0s Hashtbl sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[ ] 0 0 0 0 / 32 0.0s Hashtbl concurrent
[ ] 1 0 0 1 / 32 8.3s Hashtbl concurrent
[ ] 2 0 0 2 / 32 13.1s Hashtbl concurrent
[ ] 3 0 0 3 / 32 16.8s Hashtbl concurrent
[ ] 4 0 0 4 / 32 20.3s Hashtbl concurrent
[ ] 5 0 0 5 / 32 22.8s Hashtbl concurrent
[ ] 6 0 0 6 / 32 26.6s Hashtbl concurrent
[ ] 7 0 0 7 / 32 29.0s Hashtbl concurrent
[ ] 8 0 0 8 / 32 31.8s Hashtbl concurrent
[ ] 9 0 0 9 / 32 33.9s Hashtbl concurrent
[ ] 10 0 0 10 / 32 35.6s Hashtbl concurrent
[ ] 11 0 0 11 / 32 38.2s Hashtbl concurrent
[ ] 12 0 0 12 / 32 40.5s Hashtbl concurrent
[ ] 13 0 0 13 / 32 42.7s Hashtbl concurrent
[ ] 14 0 0 14 / 32 44.9s Hashtbl concurrent
[ ] 15 0 0 15 / 32 47.3s Hashtbl concurrent
[ ] 16 0 0 16 / 32 49.6s Hashtbl concurrent
[ ] 17 0 0 17 / 32 52.5s Hashtbl concurrent
[ ] 18 0 0 18 / 32 54.4s Hashtbl concurrent
[ ] 19 0 0 19 / 32 56.4s Hashtbl concurrent
[ ] 20 0 0 20 / 32 58.6s Hashtbl concurrent
[ ] 21 0 0 21 / 32 62.1s Hashtbl concurrent
[ ] 22 0 0 22 / 32 65.6s Hashtbl concurrent
[ ] 23 0 0 23 / 32 69.1s Hashtbl concurrent
[ ] 24 0 0 24 / 32 71.9s Hashtbl concurrent
[ ] 25 0 0 25 / 32 74.6s Hashtbl concurrent
[ ] 26 0 0 26 / 32 77.6s Hashtbl concurrent
[ ] 27 0 0 27 / 32 80.5s Hashtbl concurrent
[ ] 28 0 0 28 / 32 83.2s Hashtbl concurrent
[ ] 29 0 0 29 / 32 85.5s Hashtbl concurrent
[ ] 30 0 0 30 / 32 87.9s Hashtbl concurrent
[ ] 31 0 0 31 / 32 90.1s Hashtbl concurrent
[ ] 32 0 0 32 / 32 93.0s Hashtbl concurrent
[✓] 32 0 0 32 / 32 93.0s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 1212827867688721016
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Queue sequential
[ ] 0 0 0 0 / 32 0.0s Queue sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[ ] 0 0 0 0 / 32 0.0s Queue concurrent
[ ] 1 0 0 1 / 32 9.0s Queue concurrent
[ ] 2 0 0 2 / 32 13.3s Queue concurrent
[ ] 3 0 0 3 / 32 17.2s Queue concurrent
[ ] 4 0 0 4 / 32 20.1s Queue concurrent
[ ] 5 0 0 5 / 32 23.4s Queue concurrent
[ ] 6 0 0 6 / 32 26.3s Queue concurrent
[ ] 7 0 0 7 / 32 29.2s Queue concurrent
[ ] 8 0 0 8 / 32 32.2s Queue concurrent
[ ] 9 0 0 9 / 32 34.0s Queue concurrent
[ ] 10 0 0 10 / 32 36.7s Queue concurrent
[ ] 11 0 0 11 / 32 38.8s Queue concurrent
[ ] 12 0 0 12 / 32 41.3s Queue concurrent
[ ] 13 0 0 13 / 32 43.3s Queue concurrent
[ ] 14 0 0 14 / 32 45.5s Queue concurrent
[ ] 15 0 0 15 / 32 47.5s Queue concurrent
[ ] 16 0 0 16 / 32 50.0s Queue concurrent
[ ] 17 0 0 17 / 32 52.8s Queue concurrent
[ ] 18 0 0 18 / 32 55.2s Queue concurrent
[ ] 19 0 0 19 / 32 57.0s Queue concurrent
[ ] 20 0 0 20 / 32 59.1s Queue concurrent
[ ] 21 0 0 21 / 32 62.0s Queue concurrent
[ ] 22 0 0 22 / 32 66.2s Queue concurrent
[ ] 23 0 0 23 / 32 70.2s Queue concurrent
[ ] 24 0 0 24 / 32 72.5s Queue concurrent
[ ] 25 0 0 25 / 32 75.8s Queue concurrent
[ ] 26 0 0 26 / 32 79.0s Queue concurrent
[ ] 27 0 0 27 / 32 82.0s Queue concurrent
[ ] 28 0 0 28 / 32 84.4s Queue concurrent
[ ] 29 0 0 29 / 32 86.9s Queue concurrent
[ ] 30 0 0 30 / 32 89.3s Queue concurrent
[ ] 31 0 0 31 / 32 91.7s Queue concurrent
[ ] 32 0 0 32 / 32 92.6s Queue concurrent
[✓] 32 0 0 32 / 32 92.6s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 2662698829460365671
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Hashtbl_with_order sequential
[ ] 0 0 0 0 / 32 0.0s Hashtbl_with_order sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[ ] 0 0 0 0 / 32 0.0s Hashtbl_with_order concurrent
[ ] 1 0 0 1 / 32 7.2s Hashtbl_with_order concurrent
[ ] 2 0 0 2 / 32 13.3s Hashtbl_with_order concurrent
[ ] 3 0 0 3 / 32 17.2s Hashtbl_with_order concurrent
[ ] 4 0 0 4 / 32 20.2s Hashtbl_with_order concurrent
[ ] 5 0 0 5 / 32 23.6s Hashtbl_with_order concurrent
[ ] 6 0 0 6 / 32 26.5s Hashtbl_with_order concurrent
[ ] 7 0 0 7 / 32 28.7s Hashtbl_with_order concurrent
[ ] 8 0 0 8 / 32 31.3s Hashtbl_with_order concurrent
[ ] 9 0 0 9 / 32 33.6s Hashtbl_with_order concurrent
[ ] 10 0 0 10 / 32 35.8s Hashtbl_with_order concurrent
[ ] 11 0 0 11 / 32 38.2s Hashtbl_with_order concurrent
[ ] 12 0 0 12 / 32 41.5s Hashtbl_with_order concurrent
[ ] 13 0 0 13 / 32 43.4s Hashtbl_with_order concurrent
[ ] 14 0 0 14 / 32 46.2s Hashtbl_with_order concurrent
[ ] 15 0 0 15 / 32 48.2s Hashtbl_with_order concurrent
[ ] 16 0 0 16 / 32 50.1s Hashtbl_with_order concurrent
[ ] 17 0 0 17 / 32 52.3s Hashtbl_with_order concurrent
[ ] 18 0 0 18 / 32 54.6s Hashtbl_with_order concurrent
[ ] 19 0 0 19 / 32 56.4s Hashtbl_with_order concurrent
[ ] 20 0 0 20 / 32 59.0s Hashtbl_with_order concurrent
[ ] 21 0 0 21 / 32 62.9s Hashtbl_with_order concurrent
[ ] 22 0 0 22 / 32 68.9s Hashtbl_with_order concurrent
[ ] 23 0 0 23 / 32 71.9s Hashtbl_with_order concurrent
[ ] 24 0 0 24 / 32 75.1s Hashtbl_with_order concurrent
[ ] 25 0 0 25 / 32 77.8s Hashtbl_with_order concurrent
[ ] 26 0 0 26 / 32 79.3s Hashtbl_with_order concurrent
[ ] 27 0 0 27 / 32 80.2s Hashtbl_with_order concurrent
[ ] 28 0 0 28 / 32 83.1s Hashtbl_with_order concurrent
[ ] 29 0 0 29 / 32 85.7s Hashtbl_with_order concurrent
[ ] 30 0 0 30 / 32 88.0s Hashtbl_with_order concurrent
[ ] 31 0 0 31 / 32 90.5s Hashtbl_with_order concurrent
[ ] 32 0 0 32 / 32 93.0s Hashtbl_with_order concurrent
[✓] 32 0 0 32 / 32 93.0s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 97351768149362479
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Dllist sequential
[ ] 0 0 0 0 / 32 0.0s Dllist sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[ ] 0 0 0 0 / 32 0.0s Dllist concurrent
[ ] 1 0 0 1 / 32 8.1s Dllist concurrent
[ ] 2 0 0 2 / 32 13.0s Dllist concurrent
[ ] 3 0 0 3 / 32 18.8s Dllist concurrent
[ ] 4 0 0 4 / 32 22.0s Dllist concurrent
[ ] 5 0 0 5 / 32 26.3s Dllist concurrent
[ ] 6 0 0 6 / 32 28.4s Dllist concurrent
[ ] 7 0 0 7 / 32 30.8s Dllist concurrent
[ ] 8 0 0 8 / 32 33.5s Dllist concurrent
[ ] 9 0 0 9 / 32 35.5s Dllist concurrent
[ ] 10 0 0 10 / 32 37.5s Dllist concurrent
[ ] 11 0 0 11 / 32 40.2s Dllist concurrent
[ ] 12 0 0 12 / 32 43.0s Dllist concurrent
[ ] 13 0 0 13 / 32 44.9s Dllist concurrent
[ ] 14 0 0 14 / 32 47.4s Dllist concurrent
[ ] 15 0 0 15 / 32 50.0s Dllist concurrent
[ ] 16 0 0 16 / 32 52.7s Dllist concurrent
[ ] 17 0 0 17 / 32 55.0s Dllist concurrent
[ ] 18 0 0 18 / 32 56.9s Dllist concurrent
[ ] 19 0 0 19 / 32 58.7s Dllist concurrent
[ ] 20 0 0 20 / 32 62.3s Dllist concurrent
[ ] 21 0 0 21 / 32 66.3s Dllist concurrent
[ ] 22 0 0 22 / 32 70.1s Dllist concurrent
[ ] 23 0 0 23 / 32 73.0s Dllist concurrent
[ ] 24 0 0 24 / 32 76.4s Dllist concurrent
[ ] 25 0 0 25 / 32 79.1s Dllist concurrent
[ ] 26 0 0 26 / 32 81.6s Dllist concurrent
[ ] 27 0 0 27 / 32 84.1s Dllist concurrent
[ ] 28 0 0 28 / 32 86.5s Dllist concurrent
[ ] 29 0 0 29 / 32 88.5s Dllist concurrent
[ ] 30 0 0 30 / 32 90.7s Dllist concurrent
[ ] 31 0 0 31 / 32 94.1s Dllist concurrent
[ ] 32 0 0 32 / 32 97.6s Dllist concurrent
[✓] 32 0 0 32 / 32 97.6s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 2699128420385432835
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Stack sequential
[ ] 0 0 0 0 / 32 0.0s Stack sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[ ] 0 0 0 0 / 32 0.0s Stack concurrent
[ ] 1 0 0 1 / 32 2.4s Stack concurrent
[ ] 2 0 0 2 / 32 5.0s Stack concurrent
[ ] 3 0 0 3 / 32 7.1s Stack concurrent
[ ] 4 0 0 4 / 32 9.7s Stack concurrent
[ ] 5 0 0 5 / 32 11.6s Stack concurrent
[ ] 6 0 0 6 / 32 13.7s Stack concurrent
[ ] 7 0 0 7 / 32 15.7s Stack concurrent
[ ] 8 0 0 8 / 32 18.3s Stack concurrent
[ ] 9 0 0 9 / 32 20.6s Stack concurrent
[ ] 10 0 0 10 / 32 22.9s Stack concurrent
[ ] 11 0 0 11 / 32 24.8s Stack concurrent
[ ] 12 0 0 12 / 32 26.7s Stack concurrent
[ ] 13 0 0 13 / 32 28.6s Stack concurrent
[ ] 14 0 0 14 / 32 30.5s Stack concurrent
[ ] 15 0 0 15 / 32 32.3s Stack concurrent
[ ] 16 0 0 16 / 32 34.2s Stack concurrent
[ ] 17 0 0 17 / 32 38.0s Stack concurrent
[ ] 18 0 0 18 / 32 42.2s Stack concurrent
[ ] 19 0 0 19 / 32 45.4s Stack concurrent
[ ] 20 0 0 20 / 32 48.0s Stack concurrent
[ ] 21 0 0 21 / 32 51.4s Stack concurrent
[ ] 22 0 0 22 / 32 54.0s Stack concurrent
[ ] 23 0 0 23 / 32 56.6s Stack concurrent
[ ] 24 0 0 24 / 32 59.0s Stack concurrent
[ ] 25 0 0 25 / 32 61.4s Stack concurrent
[ ] 26 0 0 26 / 32 63.5s Stack concurrent
[ ] 27 0 0 27 / 32 65.8s Stack concurrent
[ ] 28 0 0 28 / 32 68.4s Stack concurrent
[ ] 29 0 0 29 / 32 71.4s Stack concurrent
[ ] 30 0 0 30 / 32 74.1s Stack concurrent
[ ] 31 0 0 31 / 32 78.0s Stack concurrent
[ ] 32 0 0 32 / 32 82.5s Stack concurrent
[✓] 32 0 0 32 / 32 82.5s Stack concurrent
================================================================================
success (ran 2 tests)
2025-01-12 21:56.13 ---> saved as "1d25d9a6b9d18c9ccf688d79f205a17caa59050fa5fef2957541c8de671b054e"
Job succeeded
2025-01-12 22:08.25: Job succeeded