2024-08-28 13:38.24: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/main (1747c2411179365347e86eb7d974923b6a727e96) (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 "main" && cd "kcas" && git reset --hard 1747c241
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 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && 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.6.9 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.0.0 multicore-bench.0.1.4 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.3 qcheck-stm.0.3 re.1.11.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-08-28 13:38.24: Using cache hint "ocaml-multicore/kcas-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.2-4a2527bb358e16b48a4de0cd4666e64f"
2024-08-28 13:38.24: 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 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && 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.6.9 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.0.0 multicore-bench.0.1.4 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.3 qcheck-stm.0.3 re.1.11.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-08-28 13:38.24: Waiting for resource in pool OCluster
2024-08-28 13:38.24: Waiting for worker…
2024-08-28 22:07.39: Got resource from pool OCluster
Building on m1-worker-02
All commits already cached
HEAD is now at 1747c24 Upgrade ocamlformat to 0.26.2
(from macos-homebrew-ocaml-4.14)
2024-08-28 22:07.39 ---> 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-08-28 22:07.39 ---> 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-08-28 22:07.39 ---> 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-08-28 22:07.40 ---> 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 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
fe8dffac61..2beff567ef master -> origin/master
2c6ced5ce1 Merge pull request #26448 from avsm/upper-mdx
<><> 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-08-28 22:07.40 ---> using "446c62097396a8c2ae1d0df86e0e7ac0d4a7725373ca1b77eb23273ed85088c8" from cache
/: (copy (src kcas_data.opam kcas.opam) (dst ./src/./))
2024-08-28 22:07.40 ---> using "44a155b67c35a13e48641b825d61418c1ee1ab7925459c2eb5354b8bfbd62e4d" 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-08-28 22:07.40 ---> using "8b514e5b657fc91952455b91be70c3e766b597e63cb637975c94987961842256" from cache
/: (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.6.9 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.0.0 multicore-bench.0.1.4 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.3 qcheck-stm.0.3 re.1.11.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-08-28 22:07.40 ---> using "2c5e958024028e154f3239865d944a683a2f3476d8be49ad5c98dc8336bd5537" 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.0
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cppo 1.6.9
- 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.0.0
- install multicore-bench 0.1.4
- 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.3
- install qcheck-stm 0.3
- install re 1.11.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.6.9 (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.0.0 (cached)
-> retrieved multicore-bench.0.1.4 (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.3, qcheck-stm.0.3 (cached)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved re.1.11.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 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.0.0
-> installed astring.0.8.5
-> installed fmt.0.9.0
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed backoff.0.1.0
-> installed multicore-magic.2.3.0
-> installed ocaml-version.3.6.8
-> installed ocaml-syntax-shims.1.0.0
-> installed psq.0.2.1
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed cppo.1.6.9
-> installed thread-table.1.0.0
-> installed re.1.11.0
-> installed domain-local-timeout.1.0.1
-> installed domain-local-await.1.0.1
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.3
-> installed alcotest.1.8.0
-> installed qcheck-stm.0.3
-> installed multicore-bench.0.1.4
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-08-28 22:07.40 ---> using "57a272e51c926596cff36155b75d0a90caf5bd023cb91e35bd950de8ad2e55ff" from cache
/: (copy (src .) (dst ./src))
2024-08-28 22:07.41 ---> saved as "b1247afab5f76381323424d44babe054e76dd32dbc9c342ef03b1ee709eec637"
/: (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 `FQLG500W'.
[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 `GMRFM93B'.
[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.375s. 17 tests run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `X4EF2B5Y'.
[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 `DJ0T3OQT'.
[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 `UH3374CU'.
[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 `WSE0464I'.
[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 && ./xt_test.exe)
Testing `Transactions'.
This run has ID `6VSLSETX'.
[OK] basics 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Transactions'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `WPS2AR08'.
[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 && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
1.90 ns
ops over time/get:
525.02 M/s
time per op/incr:
37.66 ns
ops over time/incr:
26.56 M/s
time per op/push & pop:
24.42 ns
ops over time/push & pop:
40.98 M/s
time per op/cas int:
5.95 ns
ops over time/cas int:
167.94 M/s
time per op/xchg int:
9.19 ns
ops over time/xchg int:
108.84 M/s
time per op/swap:
32.24 ns
ops over time/swap:
31.14 M/s
Kcas Xt:
time per transaction/0 loc tx:
22.72 ns
transactions over time/0 loc tx:
44.01 M/s
time per transaction/1 loc tx:
68.30 ns
transactions over time/1 loc tx:
14.64 M/s
time per transaction/2 loc tx:
63.87 ns
transactions over time/2 loc tx:
15.66 M/s
time per transaction/4 loc tx:
84.82 ns
transactions over time/4 loc tx:
11.79 M/s
time per transaction/8 loc tx:
168.29 ns
transactions over time/8 loc tx:
5.94 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
27.34 ns
transactions over time/0 loc tx:
36.57 M/s
time per transaction/1 loc tx:
35.93 ns
transactions over time/1 loc tx:
27.83 M/s
time per transaction/2 loc tx:
30.46 ns
transactions over time/2 loc tx:
32.83 M/s
time per transaction/4 loc tx:
80.73 ns
transactions over time/4 loc tx:
12.39 M/s
time per transaction/8 loc tx:
325.65 ns
transactions over time/8 loc tx:
3.07 M/s
Kcas parallel CMP:
time per transaction/1 worker:
50.72 ns
transactions over time/1 worker:
19.72 M/s
time per transaction/2 workers:
313.34 ns
transactions over time/2 workers:
6.42 M/s
time per transaction/4 workers:
561.47 ns
transactions over time/4 workers:
7.12 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
45.60 ns
operations over time/1 worker, 0% reads:
21.94 M/s
time per operation/2 workers, 0% reads:
59.83 ns
operations over time/2 workers, 0% reads:
33.43 M/s
time per operation/4 workers, 0% reads:
71.04 ns
operations over time/4 workers, 0% reads:
56.31 M/s
Kcas_data Dllist:
time per message/one domain:
205.53 ns
messages over time/one domain:
4.87 M/s
time per message/1 nb adder, 1 nb taker:
801.38 ns
messages over time/1 nb adder, 1 nb taker:
2.50 M/s
time per message/1 nb adder, 2 nb takers:
1269.54 ns
messages over time/1 nb adder, 2 nb takers:
2.36 M/s
time per message/2 nb adders, 1 nb taker:
1192.79 ns
messages over time/2 nb adders, 1 nb taker:
2.52 M/s
time per message/2 nb adders, 2 nb takers:
1572.42 ns
messages over time/2 nb adders, 2 nb takers:
2.54 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
109.42 ns
operations over time/1 worker, 90% reads:
9.14 M/s
time per operation/2 workers, 90% reads:
59.77 ns
operations over time/2 workers, 90% reads:
33.46 M/s
time per operation/4 workers, 90% reads:
205.14 ns
operations over time/4 workers, 90% reads:
19.50 M/s
time per operation/1 worker, 50% reads:
89.97 ns
operations over time/1 worker, 50% reads:
11.12 M/s
time per operation/2 workers, 50% reads:
298.25 ns
operations over time/2 workers, 50% reads:
7.48 M/s
time per operation/4 workers, 50% reads:
323.00 ns
operations over time/4 workers, 50% reads:
12.38 M/s
time per operation/1 worker, 10% reads:
332.06 ns
operations over time/1 worker, 10% reads:
3.01 M/s
time per operation/2 workers, 10% reads:
187.47 ns
operations over time/2 workers, 10% reads:
10.67 M/s
time per operation/4 workers, 10% reads:
409.42 ns
operations over time/4 workers, 10% reads:
9.77 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
10538.97 ns
messages over time/1 nb adder, 1 nb taker:
0.19 M/s
time per message/1 nb adder, 1 taker:
13179.37 ns
messages over time/1 nb adder, 1 taker:
0.15 M/s
time per message/1 nb adder, 2 nb takers:
18679.07 ns
messages over time/1 nb adder, 2 nb takers:
0.16 M/s
time per message/1 nb adder, 2 takers:
19047.71 ns
messages over time/1 nb adder, 2 takers:
0.16 M/s
time per message/1 adder, 1 nb taker:
8430.42 ns
messages over time/1 adder, 1 nb taker:
0.24 M/s
time per message/1 adder, 1 taker:
11240.21 ns
messages over time/1 adder, 1 taker:
0.18 M/s
time per message/1 adder, 2 nb takers:
70126.88 ns
messages over time/1 adder, 2 nb takers:
0.04 M/s
time per message/1 adder, 2 takers:
100193.96 ns
messages over time/1 adder, 2 takers:
0.03 M/s
time per message/2 nb adders, 1 nb taker:
20012.91 ns
messages over time/2 nb adders, 1 nb taker:
0.15 M/s
time per message/2 nb adders, 1 taker:
15286.66 ns
messages over time/2 nb adders, 1 taker:
0.20 M/s
time per message/2 nb adders, 2 nb takers:
13993.96 ns
messages over time/2 nb adders, 2 nb takers:
0.29 M/s
time per message/2 nb adders, 2 takers:
20493.54 ns
messages over time/2 nb adders, 2 takers:
0.20 M/s
time per message/2 adders, 1 nb taker:
11421.47 ns
messages over time/2 adders, 1 nb taker:
0.26 M/s
time per message/2 adders, 1 taker:
56742.91 ns
messages over time/2 adders, 1 taker:
0.05 M/s
time per message/2 adders, 2 nb takers:
86556.67 ns
messages over time/2 adders, 2 nb takers:
0.05 M/s
time per message/2 adders, 2 takers:
22874.79 ns
messages over time/2 adders, 2 takers:
0.17 M/s
Kcas_data Queue:
time per message/one domain:
66.00 ns
messages over time/one domain:
15.15 M/s
time per message/1 nb adder, 1 nb taker:
267.84 ns
messages over time/1 nb adder, 1 nb taker:
7.47 M/s
time per message/1 nb adder, 1 taker:
84.27 ns
messages over time/1 nb adder, 1 taker:
23.73 M/s
time per message/1 nb adder, 2 nb takers:
138.67 ns
messages over time/1 nb adder, 2 nb takers:
21.63 M/s
time per message/1 nb adder, 2 takers:
116.53 ns
messages over time/1 nb adder, 2 takers:
25.75 M/s
time per message/2 nb adders, 1 nb taker:
112.08 ns
messages over time/2 nb adders, 1 nb taker:
26.77 M/s
time per message/2 nb adders, 1 taker:
114.79 ns
messages over time/2 nb adders, 1 taker:
26.13 M/s
time per message/2 nb adders, 2 nb takers:
177.23 ns
messages over time/2 nb adders, 2 nb takers:
22.57 M/s
time per message/2 nb adders, 2 takers:
199.58 ns
messages over time/2 nb adders, 2 takers:
20.04 M/s
Kcas_data Stack:
time per message/one domain:
115.68 ns
messages over time/one domain:
8.64 M/s
time per message/1 nb adder, 1 nb taker:
85.08 ns
messages over time/1 nb adder, 1 nb taker:
23.51 M/s
time per message/1 nb adder, 1 taker:
89.80 ns
messages over time/1 nb adder, 1 taker:
22.27 M/s
time per message/1 nb adder, 2 nb takers:
85.94 ns
messages over time/1 nb adder, 2 nb takers:
34.91 M/s
time per message/1 nb adder, 2 takers:
169.04 ns
messages over time/1 nb adder, 2 takers:
17.75 M/s
time per message/2 nb adders, 1 nb taker:
185.53 ns
messages over time/2 nb adders, 1 nb taker:
16.17 M/s
time per message/2 nb adders, 1 taker:
168.42 ns
messages over time/2 nb adders, 1 taker:
17.82 M/s
time per message/2 nb adders, 2 nb takers:
263.97 ns
messages over time/2 nb adders, 2 nb takers:
15.15 M/s
time per message/2 nb adders, 2 takers:
247.68 ns
messages over time/2 nb adders, 2 takers:
16.15 M/s
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `N83DNOS2'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `~/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 23.424s. 2 tests run.
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 70415995
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.1s Stack sequential
[✓] 1000 0 0 1000 / 1000 30.6s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 411436428
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.1s Accumulator sequential
[✓] 1000 0 0 1000 / 1000 32.8s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 35739039
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.1s Hashtbl sequential
[✓] 1000 0 0 1000 / 1000 31.7s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 470768900
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.2s Dllist sequential
[✓] 1000 0 0 1000 / 1000 33.2s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 165743488
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.2s Queue sequential
[ ] 662 0 0 662 / 1000 23.9s Queue concurrent
[✓] 1000 0 0 1000 / 1000 32.6s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 314749647
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.2s Hashtbl_with_order sequential
[✓] 1000 0 0 1000 / 1000 36.1s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-08-28 22:08.21 ---> saved as "d92439e6d657fc92afc765729a2a1a7fe898fad3b0d32b8cc1f6fd0b1e46e222"
Job succeeded
2024-08-28 22:08.26: Job succeeded