2024-09-16 10:07.34: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/two-stack-queue (e4fe282660e216ba9ede91c8363b59b3c6581754) (macos-x86_64:macos-homebrew-5.2_opam-2.2)
Base: macos-homebrew-ocaml-5.2
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "two-stack-queue" && cd "kcas" && git reset --hard e4fe2826
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.2
# macos-homebrew-5.2_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 12d7650ba97ec7883fa001a001e0433e54eb4e53 || git fetch origin master) && git reset -q --hard 12d7650ba97ec7883fa001a001e0433e54eb4e53 && 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-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-09-16 10:07.34: Using cache hint "ocaml-multicore/kcas-macos-homebrew-ocaml-5.2-macos-homebrew-5.2_opam-2.2-53070e83be93da8c4c2bf3524393b500"
2024-09-16 10:07.34: Using OBuilder spec:
((from macos-homebrew-ocaml-5.2)
(comment macos-homebrew-5.2_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 12d7650ba97ec7883fa001a001e0433e54eb4e53 || git fetch origin master) && git reset -q --hard 12d7650ba97ec7883fa001a001e0433e54eb4e53 && 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-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-09-16 10:07.34: Waiting for resource in pool OCluster
2024-09-16 10:07.34: Waiting for worker…
2024-09-16 10:34.18: Got resource from pool OCluster
Building on i7-worker-04
All commits already cached
HEAD is now at e4fe282 WIP: Two stack queue
(from macos-homebrew-ocaml-5.2)
2024-09-16 10:34.19 ---> using "9b46fe3d2429f2b9195a02468cb57ac45cfa11fb4a87cb32b5e5375232223327" from cache
/: (comment macos-homebrew-5.2_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam"))
2024-09-16 10:34.20 ---> using "b003627c18f5d873361872ecfa38a9a8b5c86cc26245bef1d152887064c98071" from cache
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This version of opam requires an update to the layout of /Users/mac1000/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2024-09-16 10:34.20 ---> using "408d2cc158c17e89759cf51b146539f00642e287086d5c54f85c33dae9e6a1f9" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 5.2.0
2.2.0
2024-09-16 10:34.21 ---> using "80c5626e56c363c9237b2d67b74b9ac64751c52cd041543c0fda73b45b911c9a" 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 12d7650ba97ec7883fa001a001e0433e54eb4e53 || git fetch origin master) && git reset -q --hard 12d7650ba97ec7883fa001a001e0433e54eb4e53 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
fe8dffac61..12d7650ba9 master -> origin/master
12d7650ba9 Merge pull request #26569 from polytypic/release-multicore-bench-0.1.5
<><> 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
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-09-16 10:34.22 ---> using "3fc82a9a04d3581a8dbd58ef8e845a5ef890b8068efa1edecf8c2aef35ae92ca" from cache
/: (copy (src kcas_data.opam kcas.opam) (dst ./src/./))
2024-09-16 10:34.24 ---> saved as "1ce560bbeed2b1af5c7d4ca52460989ae4e36784a9905dace178fc9e13a98667"
/: (run (network host)
(shell "opam pin add -yn kcas_data.dev './src/./' && \
\nopam pin add -yn kcas.dev './src/./'"))
[kcas_data.dev] synchronised (file:///Users/mac1000/src)
kcas_data is now pinned to file:///Users/mac1000/src (version dev)
[kcas.dev] synchronised (file:///Users/mac1000/src)
kcas is now pinned to file:///Users/mac1000/src (version dev)
2024-09-16 10:34.37 ---> saved as "2ce2fe373696000d94b5a0080fe9eb9b9a450565384cfe4b5eafad958f3e6b87"
/: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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.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...
- ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:bd12dc53d0714e477ce2ff4beaeb6ad71a9317271a63c3cd2f5d0427cf42f5c5
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/portable-ruby-3.3.4_1.el_capitan.bottle.tar.gz
- ==> Pouring portable-ruby-3.3.4_1.el_capitan.bottle.tar.gz
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
- https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
-
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
- https://github.com/Homebrew/brew#donations
-
- 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-09-16 10:35.13 ---> saved as "b8a4f5a0a0f0c1f01189097250c3c6f05f4be43b6f31b6932de46c80149920b7"
/: (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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 33 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install backoff 0.1.0
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cppo 1.7.0
- install csexp 1.5.2
- install domain-local-await 1.0.1
- install domain-local-timeout 1.0.1
- install domain_shims 0.1.0
- install dune 3.16.0
- install fmt 0.9.0
- install logs 0.7.0
- install mdx 2.4.1
- install mtime 2.1.0
- install multicore-bench 0.1.5
- install multicore-magic 2.3.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.8
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install psq 0.2.1
- install qcheck-core 0.22
- install qcheck-multicoretests-util 0.3
- install qcheck-stm 0.3
- install re 1.12.0
- install result 1.5
- install seq base
- install stdlib-shims 0.3.0
- install thread-table 1.0.0
- install topkg 1.0.7
- install uutf 1.0.3
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved domain-local-timeout.1.0.1 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved multicore-bench.0.1.5 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.8 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved qcheck-multicoretests-util.0.3, qcheck-stm.0.3 (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 backoff.0.1.0
-> installed ocaml-version.3.6.8
-> installed csexp.1.5.2
-> installed psq.0.2.1
-> installed camlp-streams.5.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed multicore-magic.2.3.0
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed cppo.1.7.0
-> installed re.1.12.0
-> installed qcheck-core.0.22
-> installed domain-local-await.1.0.1
-> installed domain-local-timeout.1.0.1
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.3
-> installed qcheck-stm.0.3
-> installed multicore-bench.0.1.5
-> installed alcotest.1.8.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-16 10:36.26 ---> saved as "6c9e863c9f62d6df6496b2922c66425cedf7aacb645124199441fafaa603f9e0"
/: (copy (src .) (dst ./src))
2024-09-16 10:36.28 ---> saved as "5f955bfd984e5aa2ae407698f6c78758f631902e6e3bf1c72a3c0184767a0eaf"
/: (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 `M8HU9WPY'.
[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 && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `M3QJ73XS'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `~/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 0.008s. 2 tests run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `3M49T6FK'.
[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 && ./queue_test.exe)
Testing `Queue'.
This run has ID `OQOWP9J0'.
[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 && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `6DYO1CD0'.
[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 && ./stack_test.exe)
Testing `Stack'.
This run has ID `UUK9H8NU'.
[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 && ./test.exe)
Testing `Kcas'.
This run has ID `633VW7LQ'.
[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 2.341s. 17 tests run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `USJDB2RM'.
[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.028s. 4 tests run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `NSMHOMVI'.
[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/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
7.63 ns
ops over time/get:
131.08 M/s
time per op/incr:
53.70 ns
ops over time/incr:
18.62 M/s
time per op/push & pop:
97.61 ns
ops over time/push & pop:
10.25 M/s
time per op/cas int:
44.91 ns
ops over time/cas int:
22.27 M/s
time per op/xchg int:
46.61 ns
ops over time/xchg int:
21.45 M/s
time per op/swap:
51.60 ns
ops over time/swap:
19.38 M/s
Kcas Xt:
time per transaction/0 loc tx:
24.51 ns
transactions over time/0 loc tx:
40.80 M/s
time per transaction/1 loc tx:
116.04 ns
transactions over time/1 loc tx:
8.62 M/s
time per transaction/2 loc tx:
195.00 ns
transactions over time/2 loc tx:
5.13 M/s
time per transaction/4 loc tx:
568.15 ns
transactions over time/4 loc tx:
1.76 M/s
time per transaction/8 loc tx:
1011.68 ns
transactions over time/8 loc tx:
0.99 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
27.06 ns
transactions over time/0 loc tx:
36.95 M/s
time per transaction/1 loc tx:
93.62 ns
transactions over time/1 loc tx:
10.68 M/s
time per transaction/2 loc tx:
287.49 ns
transactions over time/2 loc tx:
3.48 M/s
time per transaction/4 loc tx:
355.81 ns
transactions over time/4 loc tx:
2.81 M/s
time per transaction/8 loc tx:
889.05 ns
transactions over time/8 loc tx:
1.12 M/s
Kcas parallel CMP:
time per transaction/1 worker:
318.65 ns
transactions over time/1 worker:
3.14 M/s
time per transaction/2 workers:
350.05 ns
transactions over time/2 workers:
5.71 M/s
time per transaction/4 workers:
289.28 ns
transactions over time/4 workers:
13.83 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
56.93 ns
operations over time/1 worker, 0% reads:
17.56 M/s
time per operation/2 workers, 0% reads:
66.86 ns
operations over time/2 workers, 0% reads:
29.91 M/s
time per operation/4 workers, 0% reads:
74.81 ns
operations over time/4 workers, 0% reads:
53.47 M/s
Kcas_data Dllist:
time per message/one domain:
1680.10 ns
messages over time/one domain:
0.60 M/s
time per message/1 nb adder, 1 nb taker:
1922.11 ns
messages over time/1 nb adder, 1 nb taker:
1.04 M/s
time per message/1 nb adder, 2 nb takers:
2979.68 ns
messages over time/1 nb adder, 2 nb takers:
1.01 M/s
time per message/2 nb adders, 1 nb taker:
3520.61 ns
messages over time/2 nb adders, 1 nb taker:
0.85 M/s
time per message/2 nb adders, 2 nb takers:
3667.10 ns
messages over time/2 nb adders, 2 nb takers:
1.09 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
198.13 ns
operations over time/1 worker, 90% reads:
5.05 M/s
time per operation/2 workers, 90% reads:
204.18 ns
operations over time/2 workers, 90% reads:
9.80 M/s
time per operation/4 workers, 90% reads:
163.92 ns
operations over time/4 workers, 90% reads:
24.40 M/s
time per operation/1 worker, 50% reads:
320.49 ns
operations over time/1 worker, 50% reads:
3.12 M/s
time per operation/2 workers, 50% reads:
343.96 ns
operations over time/2 workers, 50% reads:
5.81 M/s
time per operation/4 workers, 50% reads:
347.64 ns
operations over time/4 workers, 50% reads:
11.51 M/s
time per operation/1 worker, 10% reads:
357.86 ns
operations over time/1 worker, 10% reads:
2.79 M/s
time per operation/2 workers, 10% reads:
548.45 ns
operations over time/2 workers, 10% reads:
3.65 M/s
time per operation/4 workers, 10% reads:
622.27 ns
operations over time/4 workers, 10% reads:
6.43 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
927.05 ns
messages over time/1 nb adder, 1 nb taker:
2.16 M/s
time per message/1 nb adder, 1 taker:
1570.21 ns
messages over time/1 nb adder, 1 taker:
1.27 M/s
time per message/1 nb adder, 2 nb takers:
1121.82 ns
messages over time/1 nb adder, 2 nb takers:
2.68 M/s
time per message/1 nb adder, 2 takers:
1928.28 ns
messages over time/1 nb adder, 2 takers:
1.56 M/s
time per message/1 adder, 1 nb taker:
2597.68 ns
messages over time/1 adder, 1 nb taker:
0.77 M/s
time per message/1 adder, 1 taker:
4694.71 ns
messages over time/1 adder, 1 taker:
0.43 M/s
time per message/1 adder, 2 nb takers:
3511.82 ns
messages over time/1 adder, 2 nb takers:
0.85 M/s
time per message/1 adder, 2 takers:
4880.21 ns
messages over time/1 adder, 2 takers:
0.61 M/s
time per message/2 nb adders, 1 nb taker:
1073.67 ns
messages over time/2 nb adders, 1 nb taker:
2.79 M/s
time per message/2 nb adders, 1 taker:
1710.58 ns
messages over time/2 nb adders, 1 taker:
1.75 M/s
time per message/2 nb adders, 2 nb takers:
1292.15 ns
messages over time/2 nb adders, 2 nb takers:
3.10 M/s
time per message/2 nb adders, 2 takers:
2209.77 ns
messages over time/2 nb adders, 2 takers:
1.81 M/s
time per message/2 adders, 1 nb taker:
3045.37 ns
messages over time/2 adders, 1 nb taker:
0.99 M/s
time per message/2 adders, 1 taker:
5445.90 ns
messages over time/2 adders, 1 taker:
0.55 M/s
time per message/2 adders, 2 nb takers:
2510.61 ns
messages over time/2 adders, 2 nb takers:
1.60 M/s
time per message/2 adders, 2 takers:
3851.87 ns
messages over time/2 adders, 2 takers:
1.04 M/s
Kcas_data Queue:
time per message/one domain:
178.61 ns
messages over time/one domain:
5.60 M/s
time per message/1 nb adder, 1 nb taker:
369.66 ns
messages over time/1 nb adder, 1 nb taker:
5.41 M/s
time per message/1 nb adder, 1 taker:
386.69 ns
messages over time/1 nb adder, 1 taker:
5.17 M/s
time per message/1 nb adder, 2 nb takers:
739.05 ns
messages over time/1 nb adder, 2 nb takers:
4.06 M/s
time per message/1 nb adder, 2 takers:
690.45 ns
messages over time/1 nb adder, 2 takers:
4.34 M/s
time per message/2 nb adders, 1 nb taker:
494.48 ns
messages over time/2 nb adders, 1 nb taker:
6.07 M/s
time per message/2 nb adders, 1 taker:
533.74 ns
messages over time/2 nb adders, 1 taker:
5.62 M/s
time per message/2 nb adders, 2 nb takers:
835.21 ns
messages over time/2 nb adders, 2 nb takers:
4.79 M/s
time per message/2 nb adders, 2 takers:
761.67 ns
messages over time/2 nb adders, 2 takers:
5.25 M/s
Kcas_data Stack:
time per message/one domain:
130.62 ns
messages over time/one domain:
7.66 M/s
time per message/1 nb adder, 1 nb taker:
349.50 ns
messages over time/1 nb adder, 1 nb taker:
5.72 M/s
time per message/1 nb adder, 1 taker:
350.67 ns
messages over time/1 nb adder, 1 taker:
5.70 M/s
time per message/1 nb adder, 2 nb takers:
697.56 ns
messages over time/1 nb adder, 2 nb takers:
4.30 M/s
time per message/1 nb adder, 2 takers:
619.30 ns
messages over time/1 nb adder, 2 takers:
4.84 M/s
time per message/2 nb adders, 1 nb taker:
584.25 ns
messages over time/2 nb adders, 1 nb taker:
5.13 M/s
time per message/2 nb adders, 1 taker:
528.72 ns
messages over time/2 nb adders, 1 taker:
5.67 M/s
time per message/2 nb adders, 2 nb takers:
814.05 ns
messages over time/2 nb adders, 2 nb takers:
4.91 M/s
time per message/2 nb adders, 2 takers:
775.59 ns
messages over time/2 nb adders, 2 takers:
5.16 M/s
Kcas_data Two_stack_queue:
time per message/one domain:
130.70 ns
messages over time/one domain:
7.65 M/s
time per message/1 nb adder, 1 nb taker:
196.46 ns
messages over time/1 nb adder, 1 nb taker:
10.18 M/s
time per message/1 nb adder, 2 nb takers:
421.13 ns
messages over time/1 nb adder, 2 nb takers:
7.12 M/s
time per message/2 nb adders, 1 nb taker:
306.46 ns
messages over time/2 nb adders, 1 nb taker:
9.79 M/s
time per message/2 nb adders, 2 nb takers:
635.74 ns
messages over time/2 nb adders, 2 nb takers:
6.29 M/s
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 241417582
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.2s Accumulator sequential
[✓] 1000 0 0 1000 / 1000 30.5s Accumulator parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 339880885
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.2s Stack sequential
[✓] 1000 0 0 1000 / 1000 31.9s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 184532326
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.2s Queue sequential
[✓] 1000 0 0 1000 / 1000 32.5s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./two_stack_queue_test_stm.exe)
random seed: 99929186
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.2s Two_stack_queue sequential
[✓] 1000 0 0 1000 / 1000 35.2s Two_stack_queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 224930965
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.4s Hashtbl sequential
[✓] 1000 0 0 1000 / 1000 35.0s Hashtbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 422371751
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.4s Dllist sequential
[ ] 695 0
[✓] 1000 0 0 1000 / 1000 36.1s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 398389725
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.7s Hashtbl_with_order sequential
[✓] 1000 0 0 1000 / 1000 43.8s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
2024-09-16 10:37.18 ---> saved as "1b5dab9229b475aa0504d98bfb5defd117a46247e6f2b8c623f6c1475f95c5b7"
Job succeeded
2024-09-16 10:37.24: Job succeeded