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) (macos-x86_64:macos-homebrew-4.14_opam-2.2)
Base: macos-homebrew-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 fa732ba8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.2 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
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 ./src/./
RUN opam pin add -yn kcas_data.dev './src/./' && \
opam pin add -yn kcas.dev './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"
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 cd ./src && 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-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.2-6f18f9c4802d6c411f3695732ffd3e0c"
2024-09-18 15:15.06: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 ./src/./))
(run (network host)
(shell "opam pin add -yn kcas_data.dev './src/./' && \
\nopam pin add -yn kcas.dev './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")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./src && 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 20:08.54: Waiting for worker…
2024-09-19 00:22.29: Got resource from pool OCluster
Building on i7-worker-01
All commits already cached
HEAD is now at fa732ba Add a transaction benchmark using a naïve unscalable leftist heap
(from macos-homebrew-ocaml-4.14)
2024-09-19 00:22.30 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam"))
2024-09-19 00:22.31 ---> using "0fc88bc096429f8087d29338c802b1e4d45e761b825e45695066961067369beb" from cache
/: (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 /Users/mac1000/.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:///Users/mac1000/opam-repository
2024-09-19 00:22.31 ---> using "73ba886e49c62b39892c1961565fafbc649da382428721fca289ffcf0b892673" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.2.0
2024-09-19 00:22.32 ---> using "07fa1eab191e27fa6a90116da06eed20ebaaf79e4c99d1f9adbbe0baf8e3f1a3" from cache
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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
c635641299..45f961713f master -> origin/master
45f961713f Merge pull request #26585 from dra27/trunk-tweaks
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository
default (at git+file:///Users/mac1000/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
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.
# Run eval $(opam env) to update the current shell environment
2024-09-19 00:22.32 ---> using "2e7f6bbba51f5cb24d669e6d7afadd3e0710793775f8c0fa0f6e4281120837b9" from cache
/: (copy (src kcas_data.opam kcas.opam) (dst ./src/./))
2024-09-19 00:22.35 ---> saved as "fc9acdb80df1ed6acdb27ffffdd98b6ebbcbd786333aa8a721635fbf3d1ac583"
/: (run (network host)
(shell "opam pin add -yn kcas_data.dev './src/./' && \
\nopam pin add -yn kcas.dev './src/./'"))
[kcas_data.dev] synchronised (file:///Users/mac1000/src)
kcas_data is now pinned to file:///Users/mac1000/src (version dev)
[kcas.dev] synchronised (file:///Users/mac1000/src)
kcas is now pinned to file:///Users/mac1000/src (version dev)
2024-09-19 00:22.52 ---> saved as "f9aa4bd18a45e70cf0f76a91b51efaa9cdc14d8b11856967a96aea31297c57cc"
/: (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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
<><> 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-19 00:23.24 ---> saved as "5509e9ddf177298808092e56fe5d617eff3dca2c31170348a130830f096c4b1a"
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 33 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install backoff 0.1.0
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cppo 1.7.0
- install csexp 1.5.2
- install domain-local-await 1.0.1
- install domain-local-timeout 1.0.1
- install domain_shims 0.1.0
- install dune 3.16.0
- install fmt 0.9.0
- install logs 0.7.0
- install mdx 2.4.1
- install mtime 2.1.0
- install multicore-bench 0.1.5
- install multicore-magic 2.3.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.8
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install psq 0.2.1
- install qcheck-core 0.22
- install qcheck-multicoretests-util 0.4
- install qcheck-stm 0.4
- install re 1.12.0
- install result 1.5
- install seq base
- install stdlib-shims 0.3.0
- install thread-table 1.0.0
- install topkg 1.0.7
- install uutf 1.0.3
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved domain-local-timeout.1.0.1 (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 multicore-magic.2.3.0 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.8 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
-> retrieved qcheck-core.0.22 (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 domain_shims.0.1.0
-> installed ocaml-version.3.6.8
-> installed csexp.1.5.2
-> installed psq.0.2.1
-> installed camlp-streams.5.0.1
-> installed backoff.0.1.0
-> installed ocaml-syntax-shims.1.0.0
-> installed multicore-magic.2.3.0
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed qcheck-core.0.22
-> installed cppo.1.7.0
-> installed domain-local-timeout.1.0.1
-> installed domain-local-await.1.0.1
-> installed re.1.12.0
-> installed qcheck-multicoretests-util.0.4
-> installed yojson.2.2.2
-> 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-19 00:24.41 ---> saved as "1dd8a9744f7499f6691f22ddf8223a84efb1612cdeccea1ff3eef0d3d945db10"
/: (copy (src .) (dst ./src))
2024-09-19 00:24.43 ---> saved as "d507c48a5372f289e55943d5705428fcb86b99d846ef3ceaa8db179ff051330c"
/: (run (shell "cd ./src && 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 `PY6SBAD6'.
[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 && ./test.exe)
Testing `Kcas'.
This run has ID `V4RKXR2K'.
[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.029s. 17 tests run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `JQPYS9E2'.
[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 `93EMOOCL'.
[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 `VZI7V688'.
[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 && ./stack_test.exe)
Testing `Stack'.
This run has ID `RMC3Y81H'.
[OK] basics 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Stack'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `IPUUE2O2'.
[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.011s. 4 tests run.
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `0L4N2FKW'.
[OK] basics 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Transactions'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
7.49 ns
ops over time/get:
133.51 M/s
time per op/incr:
35.48 ns
ops over time/incr:
28.19 M/s
time per op/push & pop:
44.85 ns
ops over time/push & pop:
22.30 M/s
time per op/cas int:
43.83 ns
ops over time/cas int:
22.81 M/s
time per op/xchg int:
68.17 ns
ops over time/xchg int:
14.67 M/s
time per op/swap:
56.20 ns
ops over time/swap:
17.80 M/s
Kcas Xt:
time per transaction/0 loc tx:
25.56 ns
transactions over time/0 loc tx:
39.13 M/s
time per transaction/1 loc tx:
91.33 ns
transactions over time/1 loc tx:
10.96 M/s
time per transaction/2 loc tx:
193.59 ns
transactions over time/2 loc tx:
5.17 M/s
time per transaction/4 loc tx:
392.30 ns
transactions over time/4 loc tx:
2.55 M/s
time per transaction/8 loc tx:
749.99 ns
transactions over time/8 loc tx:
1.33 M/s
Kcas Xt Leftist_heap (unscalable):
time per operation/1 worker, 10 preload:
2897.62 ns
operations over time/1 worker, 10 preload:
0.35 M/s
time per operation/2 workers, 10 preload:
4735.97 ns
operations over time/2 workers, 10 preload:
0.42 M/s
time per operation/4 workers, 10 preload:
6665.98 ns
operations over time/4 workers, 10 preload:
0.60 M/s
time per operation/1 worker, 100 preload:
4625.49 ns
operations over time/1 worker, 100 preload:
0.22 M/s
time per operation/2 workers, 100 preload:
9075.98 ns
operations over time/2 workers, 100 preload:
0.22 M/s
time per operation/4 workers, 100 preload:
20440.07 ns
operations over time/4 workers, 100 preload:
0.20 M/s
time per operation/1 worker, 1000 preload:
14002.48 ns
operations over time/1 worker, 1000 preload:
0.07 M/s
time per operation/2 workers, 1000 preload:
29380.77 ns
operations over time/2 workers, 1000 preload:
0.07 M/s
time per operation/4 workers, 1000 preload:
53231.85 ns
operations over time/4 workers, 1000 preload:
0.08 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
29.94 ns
transactions over time/0 loc tx:
33.41 M/s
time per transaction/1 loc tx:
60.49 ns
transactions over time/1 loc tx:
16.53 M/s
time per transaction/2 loc tx:
131.65 ns
transactions over time/2 loc tx:
7.60 M/s
time per transaction/4 loc tx:
213.46 ns
transactions over time/4 loc tx:
4.68 M/s
time per transaction/8 loc tx:
414.73 ns
transactions over time/8 loc tx:
2.44 M/s
Kcas parallel CMP:
time per transaction/1 worker:
206.83 ns
transactions over time/1 worker:
4.83 M/s
time per transaction/2 workers:
491.66 ns
transactions over time/2 workers:
4.07 M/s
time per transaction/4 workers:
790.14 ns
transactions over time/4 workers:
5.06 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
35.61 ns
operations over time/1 worker, 0% reads:
28.08 M/s
time per operation/2 workers, 0% reads:
86.82 ns
operations over time/2 workers, 0% reads:
23.04 M/s
time per operation/4 workers, 0% reads:
147.21 ns
operations over time/4 workers, 0% reads:
27.17 M/s
Kcas_data Dllist:
time per message/one domain:
842.19 ns
messages over time/one domain:
1.19 M/s
time per message/1 nb adder, 1 nb taker:
1313.30 ns
messages over time/1 nb adder, 1 nb taker:
1.52 M/s
time per message/1 nb adder, 2 nb takers:
2139.36 ns
messages over time/1 nb adder, 2 nb takers:
1.40 M/s
time per message/2 nb adders, 1 nb taker:
1770.58 ns
messages over time/2 nb adders, 1 nb taker:
1.69 M/s
time per message/2 nb adders, 2 nb takers:
2594.63 ns
messages over time/2 nb adders, 2 nb takers:
1.54 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
147.93 ns
operations over time/1 worker, 90% reads:
6.76 M/s
time per operation/2 workers, 90% reads:
301.57 ns
operations over time/2 workers, 90% reads:
6.63 M/s
time per operation/4 workers, 90% reads:
612.50 ns
operations over time/4 workers, 90% reads:
6.53 M/s
time per operation/1 worker, 50% reads:
279.52 ns
operations over time/1 worker, 50% reads:
3.58 M/s
time per operation/2 workers, 50% reads:
708.83 ns
operations over time/2 workers, 50% reads:
2.82 M/s
time per operation/4 workers, 50% reads:
1182.65 ns
operations over time/4 workers, 50% reads:
3.38 M/s
time per operation/1 worker, 10% reads:
384.14 ns
operations over time/1 worker, 10% reads:
2.60 M/s
time per operation/2 workers, 10% reads:
944.15 ns
operations over time/2 workers, 10% reads:
2.12 M/s
time per operation/4 workers, 10% reads:
1694.88 ns
operations over time/4 workers, 10% reads:
2.36 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
82478.22 ns
messages over time/1 nb adder, 1 nb taker:
0.02 M/s
time per message/1 nb adder, 1 taker:
93492.10 ns
messages over time/1 nb adder, 1 taker:
0.02 M/s
time per message/1 nb adder, 2 nb takers:
84826.82 ns
messages over time/1 nb adder, 2 nb takers:
0.04 M/s
time per message/1 nb adder, 2 takers:
87561.81 ns
messages over time/1 nb adder, 2 takers:
0.03 M/s
time per message/1 adder, 1 nb taker:
79640.23 ns
messages over time/1 adder, 1 nb taker:
0.03 M/s
time per message/1 adder, 1 taker:
71092.82 ns
messages over time/1 adder, 1 taker:
0.03 M/s
time per message/1 adder, 2 nb takers:
74438.33 ns
messages over time/1 adder, 2 nb takers:
0.04 M/s
time per message/1 adder, 2 takers:
118864.75 ns
messages over time/1 adder, 2 takers:
0.03 M/s
time per message/2 nb adders, 1 nb taker:
79351.20 ns
messages over time/2 nb adders, 1 nb taker:
0.04 M/s
time per message/2 nb adders, 1 taker:
48898.82 ns
messages over time/2 nb adders, 1 taker:
0.06 M/s
time per message/2 nb adders, 2 nb takers:
166345.92 ns
messages over time/2 nb adders, 2 nb takers:
0.02 M/s
time per message/2 nb adders, 2 takers:
136544.79 ns
messages over time/2 nb adders, 2 takers:
0.03 M/s
time per message/2 adders, 1 nb taker:
99639.44 ns
messages over time/2 adders, 1 nb taker:
0.03 M/s
time per message/2 adders, 1 taker:
107586.21 ns
messages over time/2 adders, 1 taker:
0.03 M/s
time per message/2 adders, 2 nb takers:
120070.99 ns
messages over time/2 adders, 2 nb takers:
0.03 M/s
time per message/2 adders, 2 takers:
132389.97 ns
messages over time/2 adders, 2 takers:
0.03 M/s
Kcas_data Queue:
time per message/one domain:
152.60 ns
messages over time/one domain:
6.55 M/s
time per message/1 nb adder, 1 nb taker:
203.31 ns
messages over time/1 nb adder, 1 nb taker:
9.84 M/s
time per message/1 nb adder, 1 taker:
200.01 ns
messages over time/1 nb adder, 1 taker:
10.00 M/s
time per message/1 nb adder, 2 nb takers:
319.21 ns
messages over time/1 nb adder, 2 nb takers:
9.40 M/s
time per message/1 nb adder, 2 takers:
329.14 ns
messages over time/1 nb adder, 2 takers:
9.11 M/s
time per message/2 nb adders, 1 nb taker:
235.44 ns
messages over time/2 nb adders, 1 nb taker:
12.74 M/s
time per message/2 nb adders, 1 taker:
277.58 ns
messages over time/2 nb adders, 1 taker:
10.81 M/s
time per message/2 nb adders, 2 nb takers:
352.64 ns
messages over time/2 nb adders, 2 nb takers:
11.34 M/s
time per message/2 nb adders, 2 takers:
390.03 ns
messages over time/2 nb adders, 2 takers:
10.26 M/s
Kcas_data Stack:
time per message/one domain:
130.48 ns
messages over time/one domain:
7.67 M/s
time per message/1 nb adder, 1 nb taker:
220.11 ns
messages over time/1 nb adder, 1 nb taker:
9.12 M/s
time per message/1 nb adder, 1 taker:
179.78 ns
messages over time/1 nb adder, 1 taker:
11.13 M/s
time per message/1 nb adder, 2 nb takers:
421.56 ns
messages over time/1 nb adder, 2 nb takers:
7.12 M/s
time per message/1 nb adder, 2 takers:
332.52 ns
messages over time/1 nb adder, 2 takers:
9.03 M/s
time per message/2 nb adders, 1 nb taker:
246.95 ns
messages over time/2 nb adders, 1 nb taker:
12.15 M/s
time per message/2 nb adders, 1 taker:
231.24 ns
messages over time/2 nb adders, 1 taker:
12.97 M/s
time per message/2 nb adders, 2 nb takers:
315.33 ns
messages over time/2 nb adders, 2 nb takers:
12.69 M/s
time per message/2 nb adders, 2 takers:
349.45 ns
messages over time/2 nb adders, 2 takers:
11.45 M/s
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `BMPN711A'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `~/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 15.738s. 2 tests run.
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 1260863520995024403
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 1.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 159180473387481232
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 3.6s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 151629175587289664
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 7.7s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 131682572814500030
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Accumulator sequential
[✓] 256 0 0 256 / 256 12.9s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 4371285978468770206
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Accumulator sequential
[✓] 512 0 0 512 / 512 27.1s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3424137963394622242
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 1.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 212000877448685261
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.3s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1595910843561504762
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 4.2s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 585347927195028540
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 7.5s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1722077049585814557
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Stack sequential
[✓] 256 0 0 256 / 256 13.9s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 951733412745270112
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Stack sequential
[✓] 512 0 0 512 / 512 27.3s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3867140735973644240
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.7s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 1468984062473521573
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 2.1s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 4046432909746604693
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 4.1s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 836195949432781586
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 7.7s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 526956181050221824
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Queue sequential
[✓] 256 0 0 256 / 256 14.6s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2195398756191073918
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Queue sequential
[ ] 31
[✓] 512 0 0 512 / 512 29.1s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 749094881847443346
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 1.8s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 1525519290428190141
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 2.8s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2776972240078724322
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 4.5s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2400687325639033964
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 8.5s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2774805492343545744
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Dllist sequential
[✓] 256 0 0 256 / 256 16.0s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3808046319646459767
generated error fail pass / total time test name
[✓] 428 0 0 428 / 428 0.0s Dllist sequential
[✓] 428 0 0 428 / 428 24.3s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 334083819272664291
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 2.7s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2443019974990433400
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 1.3s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 68510192513705383
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 3.0s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 1921527544964862986
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 6.2s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 4075916839852835747
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 9.8s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 4131699469917103384
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl_with_order sequential
[✓] 256 0 0 256 / 256 20.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3842463808829124114
generated error fail pass / total time test name
[✓] 250 0 0 250 / 250 0.0s Hashtbl_with_order sequential
[✓] 250 0 0 250 / 250 20.1s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 852672825484605287
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 1.1s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 2990973288230130453
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 2.0s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4359149585714822415
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 5.2s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3794516049662660905
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 7.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 69282015530100079
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl sequential
[✓] 256 0 0 256 / 256 14.7s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4243360455670305151
generated error fail pass / total time test name
[✓] 486 0 0 486 / 486 0.0s Hashtbl sequential
[✓] 486 0 0 486 / 486 28.6s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4126951776768179154
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 1.3s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2805241253391846777
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 1.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
2024-09-19 00:25.51 ---> saved as "2dc95f28755815fe62f8f97d8c3d8a526ef03071ecbaf72e54ab4a2fb206d749"
Job succeeded
2024-09-19 00:25.57: Job succeeded