2024-10-11 07:57.42: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/queue-using-two-stacks (a06fc0994bad0727c536249c78948316afd7d63b) (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 "queue-using-two-stacks" && cd "kcas" && git reset --hard a06fc099
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 82ebbd52a07bc65404a2443fc4804bd36e534c83 || git fetch origin master) && git reset -q --hard 82ebbd52a07bc65404a2443fc4804bd36e534c83 && 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-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.6 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-11 07:57.42: Using cache hint "ocaml-multicore/kcas-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.2-b79b728841e85c5b6570abe3adda8e3c"
2024-10-11 07:57.42: 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 82ebbd52a07bc65404a2443fc4804bd36e534c83 || git fetch origin master) && git reset -q --hard 82ebbd52a07bc65404a2443fc4804bd36e534c83 && 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-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.6 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-11 07:57.42: Waiting for resource in pool OCluster
2024-10-11 07:57.42: Waiting for worker…
2024-10-11 08:37.41: Got resource from pool OCluster
Building on i7-worker-02
All commits already cached
HEAD is now at a06fc09 WIP
(from macos-homebrew-ocaml-4.14)
2024-10-11 08:37.42 ---> 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-10-11 08:37.42 ---> 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-11 08:37.42 ---> 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-11 08:37.43 ---> 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 82ebbd52a07bc65404a2443fc4804bd36e534c83 || git fetch origin master) && git reset -q --hard 82ebbd52a07bc65404a2443fc4804bd36e534c83 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
5e7a27da27..1a07d7f3b0 master -> origin/master
82ebbd52a0 Merge pull request #26721 from polytypic/release-multicore-bench-0.1.6
<><> 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-11 08:37.43 ---> using "77e38b08abf4e5d6f9e45c3bf5c5263d4a2d31c1036cba54fcecbd7c5c2cab7f" from cache
/: (copy (src kcas_data.opam kcas.opam) (dst ./src/./))
2024-10-11 08:37.45 ---> saved as "946c4097779c3cbb5bea6535be40accee83105746be376fd6780a17b48df0be0"
/: (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-11 08:38.25 ---> saved as "5bf5974bc877b3a27f5c31dfafb0af93387224088551f17f546a00ce302480a8"
/: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.6 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"))
+ /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-10-11 08:39.05 ---> saved as "898bcb421d2bea7160c09c5e991a834e9afad8a83911a9fd612a13c6ec7cd25d"
/: (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.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.6
- 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 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.6 (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 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 camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed backoff.0.1.1
-> installed stdlib-shims.0.3.0
-> installed psq.0.2.1
-> installed ocaml-version.3.6.9
-> installed ocaml-syntax-shims.1.0.0
-> installed multicore-magic.2.3.0
-> installed result.1.5
-> installed thread-table.1.0.0
-> 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-core.0.22
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.4
-> installed qcheck-stm.0.4
-> installed multicore-bench.0.1.6
-> installed alcotest.1.8.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-11 08:40.20 ---> saved as "8bb85733bc9fe8c640ee1e5a9212b0f5f8d07a9fc79eb52e69b53f75db86b6ea"
/: (copy (src .) (dst ./src))
2024-10-11 08:40.22 ---> saved as "9dc0fafab9d088d9b67e710324ca11cf9c04a1f18c6f169922337f9426ff2d76"
/: (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 `XJOL6OL5'.
[OK] await between threads 0
Full test results in `~/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.002s. 1 test run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `0JU8PX9G'.
[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 0.956s. 17 tests run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `1FZH4831'.
[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 `X9Z72B31'.
[OK] basics 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.002s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `41VCZOF7'.
[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 `0TN6I69Q'.
[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 && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `6Z8OFQE6'.
[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.006s. 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 `EL48G409'.
[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:
31.98 M/s
ops over time/get:
140.48 M/s
ops over time/incr:
29.36 M/s
ops over time/push & pop:
28.41 M/s
ops over time/swap:
27.13 M/s
ops over time/xchg int:
39.39 M/s
time per op/cas int:
31.27 ns
time per op/get:
7.12 ns
time per op/incr:
34.05 ns
time per op/push & pop:
35.20 ns
time per op/swap:
36.86 ns
time per op/xchg int:
25.39 ns
Kcas Xt:
time per transaction/0 loc tx:
25.88 ns
time per transaction/1 loc tx:
111.90 ns
time per transaction/2 loc tx:
334.55 ns
time per transaction/4 loc tx:
491.08 ns
time per transaction/8 loc tx:
1484.95 ns
transactions over time/0 loc tx:
38.64 M/s
transactions over time/1 loc tx:
9.01 M/s
transactions over time/2 loc tx:
2.99 M/s
transactions over time/4 loc tx:
2.04 M/s
transactions over time/8 loc tx:
0.68 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
44.32 ns
time per transaction/1 loc tx:
87.28 ns
time per transaction/2 loc tx:
219.81 ns
time per transaction/4 loc tx:
369.39 ns
time per transaction/8 loc tx:
729.65 ns
transactions over time/0 loc tx:
22.58 M/s
transactions over time/1 loc tx:
11.46 M/s
transactions over time/2 loc tx:
4.55 M/s
transactions over time/4 loc tx:
2.71 M/s
transactions over time/8 loc tx:
1.37 M/s
Kcas parallel CMP:
time per transaction/1 worker:
311.33 ns
time per transaction/2 workers:
311.73 ns
time per transaction/4 workers:
792.04 ns
transactions over time/1 worker:
3.21 M/s
transactions over time/2 workers:
6.42 M/s
transactions over time/4 workers:
5.05 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
10.19 M/s
operations over time/2 workers, 0% reads:
26.94 M/s
operations over time/4 workers, 0% reads:
22.01 M/s
time per operation/1 worker, 0% reads:
98.12 ns
time per operation/2 workers, 0% reads:
74.24 ns
time per operation/4 workers, 0% reads:
181.72 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
1.30 M/s
messages over time/1 nb adder, 2 nb takers:
1.49 M/s
messages over time/2 nb adders, 1 nb taker:
2.14 M/s
messages over time/2 nb adders, 2 nb takers:
1.34 M/s
messages over time/one domain:
1.09 M/s
time per message/1 nb adder, 1 nb taker:
1537.87 ns
time per message/1 nb adder, 2 nb takers:
2012.20 ns
time per message/2 nb adders, 1 nb taker:
1403.84 ns
time per message/2 nb adders, 2 nb takers:
2985.13 ns
time per message/one domain:
914.93 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
2.35 M/s
operations over time/1 worker, 50% reads:
2.96 M/s
operations over time/1 worker, 90% reads:
7.14 M/s
operations over time/2 workers, 10% reads:
2.14 M/s
operations over time/2 workers, 50% reads:
2.71 M/s
operations over time/2 workers, 90% reads:
6.23 M/s
operations over time/4 workers, 10% reads:
2.29 M/s
operations over time/4 workers, 50% reads:
2.77 M/s
operations over time/4 workers, 90% reads:
5.47 M/s
time per operation/1 worker, 10% reads:
424.89 ns
time per operation/1 worker, 50% reads:
337.38 ns
time per operation/1 worker, 90% reads:
140.38 ns
time per operation/2 workers, 10% reads:
935.52 ns
time per operation/2 workers, 50% reads:
737.70 ns
time per operation/2 workers, 90% reads:
320.83 ns
time per operation/4 workers, 10% reads:
1746.50 ns
time per operation/4 workers, 50% reads:
1443.61 ns
time per operation/4 workers, 90% reads:
731.74 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.03 M/s
messages over time/1 adder, 1 taker:
0.03 M/s
messages over time/1 adder, 2 nb takers:
0.04 M/s
messages over time/1 adder, 2 takers:
0.03 M/s
messages over time/1 nb adder, 1 nb taker:
0.02 M/s
messages over time/1 nb adder, 1 taker:
0.02 M/s
messages over time/1 nb adder, 2 nb takers:
0.02 M/s
messages over time/1 nb adder, 2 takers:
0.02 M/s
messages over time/2 adders, 1 nb taker:
0.02 M/s
messages over time/2 adders, 1 taker:
0.03 M/s
messages over time/2 adders, 2 nb takers:
0.03 M/s
messages over time/2 adders, 2 takers:
0.02 M/s
messages over time/2 nb adders, 1 nb taker:
0.03 M/s
messages over time/2 nb adders, 1 taker:
0.03 M/s
messages over time/2 nb adders, 2 nb takers:
0.03 M/s
messages over time/2 nb adders, 2 takers:
0.03 M/s
time per message/1 adder, 1 nb taker:
70048.34 ns
time per message/1 adder, 1 taker:
62527.89 ns
time per message/1 adder, 2 nb takers:
70859.01 ns
time per message/1 adder, 2 takers:
109128.93 ns
time per message/1 nb adder, 1 nb taker:
104395.76 ns
time per message/1 nb adder, 1 taker:
85710.60 ns
time per message/1 nb adder, 2 nb takers:
127199.35 ns
time per message/1 nb adder, 2 takers:
121040.65 ns
time per message/2 adders, 1 nb taker:
140405.57 ns
time per message/2 adders, 1 taker:
89157.00 ns
time per message/2 adders, 2 nb takers:
128755.60 ns
time per message/2 adders, 2 takers:
168412.10 ns
time per message/2 nb adders, 1 nb taker:
85903.96 ns
time per message/2 nb adders, 1 taker:
106628.37 ns
time per message/2 nb adders, 2 nb takers:
140385.83 ns
time per message/2 nb adders, 2 takers:
146974.54 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
8.26 M/s
messages over time/1 nb adder, 1 taker:
9.85 M/s
messages over time/1 nb adder, 2 nb takers:
7.72 M/s
messages over time/1 nb adder, 2 takers:
7.92 M/s
messages over time/2 nb adders, 1 nb taker:
9.20 M/s
messages over time/2 nb adders, 1 taker:
9.39 M/s
messages over time/2 nb adders, 2 nb takers:
8.13 M/s
messages over time/2 nb adders, 2 takers:
7.86 M/s
messages over time/one domain:
5.88 M/s
time per message/1 nb adder, 1 nb taker:
242.02 ns
time per message/1 nb adder, 1 taker:
203.06 ns
time per message/1 nb adder, 2 nb takers:
388.52 ns
time per message/1 nb adder, 2 takers:
378.98 ns
time per message/2 nb adders, 1 nb taker:
326.20 ns
time per message/2 nb adders, 1 taker:
319.40 ns
time per message/2 nb adders, 2 nb takers:
491.97 ns
time per message/2 nb adders, 2 takers:
508.91 ns
time per message/one domain:
170.08 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
19.72 M/s
messages over time/1 nb adder, 1 taker:
17.78 M/s
messages over time/1 nb adder, 2 nb takers:
15.02 M/s
messages over time/1 nb adder, 2 takers:
17.13 M/s
messages over time/2 nb adders, 1 nb taker:
20.07 M/s
messages over time/2 nb adders, 1 taker:
16.69 M/s
messages over time/2 nb adders, 2 nb takers:
13.96 M/s
messages over time/2 nb adders, 2 takers:
11.71 M/s
messages over time/one domain:
8.61 M/s
time per message/1 nb adder, 1 nb taker:
101.44 ns
time per message/1 nb adder, 1 taker:
112.49 ns
time per message/1 nb adder, 2 nb takers:
200.01 ns
time per message/1 nb adder, 2 takers:
175.17 ns
time per message/2 nb adders, 1 nb taker:
149.45 ns
time per message/2 nb adders, 1 taker:
179.84 ns
time per message/2 nb adders, 2 nb takers:
286.59 ns
time per message/2 nb adders, 2 takers:
341.64 ns
time per message/one domain:
116.21 ns
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `6TF305RT'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `~/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 16.646s. 2 tests run.
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 11828777
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Stack sequential
[✓] 1000 0 0 1000 / 1000 54.9s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 202211282
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Accumulator sequential
[✓] 1000 0 0 1000 / 1000 55.9s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 271004180
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Queue sequential
[✓] 1000 0 0 1000 / 1000 58.7s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 365052537
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Dllist sequential
[ ] 231 0 0
[✓] 1000 0 0 1000 / 1000 59.8s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 391677040
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Hashtbl sequential
[✓] 1000 0 0 1000 / 1000 62.2s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 199278868
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Hashtbl_with_order sequential
[✓] 1000 0 0 1000 / 1000 66.4s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-10-11 08:41.33 ---> saved as "271d06d0b32fb25d5d09bab0cf3408366c4a58e81eabd3af283c58e4da1e0652"
Job succeeded
2024-10-11 08:41.39: Job succeeded