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) (macos-arm64:macos-homebrew-4.14_arm64_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 609c614d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_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 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 ./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.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-arm64.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 cd ./src && 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-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.2-d08ecc031bd0314a42b6fb11bf3ee211"
2024-10-18 17:21.14: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_arm64_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 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 ./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.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-arm64.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 /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-10-18 17:21.14: Waiting for resource in pool OCluster
2024-10-18 17:21.14: Waiting for worker…
2024-10-18 17:40.04: Got resource from pool OCluster
Building on m1-worker-04
All commits already cached
HEAD is now at 609c614 Add a transaction benchmark using a naïve unscalable leftist heap
(from macos-homebrew-ocaml-4.14)
2024-10-18 17:40.04 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_arm64_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-10-18 17:40.04 ---> 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-10-18 17:40.04 ---> 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.1
2024-10-18 17:40.04 ---> 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 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
9b6dde2280..b8e118d3ef master -> origin/master
b8e118d3ef Merge pull request #26758 from polytypic/release-multicore-bench-0.1.7
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/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.
# Run eval $(opam env) to update the current shell environment
2024-10-18 17:40.05 ---> using "92930e5d391910f53ff9e98211a95b1c298ce3daab6aad87b514b4cc5c0ad467" from cache
/: (copy (src kcas_data.opam kcas.opam) (dst ./src/./))
2024-10-18 17:40.05 ---> using "9bda0d0820abcc9776291c1c81b21ca10601987c5679781959b6a152bb5da867" from cache
/: (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-10-18 17:40.05 ---> using "dab83c831a743a9fbfa98d4b2c32511d5fc853716cd5dc19a540169c8cd94bc7" from cache
/: (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-arm64.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 /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"))
+ /opt/homebrew/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-arm64 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:40.05 ---> using "bf7ff1d193a032e14b658de7dbf543e3b78cf57344bbccc7f302108950c996f6" from cache
/: (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-arm64 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 alcotest.1.8.0 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved domain-local-timeout.1.0.1 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved multicore-bench.0.1.7 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.9 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved ocamlfind.1.9.6 (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 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 camlp-streams.5.0.1
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed backoff.0.1.1
-> installed multicore-magic.2.3.0
-> installed psq.0.2.1
-> installed ocaml-syntax-shims.1.0.0
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed ocaml-version.3.6.9
-> installed thread-table.1.0.0
-> installed cppo.1.7.0
-> installed domain-local-await.1.0.1
-> installed domain-local-timeout.1.0.1
-> installed re.1.12.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.4
-> installed multicore-bench.0.1.7
-> installed alcotest.1.8.0
-> installed qcheck-stm.0.4
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-18 17:40.05 ---> using "178d67dc442024f671993551abb6a15a8e981b9a333bf09015b93fe18af5f52a" from cache
/: (copy (src .) (dst ./src))
2024-10-18 17:40.06 ---> saved as "2da93bbdf88f1035672de4de8cf42a10fd2c1a28ee4ae1e5b9a3168be0b52115"
/: (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 `4TUK8SQP'.
[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 && ./test.exe)
Testing `Kcas'.
This run has ID `QA9HRPOI'.
[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.417s. 17 tests run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `LNJZFMA0'.
[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.000s. 3 tests run.
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `IIK3DMVD'.
[OK] basics 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `FWMGDJWV'.
[OK] basics 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Stack'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `2HW8HXX4'.
[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 && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `SOUZNOK0'.
[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.002s. 4 tests run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `1VB95FQI'.
[OK] basics 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Transactions'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
41.48 M/s
ops over time/get:
396.20 M/s
ops over time/incr:
39.28 M/s
ops over time/push & pop:
41.91 M/s
ops over time/swap:
38.33 M/s
ops over time/xchg int:
113.49 M/s
time per op/cas int:
24.11 ns
time per op/get:
2.52 ns
time per op/incr:
25.56 ns
time per op/push & pop:
23.86 ns
time per op/swap:
26.09 ns
time per op/xchg int:
8.90 ns
Kcas Xt:
time per transaction/0 loc tx:
6.04 ns
time per transaction/1 loc tx:
22.36 ns
time per transaction/2 loc tx:
116.40 ns
time per transaction/4 loc tx:
211.37 ns
time per transaction/8 loc tx:
335.25 ns
transactions over time/0 loc tx:
165.47 M/s
transactions over time/1 loc tx:
44.74 M/s
transactions over time/2 loc tx:
8.59 M/s
transactions over time/4 loc tx:
4.73 M/s
transactions over time/8 loc tx:
2.99 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.64 M/s
operations over time/1 worker, 10 preload:
1.05 M/s
operations over time/2 workers, 1000 preload:
0.26 M/s
operations over time/2 workers, 100 preload:
0.89 M/s
operations over time/2 workers, 10 preload:
0.85 M/s
operations over time/4 workers, 1000 preload:
0.28 M/s
operations over time/4 workers, 100 preload:
0.76 M/s
operations over time/4 workers, 10 preload:
2.59 M/s
time per operation/1 worker, 1000 preload:
8494.26 ns
time per operation/1 worker, 100 preload:
1565.44 ns
time per operation/1 worker, 10 preload:
948.06 ns
time per operation/2 workers, 1000 preload:
7842.23 ns
time per operation/2 workers, 100 preload:
2243.57 ns
time per operation/2 workers, 10 preload:
2365.09 ns
time per operation/4 workers, 1000 preload:
14286.84 ns
time per operation/4 workers, 100 preload:
5271.00 ns
time per operation/4 workers, 10 preload:
1542.39 ns
Kcas Xt read-only:
time per transaction/0 loc tx:
6.09 ns
time per transaction/1 loc tx:
13.83 ns
time per transaction/2 loc tx:
29.55 ns
time per transaction/4 loc tx:
49.45 ns
time per transaction/8 loc tx:
247.27 ns
transactions over time/0 loc tx:
164.26 M/s
transactions over time/1 loc tx:
72.31 M/s
transactions over time/2 loc tx:
33.84 M/s
transactions over time/4 loc tx:
20.22 M/s
transactions over time/8 loc tx:
4.04 M/s
Kcas parallel CMP:
time per transaction/1 worker:
58.48 ns
time per transaction/2 workers:
104.24 ns
time per transaction/4 workers:
209.96 ns
transactions over time/1 worker:
17.10 M/s
transactions over time/2 workers:
19.19 M/s
transactions over time/4 workers:
19.05 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
40.20 M/s
operations over time/2 workers, 0% reads:
44.64 M/s
operations over time/4 workers, 0% reads:
58.24 M/s
time per operation/1 worker, 0% reads:
24.87 ns
time per operation/2 workers, 0% reads:
44.80 ns
time per operation/4 workers, 0% reads:
68.91 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
7.04 M/s
messages over time/1 nb adder, 2 nb takers:
7.07 M/s
messages over time/2 nb adders, 1 nb taker:
8.12 M/s
messages over time/2 nb adders, 2 nb takers:
7.78 M/s
messages over time/one domain:
4.55 M/s
time per message/1 nb adder, 1 nb taker:
283.96 ns
time per message/1 nb adder, 2 nb takers:
424.29 ns
time per message/2 nb adders, 1 nb taker:
369.34 ns
time per message/2 nb adders, 2 nb takers:
513.90 ns
time per message/one domain:
219.69 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
6.30 M/s
operations over time/1 worker, 50% reads:
5.46 M/s
operations over time/1 worker, 90% reads:
33.12 M/s
operations over time/2 workers, 10% reads:
10.34 M/s
operations over time/2 workers, 50% reads:
13.28 M/s
operations over time/2 workers, 90% reads:
31.01 M/s
operations over time/4 workers, 10% reads:
9.26 M/s
operations over time/4 workers, 50% reads:
6.99 M/s
operations over time/4 workers, 90% reads:
20.21 M/s
time per operation/1 worker, 10% reads:
173.94 ns
time per operation/1 worker, 50% reads:
183.06 ns
time per operation/1 worker, 90% reads:
30.19 ns
time per operation/2 workers, 10% reads:
193.41 ns
time per operation/2 workers, 50% reads:
150.55 ns
time per operation/2 workers, 90% reads:
64.49 ns
time per operation/4 workers, 10% reads:
432.16 ns
time per operation/4 workers, 50% reads:
572.33 ns
time per operation/4 workers, 90% reads:
197.89 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.13 M/s
messages over time/1 adder, 1 taker:
0.20 M/s
messages over time/1 adder, 2 nb takers:
0.16 M/s
messages over time/1 adder, 2 takers:
0.10 M/s
messages over time/1 nb adder, 1 nb taker:
0.07 M/s
messages over time/1 nb adder, 1 taker:
0.09 M/s
messages over time/1 nb adder, 2 nb takers:
0.19 M/s
messages over time/1 nb adder, 2 takers:
0.19 M/s
messages over time/2 adders, 1 nb taker:
0.28 M/s
messages over time/2 adders, 1 taker:
0.20 M/s
messages over time/2 adders, 2 nb takers:
0.18 M/s
messages over time/2 adders, 2 takers:
0.16 M/s
messages over time/2 nb adders, 1 nb taker:
0.19 M/s
messages over time/2 nb adders, 1 taker:
0.20 M/s
messages over time/2 nb adders, 2 nb takers:
0.29 M/s
messages over time/2 nb adders, 2 takers:
0.12 M/s
time per message/1 adder, 1 nb taker:
15831.45 ns
time per message/1 adder, 1 taker:
10187.29 ns
time per message/1 adder, 2 nb takers:
18446.67 ns
time per message/1 adder, 2 takers:
29969.16 ns
time per message/1 nb adder, 1 nb taker:
27870.22 ns
time per message/1 nb adder, 1 taker:
21335.00 ns
time per message/1 nb adder, 2 nb takers:
15630.84 ns
time per message/1 nb adder, 2 takers:
16003.75 ns
time per message/2 adders, 1 nb taker:
10611.47 ns
time per message/2 adders, 1 taker:
15060.62 ns
time per message/2 adders, 2 nb takers:
22094.58 ns
time per message/2 adders, 2 takers:
24342.82 ns
time per message/2 nb adders, 1 nb taker:
16013.33 ns
time per message/2 nb adders, 1 taker:
15153.33 ns
time per message/2 nb adders, 2 nb takers:
14024.48 ns
time per message/2 nb adders, 2 takers:
33647.70 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
35.81 M/s
messages over time/1 nb adder, 1 taker:
29.87 M/s
messages over time/1 nb adder, 2 nb takers:
25.84 M/s
messages over time/1 nb adder, 2 takers:
31.88 M/s
messages over time/2 nb adders, 1 nb taker:
33.12 M/s
messages over time/2 nb adders, 1 taker:
37.68 M/s
messages over time/2 nb adders, 2 nb takers:
33.67 M/s
messages over time/2 nb adders, 2 takers:
33.45 M/s
messages over time/one domain:
6.82 M/s
time per message/1 nb adder, 1 nb taker:
55.85 ns
time per message/1 nb adder, 1 taker:
66.95 ns
time per message/1 nb adder, 2 nb takers:
116.08 ns
time per message/1 nb adder, 2 takers:
94.09 ns
time per message/2 nb adders, 1 nb taker:
90.76 ns
time per message/2 nb adders, 1 taker:
79.62 ns
time per message/2 nb adders, 2 nb takers:
118.79 ns
time per message/2 nb adders, 2 takers:
119.58 ns
time per message/one domain:
146.56 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
29.51 M/s
messages over time/1 nb adder, 1 taker:
32.77 M/s
messages over time/1 nb adder, 2 nb takers:
20.26 M/s
messages over time/1 nb adder, 2 takers:
20.21 M/s
messages over time/2 nb adders, 1 nb taker:
40.64 M/s
messages over time/2 nb adders, 1 taker:
41.81 M/s
messages over time/2 nb adders, 2 nb takers:
37.10 M/s
messages over time/2 nb adders, 2 takers:
30.92 M/s
messages over time/one domain:
4.86 M/s
time per message/1 nb adder, 1 nb taker:
67.77 ns
time per message/1 nb adder, 1 taker:
61.04 ns
time per message/1 nb adder, 2 nb takers:
148.11 ns
time per message/1 nb adder, 2 takers:
148.44 ns
time per message/2 nb adders, 1 nb taker:
73.81 ns
time per message/2 nb adders, 1 taker:
71.75 ns
time per message/2 nb adders, 2 nb takers:
107.80 ns
time per message/2 nb adders, 2 takers:
129.38 ns
time per message/one domain:
207.28 ns
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `JDKHBB9N'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `~/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 22.918s. 2 tests run.
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 4374539749677445634
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 0.8s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3677863546811153078
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 1.0s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 2205416008594649064
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 3.2s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 659322430109248923
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Stack sequential
[✓] 256 0 0 256 / 256 6.0s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1520953217780676119
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Stack sequential
[✓] 512 0 0 512 / 512 12.8s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 4113808969267708086
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 0.7s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 1091871731442193165
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 0.8s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 389166128390389845
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 1.6s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 936916971271917596
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 3.8s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 4102298288539271792
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Accumulator sequential
[✓] 256 0 0 256 / 256 5.7s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3152372522028989000
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Accumulator sequential
[✓] 512 0 0 512 / 512 13.6s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 1587876611171647371
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 0.9s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 654943896850944076
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 1.1s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 1630763166295389688
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 2.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2336232574179979528
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 3.7s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2364007852314743676
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl sequential
[✓] 256 0 0 256 / 256 6.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4531816128784316846
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Hashtbl sequential
[✓] 512 0 0 512 / 512 13.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4263617269514491984
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 0.7s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 3057128837904666377
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 1.1s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2359093108694006316
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 2.0s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1803731516353887043
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 4.6s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2149946959844271070
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Queue sequential
[✓] 256 0 0 256 / 256 7.3s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2780947815980390773
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Queue sequential
[✓] 512 0 0 512 / 512 12.7s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1906889984120650023
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 0.5s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 744750584998146287
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 0.7s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 659345391326100940
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 1.3s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 601340860313721349
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 4.5s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 908422336309835283
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Dllist sequential
[✓] 256 0 0 256 / 256 8.1s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 449835232866640564
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Dllist sequential
[ ] 3
[✓] 512 0 0 512 / 512 13.5s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3753381924714812272
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 0.5s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 581412828280365603
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.7s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3241422925693562939
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 2.1s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 1431144504131089477
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 4.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 558581752566665154
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl_with_order sequential
[✓] 256 0 0 256 / 256 9.6s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2591124865617186284
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Hashtbl_with_order sequential
[✓] 512 0 0 512 / 512 14.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 6882817020040513
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 0.3s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-10-18 17:40.43 ---> saved as "98cf13012a30088b888fcc1e152f1f8434a954f25bda4b54a9d21da6d096bbd4"
Job succeeded
2024-10-18 17:40.49: Job succeeded