2024-10-18 17:21.30: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/sleeping-barbers-example (2d9eea67a0e305f74798f477980f4101c89ad771) (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 "sleeping-barbers-example" && cd "kcas" && git reset --hard 2d9eea67
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.30: 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.30: 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.30: Waiting for resource in pool OCluster
2024-10-18 17:21.30: Waiting for worker…
2024-10-18 17:42.25: Got resource from pool OCluster
Building on m1-worker-04
All commits already cached
HEAD is now at 2d9eea6 Sleeping barbers
(from macos-homebrew-ocaml-4.14)
2024-10-18 17:42.25 ---> 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:42.25 ---> 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:42.25 ---> 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:42.25 ---> 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:42.25 ---> using "92930e5d391910f53ff9e98211a95b1c298ce3daab6aad87b514b4cc5c0ad467" from cache
/: (copy (src kcas_data.opam kcas.opam) (dst ./src/./))
2024-10-18 17:42.26 ---> 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:42.26 ---> 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:42.26 ---> 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:42.26 ---> using "178d67dc442024f671993551abb6a15a8e981b9a333bf09015b93fe18af5f52a" from cache
/: (copy (src .) (dst ./src))
2024-10-18 17:42.27 ---> saved as "602816f3881a04a77963cb2d94620d53f9855fbb949a23687ab947aabf5f37ab"
/: (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 `CGW46GFN'.
[OK] await between threads 0
Full test results in `~/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.003s. 1 test run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `RZNB8GXV'.
[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 `ODDOOJVD'.
[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 && ./queue_test.exe)
Testing `Queue'.
This run has ID `1WUOQ10W'.
[OK] basics 0
[OK] capacity 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Queue'.
Test Successful in 0.000s. 2 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `8EFFZ2TZ'.
[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.531s. 17 tests run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `MK4RV2XI'.
[OK] basics 0
[OK] capacity 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Stack'.
Test Successful in 0.000s. 2 tests run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `QXGKI2XV'.
[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/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
58.76 M/s
ops over time/get:
512.86 M/s
ops over time/incr:
41.68 M/s
ops over time/push & pop:
39.44 M/s
ops over time/swap:
63.94 M/s
ops over time/xchg int:
152.54 M/s
time per op/cas int:
17.02 ns
time per op/get:
1.95 ns
time per op/incr:
23.99 ns
time per op/push & pop:
25.36 ns
time per op/swap:
15.64 ns
time per op/xchg int:
6.56 ns
Kcas Xt:
time per transaction/0 loc tx:
6.07 ns
time per transaction/1 loc tx:
72.37 ns
time per transaction/2 loc tx:
153.58 ns
time per transaction/4 loc tx:
292.38 ns
time per transaction/8 loc tx:
509.42 ns
transactions over time/0 loc tx:
164.76 M/s
transactions over time/1 loc tx:
13.82 M/s
transactions over time/2 loc tx:
6.51 M/s
transactions over time/4 loc tx:
3.42 M/s
transactions over time/8 loc tx:
1.96 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
18.96 ns
time per transaction/1 loc tx:
15.22 ns
time per transaction/2 loc tx:
71.33 ns
time per transaction/4 loc tx:
151.86 ns
time per transaction/8 loc tx:
872.96 ns
transactions over time/0 loc tx:
52.75 M/s
transactions over time/1 loc tx:
65.72 M/s
transactions over time/2 loc tx:
14.02 M/s
transactions over time/4 loc tx:
6.75 M/s
transactions over time/8 loc tx:
1.15 M/s
Kcas parallel CMP:
time per transaction/1 worker:
126.62 ns
time per transaction/2 workers:
119.08 ns
time per transaction/4 workers:
238.70 ns
transactions over time/1 worker:
7.90 M/s
transactions over time/2 workers:
16.79 M/s
transactions over time/4 workers:
16.76 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
40.04 M/s
operations over time/2 workers, 0% reads:
18.82 M/s
operations over time/4 workers, 0% reads:
43.37 M/s
time per operation/1 worker, 0% reads:
24.97 ns
time per operation/2 workers, 0% reads:
106.25 ns
time per operation/4 workers, 0% reads:
92.38 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
6.91 M/s
messages over time/1 nb adder, 2 nb takers:
6.98 M/s
messages over time/2 nb adders, 1 nb taker:
8.03 M/s
messages over time/2 nb adders, 2 nb takers:
7.60 M/s
messages over time/one domain:
4.80 M/s
time per message/1 nb adder, 1 nb taker:
289.64 ns
time per message/1 nb adder, 2 nb takers:
429.70 ns
time per message/2 nb adders, 1 nb taker:
373.54 ns
time per message/2 nb adders, 2 nb takers:
526.66 ns
time per message/one domain:
208.47 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
4.36 M/s
operations over time/1 worker, 50% reads:
4.93 M/s
operations over time/1 worker, 90% reads:
16.81 M/s
operations over time/2 workers, 10% reads:
3.57 M/s
operations over time/2 workers, 50% reads:
7.75 M/s
operations over time/2 workers, 90% reads:
8.61 M/s
operations over time/4 workers, 10% reads:
9.96 M/s
operations over time/4 workers, 50% reads:
13.53 M/s
operations over time/4 workers, 90% reads:
8.73 M/s
time per operation/1 worker, 10% reads:
229.37 ns
time per operation/1 worker, 50% reads:
202.64 ns
time per operation/1 worker, 90% reads:
59.50 ns
time per operation/2 workers, 10% reads:
560.37 ns
time per operation/2 workers, 50% reads:
258.09 ns
time per operation/2 workers, 90% reads:
232.29 ns
time per operation/4 workers, 10% reads:
401.74 ns
time per operation/4 workers, 50% reads:
295.68 ns
time per operation/4 workers, 90% reads:
458.34 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.05 M/s
messages over time/1 adder, 1 taker:
0.05 M/s
messages over time/1 adder, 2 nb takers:
0.05 M/s
messages over time/1 adder, 2 takers:
0.03 M/s
messages over time/1 nb adder, 1 nb taker:
0.18 M/s
messages over time/1 nb adder, 1 taker:
0.29 M/s
messages over time/1 nb adder, 2 nb takers:
0.19 M/s
messages over time/1 nb adder, 2 takers:
0.06 M/s
messages over time/2 adders, 1 nb taker:
0.29 M/s
messages over time/2 adders, 1 taker:
0.19 M/s
messages over time/2 adders, 2 nb takers:
0.17 M/s
messages over time/2 adders, 2 takers:
0.18 M/s
messages over time/2 nb adders, 1 nb taker:
0.08 M/s
messages over time/2 nb adders, 1 taker:
0.15 M/s
messages over time/2 nb adders, 2 nb takers:
0.17 M/s
messages over time/2 nb adders, 2 takers:
0.28 M/s
time per message/1 adder, 1 nb taker:
41019.37 ns
time per message/1 adder, 1 taker:
39796.46 ns
time per message/1 adder, 2 nb takers:
60469.38 ns
time per message/1 adder, 2 takers:
85847.71 ns
time per message/1 nb adder, 1 nb taker:
11397.30 ns
time per message/1 nb adder, 1 taker:
6903.34 ns
time per message/1 nb adder, 2 nb takers:
15862.50 ns
time per message/1 nb adder, 2 takers:
51424.58 ns
time per message/2 adders, 1 nb taker:
10525.94 ns
time per message/2 adders, 1 taker:
16354.68 ns
time per message/2 adders, 2 nb takers:
23722.08 ns
time per message/2 adders, 2 takers:
21900.52 ns
time per message/2 nb adders, 1 nb taker:
39479.79 ns
time per message/2 nb adders, 1 taker:
20023.75 ns
time per message/2 nb adders, 2 nb takers:
24050.00 ns
time per message/2 nb adders, 2 takers:
14052.30 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
34.22 M/s
messages over time/1 nb adder, 1 taker:
34.07 M/s
messages over time/1 nb adder, 2 nb takers:
31.06 M/s
messages over time/1 nb adder, 2 takers:
23.90 M/s
messages over time/2 nb adders, 1 nb taker:
26.90 M/s
messages over time/2 nb adders, 1 taker:
29.23 M/s
messages over time/2 nb adders, 2 nb takers:
23.43 M/s
messages over time/2 nb adders, 2 takers:
24.58 M/s
messages over time/one domain:
5.43 M/s
time per message/1 nb adder, 1 nb taker:
58.44 ns
time per message/1 nb adder, 1 taker:
58.70 ns
time per message/1 nb adder, 2 nb takers:
96.58 ns
time per message/1 nb adder, 2 takers:
125.51 ns
time per message/2 nb adders, 1 nb taker:
111.61 ns
time per message/2 nb adders, 1 taker:
102.65 ns
time per message/2 nb adders, 2 nb takers:
170.71 ns
time per message/2 nb adders, 2 takers:
162.72 ns
time per message/one domain:
184.12 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
28.99 M/s
messages over time/1 nb adder, 1 taker:
35.27 M/s
messages over time/1 nb adder, 2 nb takers:
33.49 M/s
messages over time/1 nb adder, 2 takers:
13.20 M/s
messages over time/2 nb adders, 1 nb taker:
34.52 M/s
messages over time/2 nb adders, 1 taker:
36.39 M/s
messages over time/2 nb adders, 2 nb takers:
18.42 M/s
messages over time/2 nb adders, 2 takers:
35.99 M/s
messages over time/one domain:
19.21 M/s
time per message/1 nb adder, 1 nb taker:
69.00 ns
time per message/1 nb adder, 1 taker:
56.71 ns
time per message/1 nb adder, 2 nb takers:
89.57 ns
time per message/1 nb adder, 2 takers:
227.32 ns
time per message/2 nb adders, 1 nb taker:
86.91 ns
time per message/2 nb adders, 1 taker:
82.45 ns
time per message/2 nb adders, 2 nb takers:
217.19 ns
time per message/2 nb adders, 2 takers:
111.13 ns
time per message/one domain:
52.05 ns
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `N0QRL5Z5'.
[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 && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `8QMJFII0'.
[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.126s. 2 tests run.
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 3710219735527782498
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 0.6s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3656880542301873728
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 1.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 1525419724864414468
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 2.9s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 4572121868692868030
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Accumulator sequential
[✓] 256 0 0 256 / 256 7.6s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3220345033410482374
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Accumulator sequential
[✓] 512 0 0 512 / 512 16.3s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3569750012200136815
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)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 2971999708950045782
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)
random seed: 404944868510043271
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: 3578408034239752192
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 3.1s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 2941274191261048053
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Stack sequential
[✓] 256 0 0 256 / 256 7.8s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 2730176121758708546
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Stack sequential
[✓] 512 0 0 512 / 512 15.3s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 2035763770927384379
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.0s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 4511189573048976358
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 0.6s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2481663048882579259
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 1.2s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2682401365024017363
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: 2499034786350322657
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Queue sequential
[✓] 256 0 0 256 / 256 6.9s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 667561076447323475
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Queue sequential
[✓] 512 0 0 512 / 512 16.9s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2864484311390326790
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 0.6s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 2492344231430614584
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 0.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3169920000135531905
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 2.4s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 863977513742001473
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 4.2s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 1660408909976193979
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl sequential
[✓] 256 0 0 256 / 256 8.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2266853990929372295
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Hashtbl sequential
[✓] 512 0 0 512 / 512 15.0s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3689498025954630267
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 0.4s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 3477909734537049168
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 0.8s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2526681777211392790
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 2.8s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 262091077240461640
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 3.8s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 803725348385853981
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Dllist sequential
[ ] 111 0 0 111 / 256
[✓] 256 0 0 256 / 256 9.1s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1328459023238975289
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Dllist sequential
[✓] 512 0 0 512 / 512 15.6s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 4284881348825619459
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 0.4s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 288667364156358897
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.9s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2792958413491839790
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 3.4s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2085351639082219911
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 5.4s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 393023235504914955
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl_with_order sequential
[✓] 256 0 0 256 / 256 11.8s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 1736035688789605042
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Hashtbl_with_order sequential
[✓] 512 0 0 512 / 512 13.9s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 839326307032982165
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:43.08 ---> saved as "622763c45ff5c505cce9dab1cd82e9e17be3f22a6d59b07429e500f019bf3e17"
Job succeeded
2024-10-18 17:43.14: Job succeeded