2024-09-20 08:01.55: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/port-to-picos (bb52f6d7d731c6046e05fc4f3699c822ff633a7d) (macos-x86_64:macos-homebrew-4.14_opam-2.2)
Base: macos-homebrew-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "port-to-picos" && cd "kcas" && git reset --hard bb52f6d7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.2 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 kcas_data.opam kcas.opam ./src/./
RUN opam pin add -yn kcas_data.dev './src/./' && \
opam pin add -yn kcas.dev './src/./'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.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.5 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 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-09-20 08:01.55: Using cache hint "ocaml-multicore/kcas-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.2-a2299a8fd566e8347fd869cda5285cd0"
2024-09-20 08:01.55: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src kcas_data.opam kcas.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn kcas_data.dev './src/./' && \
\nopam pin add -yn kcas.dev './src/./'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.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.5 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 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-09-20 08:01.55: Waiting for resource in pool OCluster
2024-09-20 08:01.55: Waiting for worker…
2024-09-20 08:01.55: Got resource from pool OCluster
Building on i7-worker-04
HEAD is now at b277a56 Beyond mystery
HEAD is now at bb52f6d Change to use Picos instead of DLA and DLT
(from macos-homebrew-ocaml-4.14)
2024-09-20 08:01.58 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam"))
2024-09-20 08:01.59 ---> 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-09-20 08:01.59 ---> using "73ba886e49c62b39892c1961565fafbc649da382428721fca289ffcf0b892673" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.2.0
2024-09-20 08:02.00 ---> 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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
fe8dffac61..45f961713f master -> origin/master
45f961713f Merge pull request #26585 from dra27/trunk-tweaks
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository
default (at git+file:///Users/mac1000/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.4.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-09-20 08:02.01 ---> using "2e7f6bbba51f5cb24d669e6d7afadd3e0710793775f8c0fa0f6e4281120837b9" from cache
/: (copy (src kcas_data.opam kcas.opam) (dst ./src/./))
2024-09-20 08:02.01 ---> using "caa0008f5f0bf904fb78403d224b44890d198a2cd4053b5cf9696a43911be4a0" 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-09-20 08:02.02 ---> using "7ab05858544a711b7ed2bcd0fd7884f8983673b5c23c215f117cfbfe61022fff" from cache
/: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.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.5 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-09-20 08:02.03 ---> using "2b3f421fa2524f2f8ab5b97632a93ca32de8765cf565f78c3dfbc599c19480e5" 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-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 38 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_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 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.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 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.5 (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.8 (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 csexp.1.5.2
-> installed ocaml-version.3.6.8
-> installed psq.0.2.1
-> installed camlp-streams.5.0.1
-> installed backoff.0.1.0
-> installed multicore-magic.2.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed qcheck-core.0.22
-> installed thread-local-storage.0.2
-> installed cppo.1.7.0
-> installed picos_aux.0.5.0
-> installed re.1.12.0
-> installed qcheck-multicoretests-util.0.4
-> installed domain-local-await.1.0.1
-> installed picos.0.5.0
-> installed yojson.2.2.2
-> installed qcheck-stm.0.4
-> installed picos_std.0.5.0
-> installed multicore-bench.0.1.5
-> 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-09-20 08:02.03 ---> using "f9c34383add6b334aeec16ceeb5ff547e1d33567c93a024e3a5e2c42182ce369" from cache
/: (copy (src .) (dst ./src))
2024-09-20 08:02.04 ---> using "58ddbee1d82c1284541769535351a388839321d5c77a4fecd5e0a26db2920b5a" from cache
/: (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 `IAAZU41I'.
[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_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `IOJHYMHT'.
[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 `K5GHI52X'.
[OK] basics 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `0LQ7EST5'.
[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 `MD5HNKDT'.
[OK] basics 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Stack'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `2MSO4DJJ'.
[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.008s. 4 tests run.
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `O8016TD4'.
[OK] basics 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Transactions'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
5.00 ns
ops over time/get:
199.92 M/s
time per op/incr:
23.18 ns
ops over time/incr:
43.14 M/s
time per op/push & pop:
24.85 ns
ops over time/push & pop:
40.24 M/s
time per op/cas int:
26.54 ns
ops over time/cas int:
37.68 M/s
time per op/xchg int:
28.69 ns
ops over time/xchg int:
34.85 M/s
time per op/swap:
33.18 ns
ops over time/swap:
30.44 M/s
Kcas Xt:
time per transaction/0 loc tx:
18.16 ns
transactions over time/0 loc tx:
55.08 M/s
time per transaction/1 loc tx:
62.60 ns
transactions over time/1 loc tx:
15.97 M/s
time per transaction/2 loc tx:
164.56 ns
transactions over time/2 loc tx:
6.08 M/s
time per transaction/4 loc tx:
297.17 ns
transactions over time/4 loc tx:
3.37 M/s
time per transaction/8 loc tx:
545.11 ns
transactions over time/8 loc tx:
1.83 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
22.19 ns
transactions over time/0 loc tx:
45.06 M/s
time per transaction/1 loc tx:
64.71 ns
transactions over time/1 loc tx:
15.45 M/s
time per transaction/2 loc tx:
110.98 ns
transactions over time/2 loc tx:
9.01 M/s
time per transaction/4 loc tx:
193.99 ns
transactions over time/4 loc tx:
5.16 M/s
time per transaction/8 loc tx:
403.36 ns
transactions over time/8 loc tx:
2.48 M/s
Kcas parallel CMP:
time per transaction/1 worker:
206.54 ns
transactions over time/1 worker:
4.84 M/s
time per transaction/2 workers:
394.08 ns
transactions over time/2 workers:
5.08 M/s
time per transaction/4 workers:
718.69 ns
transactions over time/4 workers:
5.57 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
43.87 ns
operations over time/1 worker, 0% reads:
22.80 M/s
time per operation/2 workers, 0% reads:
61.22 ns
operations over time/2 workers, 0% reads:
32.67 M/s
time per operation/4 workers, 0% reads:
122.72 ns
operations over time/4 workers, 0% reads:
32.59 M/s
Kcas_data Dllist:
time per message/one domain:
802.67 ns
messages over time/one domain:
1.25 M/s
time per message/1 nb adder, 1 nb taker:
1156.13 ns
messages over time/1 nb adder, 1 nb taker:
1.73 M/s
time per message/1 nb adder, 2 nb takers:
1827.63 ns
messages over time/1 nb adder, 2 nb takers:
1.64 M/s
time per message/2 nb adders, 1 nb taker:
2016.01 ns
messages over time/2 nb adders, 1 nb taker:
1.49 M/s
time per message/2 nb adders, 2 nb takers:
2479.18 ns
messages over time/2 nb adders, 2 nb takers:
1.61 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
195.73 ns
operations over time/1 worker, 90% reads:
5.12 M/s
time per operation/2 workers, 90% reads:
212.41 ns
operations over time/2 workers, 90% reads:
9.42 M/s
time per operation/4 workers, 90% reads:
585.87 ns
operations over time/4 workers, 90% reads:
6.83 M/s
time per operation/1 worker, 50% reads:
258.75 ns
operations over time/1 worker, 50% reads:
3.86 M/s
time per operation/2 workers, 50% reads:
551.49 ns
operations over time/2 workers, 50% reads:
3.63 M/s
time per operation/4 workers, 50% reads:
1155.84 ns
operations over time/4 workers, 50% reads:
3.46 M/s
time per operation/1 worker, 10% reads:
341.10 ns
operations over time/1 worker, 10% reads:
2.93 M/s
time per operation/2 workers, 10% reads:
770.60 ns
operations over time/2 workers, 10% reads:
2.60 M/s
time per operation/4 workers, 10% reads:
1481.96 ns
operations over time/4 workers, 10% reads:
2.70 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
67559.94 ns
messages over time/1 nb adder, 1 nb taker:
0.03 M/s
time per message/1 nb adder, 1 taker:
140577.30 ns
messages over time/1 nb adder, 1 taker:
0.01 M/s
time per message/1 nb adder, 2 nb takers:
104159.67 ns
messages over time/1 nb adder, 2 nb takers:
0.03 M/s
time per message/1 nb adder, 2 takers:
93224.09 ns
messages over time/1 nb adder, 2 takers:
0.03 M/s
time per message/1 adder, 1 nb taker:
74535.96 ns
messages over time/1 adder, 1 nb taker:
0.03 M/s
time per message/1 adder, 1 taker:
60389.49 ns
messages over time/1 adder, 1 taker:
0.03 M/s
time per message/1 adder, 2 nb takers:
131850.05 ns
messages over time/1 adder, 2 nb takers:
0.02 M/s
time per message/1 adder, 2 takers:
115421.71 ns
messages over time/1 adder, 2 takers:
0.03 M/s
time per message/2 nb adders, 1 nb taker:
91386.77 ns
messages over time/2 nb adders, 1 nb taker:
0.03 M/s
time per message/2 nb adders, 1 taker:
96234.97 ns
messages over time/2 nb adders, 1 taker:
0.03 M/s
time per message/2 nb adders, 2 nb takers:
140381.83 ns
messages over time/2 nb adders, 2 nb takers:
0.03 M/s
time per message/2 nb adders, 2 takers:
134277.22 ns
messages over time/2 nb adders, 2 takers:
0.03 M/s
time per message/2 adders, 1 nb taker:
75118.79 ns
messages over time/2 adders, 1 nb taker:
0.04 M/s
time per message/2 adders, 1 taker:
66998.37 ns
messages over time/2 adders, 1 taker:
0.04 M/s
time per message/2 adders, 2 nb takers:
153073.12 ns
messages over time/2 adders, 2 nb takers:
0.03 M/s
time per message/2 adders, 2 takers:
63780.41 ns
messages over time/2 adders, 2 takers:
0.06 M/s
Kcas_data Queue:
time per message/one domain:
163.38 ns
messages over time/one domain:
6.13 M/s
time per message/1 nb adder, 1 nb taker:
171.58 ns
messages over time/1 nb adder, 1 nb taker:
11.66 M/s
time per message/1 nb adder, 1 taker:
152.75 ns
messages over time/1 nb adder, 1 taker:
13.09 M/s
time per message/1 nb adder, 2 nb takers:
262.50 ns
messages over time/1 nb adder, 2 nb takers:
11.43 M/s
time per message/1 nb adder, 2 takers:
278.11 ns
messages over time/1 nb adder, 2 takers:
10.79 M/s
time per message/2 nb adders, 1 nb taker:
232.88 ns
messages over time/2 nb adders, 1 nb taker:
12.88 M/s
time per message/2 nb adders, 1 taker:
236.63 ns
messages over time/2 nb adders, 1 taker:
12.68 M/s
time per message/2 nb adders, 2 nb takers:
355.67 ns
messages over time/2 nb adders, 2 nb takers:
11.25 M/s
time per message/2 nb adders, 2 takers:
358.46 ns
messages over time/2 nb adders, 2 takers:
11.16 M/s
Kcas_data Stack:
time per message/one domain:
107.43 ns
messages over time/one domain:
9.31 M/s
time per message/1 nb adder, 1 nb taker:
184.27 ns
messages over time/1 nb adder, 1 nb taker:
10.85 M/s
time per message/1 nb adder, 1 taker:
171.82 ns
messages over time/1 nb adder, 1 taker:
11.64 M/s
time per message/1 nb adder, 2 nb takers:
221.87 ns
messages over time/1 nb adder, 2 nb takers:
13.52 M/s
time per message/1 nb adder, 2 takers:
200.51 ns
messages over time/1 nb adder, 2 takers:
14.96 M/s
time per message/2 nb adders, 1 nb taker:
202.30 ns
messages over time/2 nb adders, 1 nb taker:
14.83 M/s
time per message/2 nb adders, 1 taker:
187.31 ns
messages over time/2 nb adders, 1 taker:
16.02 M/s
time per message/2 nb adders, 2 nb takers:
350.39 ns
messages over time/2 nb adders, 2 nb takers:
11.42 M/s
time per message/2 nb adders, 2 takers:
324.67 ns
messages over time/2 nb adders, 2 takers:
12.32 M/s
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `F4NYHTFK'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `~/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 15.633s. 2 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `YG37IPU1'.
[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 24.758s. 17 tests run.
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 3509771349903176297
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 1.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2575169837640738314
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 2.8s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 1826961818596773698
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 6.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2965328423167010917
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Accumulator sequential
[✓] 256 0 0 256 / 256 11.3s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 1266724580383883862
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Accumulator sequential
[✓] 512 0 0 512 / 512 21.1s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 622993051186847433
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 1.3s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 4335181453409025271
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.9s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 2389097573867924807
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 3.8s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1298607658713131024
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 6.5s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 2527546012449437961
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Stack sequential
[✓] 256 0 0 256 / 256 11.3s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 4584471076195813923
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Stack sequential
[✓] 512 0 0 512 / 512 21.6s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 4502466213726841935
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.3s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 590786465230727336
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 2.1s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3402074433673989316
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 2.9s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3355646248238286384
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 6.4s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1255324154726075190
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Dllist sequential
[✓] 256 0 0 256 / 256 12.0s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 145721544111643584
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Dllist sequential
[✓] 512 0 0 512 / 512 23.0s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 164246587520584697
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 1.3s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 3180891752678694991
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 1.9s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3400990641415872061
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 4.2s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 4567513169369066758
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[ ] 3 0 0 3 / 128
[✓] 128 0 0 128 / 128 7.6s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2248837757511680021
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Queue sequential
[✓] 256 0 0 256 / 256 12.3s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 51472667777691652
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Queue sequential
[✓] 512 0 0 512 / 512 21.8s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 786647497350392028
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: 2248934240393202399
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 1.7s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3770949140832698431
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 3.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3479395103729989389
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 7.8s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 498666915067195558
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl sequential
[✓] 256 0 0 256 / 256 12.3s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4009741589533089603
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Hashtbl sequential
[✓] 512 0 0 512 / 512 22.2s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2629041542208487272
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 1.2s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 2213902622065859596
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 3.3s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 753711404831177023
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.1s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2694213058526816205
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 8.3s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3839249475437928113
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl_with_order sequential
[✓] 256 0 0 256 / 256 14.8s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 689094341817973973
generated error fail pass / total time test name
[✓] 404 0 0 404 / 404 0.0s Hashtbl_with_order sequential
[✓] 404 0 0 404 / 404 18.8s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 714803250063529454
generated error fail pass / total time test name
[✓] 116 0 0 116 / 116 0.0s Hashtbl_with_order sequential
[✓] 116 0 0 116 / 116 3.4s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-09-20 08:03.05 ---> saved as "5416bbe449a354ab4b0428cb3c25008bf64dd8f770719802949c0d9a44ccdab4"
Job succeeded
2024-09-20 08:03.11: Job succeeded