2024-10-18 17:21.12: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/port-to-picos (c408bc8d61e57ec2d758c7a8fd7081accf7b82fd) (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 "port-to-picos" && cd "kcas" && git reset --hard c408bc8d
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 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-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_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.7 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.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 picos.0.5.0 picos_aux.0.5.0 picos_io.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 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-local-storage.0.2 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.12: Using cache hint "ocaml-multicore/kcas-macos-homebrew-ocaml-5.2-macos-homebrew-5.2_opam-2.2-2086c1161c358ba66a3a4f7dec675b25"
2024-10-18 17:21.12: 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 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-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_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.7 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.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 picos.0.5.0 picos_aux.0.5.0 picos_io.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 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-local-storage.0.2 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.12: Waiting for resource in pool OCluster
2024-10-18 17:21.12: Waiting for worker…
2024-10-18 17:38.51: Got resource from pool OCluster
Building on i7-worker-04
All commits already cached
HEAD is now at c408bc8 Change to use Picos instead of DLA and DLT
(from macos-homebrew-ocaml-5.2)
2024-10-18 17:38.52 ---> 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-10-18 17:38.52 ---> 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-10-18 17:38.52 ---> 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.1
2024-10-18 17:38.53 ---> 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 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
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:38.53 ---> using "5fd6d8b5bb20eadfc81977d5328903abdc33ded2b52f997def0006fd793566ef" from cache
/: (copy (src kcas_data.opam kcas.opam) (dst ./src/./))
2024-10-18 17:38.55 ---> saved as "c6dc421a8d45f316bf222e114f63bd3738f20623e5c051620adbd1822b7ac36b"
/: (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:39.07 ---> saved as "576a7b7c143e3030db5ec5e0cdb7990899b6a4eb68454d0ca9c168412cf3c2d4"
/: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 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_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.7 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.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 picos.0.5.0 picos_aux.0.5.0 picos_io.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 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-local-storage.0.2 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 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-10-18 17:39.39 ---> saved as "1594d6fbf6298309c089ea87a20e7121452ff1ad00f1c47e4c906a9329187cb8"
/: (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 38 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_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 picos 0.5.0
- install picos_aux 0.5.0
- install picos_io 0.5.0
- install picos_mux 0.5.0
- install picos_std 0.5.0
- 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-local-storage 0.2
- 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 domain_shims.0.1.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.7.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 ocamlfind.1.9.6 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved picos.0.5.0, picos_aux.0.5.0, picos_io.0.5.0, picos_mux.0.5.0, picos_std.0.5.0 (cached)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (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-local-storage.0.2 (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.1
-> installed psq.0.2.1
-> installed ocaml-version.3.6.9
-> installed csexp.1.5.2
-> 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 cppo.1.7.0
-> installed thread-table.1.0.0
-> installed thread-local-storage.0.2
-> installed picos_aux.0.5.0
-> installed re.1.12.0
-> installed domain-local-await.1.0.1
-> installed qcheck-core.0.22
-> installed picos.0.5.0
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.4
-> installed picos_std.0.5.0
-> installed qcheck-stm.0.4
-> installed multicore-bench.0.1.7
-> installed alcotest.1.8.0
-> installed picos_io.0.5.0
-> installed mdx.2.4.1
-> installed picos_mux.0.5.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-18 17:40.53 ---> saved as "91de595beea2df38e754d8b81b415ca18c5b9b00bda273d8c69c2c771ba2a708"
/: (copy (src .) (dst ./src))
2024-10-18 17:40.55 ---> saved as "eeb623819eec084678cbcca1b3fde0d7934a8e21a64f022fe889142e1ae8c414"
/: (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 `DRJY622O'.
[OK] await between threads 0
Full test results in `~/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `6QTTJLFY'.
[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.009s. 2 tests run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `3Z03CRQF'.
[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 `7PJQ4ZNB'.
[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 `UAUIDPHF'.
[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 `U74S8HD0'.
[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 && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `S96WEUEQ'.
[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.029s. 4 tests run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `6PIG01P1'.
[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:
22.39 M/s
ops over time/get:
194.92 M/s
ops over time/incr:
29.71 M/s
ops over time/push & pop:
16.74 M/s
ops over time/swap:
9.73 M/s
ops over time/xchg int:
31.93 M/s
time per op/cas int:
44.66 ns
time per op/get:
5.13 ns
time per op/incr:
33.66 ns
time per op/push & pop:
59.75 ns
time per op/swap:
102.74 ns
time per op/xchg int:
31.32 ns
Kcas Xt:
time per transaction/0 loc tx:
23.50 ns
time per transaction/1 loc tx:
174.08 ns
time per transaction/2 loc tx:
449.73 ns
time per transaction/4 loc tx:
695.82 ns
time per transaction/8 loc tx:
852.50 ns
transactions over time/0 loc tx:
42.56 M/s
transactions over time/1 loc tx:
5.74 M/s
transactions over time/2 loc tx:
2.22 M/s
transactions over time/4 loc tx:
1.44 M/s
transactions over time/8 loc tx:
1.17 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
16.57 ns
time per transaction/1 loc tx:
62.18 ns
time per transaction/2 loc tx:
155.50 ns
time per transaction/4 loc tx:
357.89 ns
time per transaction/8 loc tx:
548.91 ns
transactions over time/0 loc tx:
60.35 M/s
transactions over time/1 loc tx:
16.08 M/s
transactions over time/2 loc tx:
6.43 M/s
transactions over time/4 loc tx:
2.79 M/s
transactions over time/8 loc tx:
1.82 M/s
Kcas parallel CMP:
time per transaction/1 worker:
234.59 ns
time per transaction/2 workers:
236.88 ns
time per transaction/4 workers:
400.45 ns
transactions over time/1 worker:
4.26 M/s
transactions over time/2 workers:
8.44 M/s
transactions over time/4 workers:
9.99 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
10.58 M/s
operations over time/2 workers, 0% reads:
37.99 M/s
operations over time/4 workers, 0% reads:
55.83 M/s
time per operation/1 worker, 0% reads:
94.53 ns
time per operation/2 workers, 0% reads:
52.65 ns
time per operation/4 workers, 0% reads:
71.64 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
1.13 M/s
messages over time/1 nb adder, 2 nb takers:
1.09 M/s
messages over time/2 nb adders, 1 nb taker:
1.11 M/s
messages over time/2 nb adders, 2 nb takers:
1.04 M/s
messages over time/one domain:
0.51 M/s
time per message/1 nb adder, 1 nb taker:
1776.48 ns
time per message/1 nb adder, 2 nb takers:
2741.03 ns
time per message/2 nb adders, 1 nb taker:
2706.34 ns
time per message/2 nb adders, 2 nb takers:
3844.67 ns
time per message/one domain:
1955.17 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
1.40 M/s
operations over time/1 worker, 50% reads:
2.15 M/s
operations over time/1 worker, 90% reads:
6.86 M/s
operations over time/2 workers, 10% reads:
3.47 M/s
operations over time/2 workers, 50% reads:
4.89 M/s
operations over time/2 workers, 90% reads:
10.59 M/s
operations over time/4 workers, 10% reads:
6.32 M/s
operations over time/4 workers, 50% reads:
5.48 M/s
operations over time/4 workers, 90% reads:
23.91 M/s
time per operation/1 worker, 10% reads:
715.38 ns
time per operation/1 worker, 50% reads:
464.05 ns
time per operation/1 worker, 90% reads:
145.80 ns
time per operation/2 workers, 10% reads:
575.57 ns
time per operation/2 workers, 50% reads:
409.05 ns
time per operation/2 workers, 90% reads:
188.91 ns
time per operation/4 workers, 10% reads:
633.37 ns
time per operation/4 workers, 50% reads:
730.02 ns
time per operation/4 workers, 90% reads:
167.31 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.18 M/s
messages over time/1 adder, 1 taker:
0.04 M/s
messages over time/1 adder, 2 nb takers:
0.14 M/s
messages over time/1 adder, 2 takers:
0.03 M/s
messages over time/1 nb adder, 1 nb taker:
1.93 M/s
messages over time/1 nb adder, 1 taker:
0.05 M/s
messages over time/1 nb adder, 2 nb takers:
3.29 M/s
messages over time/1 nb adder, 2 takers:
0.08 M/s
messages over time/2 adders, 1 nb taker:
0.14 M/s
messages over time/2 adders, 1 taker:
0.04 M/s
messages over time/2 adders, 2 nb takers:
0.29 M/s
messages over time/2 adders, 2 takers:
0.05 M/s
messages over time/2 nb adders, 1 nb taker:
2.95 M/s
messages over time/2 nb adders, 1 taker:
0.13 M/s
messages over time/2 nb adders, 2 nb takers:
2.92 M/s
messages over time/2 nb adders, 2 takers:
0.14 M/s
time per message/1 adder, 1 nb taker:
11028.07 ns
time per message/1 adder, 1 taker:
56254.89 ns
time per message/1 adder, 2 nb takers:
21280.85 ns
time per message/1 adder, 2 takers:
116934.81 ns
time per message/1 nb adder, 1 nb taker:
1038.72 ns
time per message/1 nb adder, 1 taker:
39102.33 ns
time per message/1 nb adder, 2 nb takers:
912.53 ns
time per message/1 nb adder, 2 takers:
37422.67 ns
time per message/2 adders, 1 nb taker:
21524.68 ns
time per message/2 adders, 1 taker:
77108.14 ns
time per message/2 adders, 2 nb takers:
13739.55 ns
time per message/2 adders, 2 takers:
79164.50 ns
time per message/2 nb adders, 1 nb taker:
1017.22 ns
time per message/2 nb adders, 1 taker:
22423.14 ns
time per message/2 nb adders, 2 nb takers:
1368.37 ns
time per message/2 nb adders, 2 takers:
28561.40 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
6.67 M/s
messages over time/1 nb adder, 1 taker:
7.55 M/s
messages over time/1 nb adder, 2 nb takers:
6.10 M/s
messages over time/1 nb adder, 2 takers:
7.02 M/s
messages over time/2 nb adders, 1 nb taker:
8.43 M/s
messages over time/2 nb adders, 1 taker:
6.07 M/s
messages over time/2 nb adders, 2 nb takers:
5.68 M/s
messages over time/2 nb adders, 2 takers:
5.71 M/s
messages over time/one domain:
5.57 M/s
time per message/1 nb adder, 1 nb taker:
300.01 ns
time per message/1 nb adder, 1 taker:
264.88 ns
time per message/1 nb adder, 2 nb takers:
492.15 ns
time per message/1 nb adder, 2 takers:
427.11 ns
time per message/2 nb adders, 1 nb taker:
355.88 ns
time per message/2 nb adders, 1 taker:
494.02 ns
time per message/2 nb adders, 2 nb takers:
703.64 ns
time per message/2 nb adders, 2 takers:
700.62 ns
time per message/one domain:
179.48 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
5.66 M/s
messages over time/1 nb adder, 1 taker:
5.96 M/s
messages over time/1 nb adder, 2 nb takers:
5.16 M/s
messages over time/1 nb adder, 2 takers:
5.04 M/s
messages over time/2 nb adders, 1 nb taker:
4.95 M/s
messages over time/2 nb adders, 1 taker:
5.69 M/s
messages over time/2 nb adders, 2 nb takers:
5.66 M/s
messages over time/2 nb adders, 2 takers:
5.80 M/s
messages over time/one domain:
7.61 M/s
time per message/1 nb adder, 1 nb taker:
353.57 ns
time per message/1 nb adder, 1 taker:
335.71 ns
time per message/1 nb adder, 2 nb takers:
581.71 ns
time per message/1 nb adder, 2 takers:
595.59 ns
time per message/2 nb adders, 1 nb taker:
606.53 ns
time per message/2 nb adders, 1 taker:
527.33 ns
time per message/2 nb adders, 2 nb takers:
706.96 ns
time per message/2 nb adders, 2 takers:
689.65 ns
time per message/one domain:
131.36 ns
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 907232752668341790
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 parallel
================================================================================
success (ran 2 tests)
random seed: 3977195608757648611
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 2.7s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 678925206505046096
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 5.0s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 992135665586183241
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Accumulator sequential
[✓] 256 0 0 256 / 256 6.3s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 4482327422338360833
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Accumulator sequential
[✓] 512 0 0 512 / 512 12.9s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 2599664256488678085
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 parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 1911025721571598670
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 0.4s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 4374861643770688117
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 1.1s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 2360282696361655978
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 5.1s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 781462495846580579
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Stack sequential
[✓] 256 0 0 256 / 256 9.0s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 2402808083934481990
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Stack sequential
[✓] 512 0 0 512 / 512 11.6s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 1792169226458146712
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 0.6s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 1445190801392186739
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 0.7s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 2134811582365282828
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 parallel
================================================================================
success (ran 2 tests)
random seed: 321847496050360422
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 7.1s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 716112532489528514
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Queue sequential
[✓] 256 0 0 256 / 256 7.8s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 2440547072582040752
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Queue sequential
[✓] 512 0 0 512 / 512 13.5s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 546277852621653669
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 0.8s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 3218534108558839851
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 0.8s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 1127249710431573776
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 3.3s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 1941831517052515856
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 7.0s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 2201982818859596911
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl sequential
[✓] 256 0 0 256 / 256 10.4s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 1948142999666344644
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Hashtbl sequential
[✓] 512 0 0 512 / 512 12.4s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 3680858372236040985
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 parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 1466005394828369802
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 1.8s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 3507555794916721481
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 2.4s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 3015777943956046954
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 5.6s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 1868480220383915717
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Dllist sequential
[✓] 256 0 0 256 / 256 8.8s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 4293456045452116775
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Dllist sequential
[✓] 512 0 0 512 / 512 16.1s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 1711225810467380388
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 0.5s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 530980486161058499
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 1.7s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 2878644233065067831
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 6.0s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 1965316089855480084
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[ ] 42 0 0 42 / 128
[✓] 128 0 0 128 / 128 9.8s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 4112020498780007774
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl_with_order sequential
[✓] 256 0 0 256 / 256 12.2s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 605573034760063278
generated error fail pass / total time test name
[✓] 494 0 0 494 / 494 0.0s Hashtbl_with_order sequential
[✓] 494 0 0 494 / 494 13.0s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 3867250699222922123
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.8s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `U9D45TDD'.
[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 47.086s. 17 tests run.
2024-10-18 17:41.47 ---> saved as "047dc28e9fceb2537a1a44215702a172a074296e0a63489bf3005a9961bcdb00"
Job succeeded
2024-10-18 17:41.53: Job succeeded