2024-10-11 07:57.42: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/queue-using-two-stacks (a06fc0994bad0727c536249c78948316afd7d63b) (freebsd-x86_64:freebsd-4.14_opam-2.2)
Base: freebsd-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "queue-using-two-stacks" && cd "kcas" && git reset --hard a06fc099
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-4.14
# freebsd-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.2 /usr/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 82ebbd52a07bc65404a2443fc4804bd36e534c83 || git fetch origin master) && git reset -q --hard 82ebbd52a07bc65404a2443fc4804bd36e534c83 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 kcas_data.opam kcas.opam ./
RUN opam pin add -yn kcas_data.dev './' && \
opam pin add -yn kcas.dev './'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.6 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-10-11 07:57.42: Using cache hint "ocaml-multicore/kcas-freebsd-ocaml-4.14-freebsd-4.14_opam-2.2-b79b728841e85c5b6570abe3adda8e3c"
2024-10-11 07:57.42: Using OBuilder spec:
((from freebsd-ocaml-4.14)
(comment freebsd-4.14_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.2 /usr/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 82ebbd52a07bc65404a2443fc4804bd36e534c83 || git fetch origin master) && git reset -q --hard 82ebbd52a07bc65404a2443fc4804bd36e534c83 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src kcas_data.opam kcas.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.6 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(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 /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-10-11 07:57.42: Waiting for resource in pool OCluster
2024-10-11 07:57.42: Waiting for worker…
2024-10-11 08:06.30: Got resource from pool OCluster
Building on summer
All commits already cached
HEAD is now at a06fc09 WIP
(from freebsd-ocaml-4.14)
2024-10-11 07:56.41 ---> using "57eeeabfec88366322a66f228a693df277d348dc99f1cc2a63749102c5e1e405" from cache
/: (comment freebsd-4.14_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.2 /usr/local/bin/opam"))
2024-10-11 07:56.41 ---> using "331cb54c56ba47239b6522558e6295f68ba679de6d38a5ddae6e1282bd4c3227" from cache
/src: (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 /home/opam/.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:///home/opam/opam-repository
2024-10-11 07:56.42 ---> using "0ea397e38f2ed580c996b50aedfdb35f589fe8d5328e4d5701e3485ad0ee7d31" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p11
The OCaml toplevel, version 4.14.2
2.2.1
2024-10-11 07:56.43 ---> using "e6ed3443f91a45dc3e2b2fd8eca0fa438601ccaf0a656f5e040e0ef7ec1bf353" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-11 07:56.43 ---> using "a8768039a9919ab7082a771b4ea48607524661cf72600917c57416f2763555c6" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 82ebbd52a07bc65404a2443fc4804bd36e534c83 || git fetch origin master) && git reset -q --hard 82ebbd52a07bc65404a2443fc4804bd36e534c83 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
5e7a27da27..1a07d7f3b0 master -> origin/master
82ebbd52a0 Merge pull request #26721 from polytypic/release-multicore-bench-0.1.6
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.4.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-10-11 07:56.43 ---> using "dd8ecac73d68ca261cd9aedbbc2176a6ff30695ae55f3a4a18a0dee4f1e386f3" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-10-11 07:56.45 ---> saved as "1eb9cd7b8b1a7547af5203c5a9ec5df5ed121f9bd62acaa044694bc1abf15630"
/src: (run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
[kcas_data.dev] synchronised (file:///src)
kcas_data is now pinned to file:///src (version dev)
[kcas.dev] synchronised (file:///src)
kcas is now pinned to file:///src (version dev)
2024-10-11 07:56.54 ---> saved as "fb4b3ac934cb940dd275cde924b3381da3986619b7c60f35f484bb3fe0df18dc"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.6 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas.dev] synchronised (no changes)
[kcas_data.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-10-11 07:57.41 ---> saved as "58fa57bc32f54c5d367a6090bebb46b65c75bd8e55db0c24aa9c3bab1026ef41"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 33 packages
∗ alcotest 1.8.0
∗ astring 0.8.5
∗ backoff 0.1.1
∗ 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
∗ logs 0.7.0
∗ mdx 2.4.1
∗ mtime 2.1.0
∗ multicore-bench 0.1.6
∗ multicore-magic 2.3.0
∗ ocaml-syntax-shims 1.0.0
∗ ocaml-version 3.6.9
∗ ocamlbuild 0.15.0
∗ ocamlfind 1.9.6
∗ psq 0.2.1
∗ qcheck-core 0.22
∗ qcheck-multicoretests-util 0.4
∗ qcheck-stm 0.4
∗ re 1.12.0
∗ result 1.5
∗ seq base
∗ stdlib-shims 0.3.0
∗ thread-table 1.0.0
∗ topkg 1.0.7
∗ uutf 1.0.3
∗ yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved astring.0.8.5 (cached)
⬇ retrieved camlp-streams.5.0.1 (cached)
⬇ retrieved backoff.0.1.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-local-timeout.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 mdx.2.4.1 (cached)
⬇ retrieved multicore-bench.0.1.6 (cached)
⬇ retrieved multicore-magic.2.3.0 (cached)
⬇ retrieved ocaml-syntax-shims.1.0.0 (cached)
⬇ retrieved ocaml-version.3.6.9 (cached)
⬇ retrieved ocamlbuild.0.15.0 (cached)
⬇ retrieved psq.0.2.1 (cached)
⬇ retrieved ocamlfind.1.9.6 (cached)
⬇ retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
⬇ retrieved qcheck-core.0.22 (cached)
⬇ retrieved result.1.5 (cached)
⬇ retrieved seq.base (cached)
∗ installed seq.base
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved re.1.12.0 (cached)
⬇ retrieved thread-table.1.0.0 (cached)
⬇ retrieved dune.3.16.0 (cached)
⬇ retrieved yojson.2.2.2 (cached)
⬇ retrieved uutf.1.0.3 (cached)
⬇ retrieved topkg.1.0.7 (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 camlp-streams.5.0.1
∗ installed backoff.0.1.1
∗ installed ocaml-version.3.6.9
∗ installed multicore-magic.2.3.0
∗ installed psq.0.2.1
∗ installed stdlib-shims.0.3.0
∗ installed ocaml-syntax-shims.1.0.0
∗ installed result.1.5
∗ installed thread-table.1.0.0
∗ installed domain-local-await.1.0.1
∗ installed domain-local-timeout.1.0.1
∗ installed cppo.1.7.0
∗ installed qcheck-core.0.22
∗ installed re.1.12.0
∗ installed qcheck-multicoretests-util.0.4
∗ installed yojson.2.2.2
∗ installed qcheck-stm.0.4
∗ installed multicore-bench.0.1.6
∗ installed alcotest.1.8.0
∗ installed mdx.2.4.1
Done.
2024-10-11 08:00.31 ---> saved as "5fc13ac5e1fb0aab17f5e6dcbe7709025d097c395bdd0c398424fb3a1cbefa51"
/src: (copy (src .) (dst /src))
2024-10-11 08:00.32 ---> saved as "16790748e5eff015f6c7c981c7bba47c0e1cad70846f9dd7a97d222df7da8c5f"
/src: (run (shell "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 `XYBAJWXR'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.010s. 1 test run.
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `8MDSKUZW'.
[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 `MS5CCUBS'.
[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 && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `QXKE9HVY'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.138s. 1 test run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `3EQ7GEMY'.
[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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `O3PYKTRL'.
[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 && ./xt_test.exe)
Testing `Transactions'.
This run has ID `605H2WHD'.
[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 && ./test.exe)
Testing `Kcas'.
This run has ID `MN2QPKNX'.
[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 3.796s. 17 tests run.
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `N3G7E15N'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 11.039s. 2 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
31.46 M/s
ops over time/get:
155.81 M/s
ops over time/incr:
33.56 M/s
ops over time/push & pop:
28.03 M/s
ops over time/swap:
27.57 M/s
ops over time/xchg int:
33.00 M/s
time per op/cas int:
31.79 ns
time per op/get:
6.42 ns
time per op/incr:
29.80 ns
time per op/push & pop:
35.67 ns
time per op/swap:
36.29 ns
time per op/xchg int:
30.34 ns
Kcas Xt:
time per transaction/0 loc tx:
31.55 ns
time per transaction/1 loc tx:
99.73 ns
time per transaction/2 loc tx:
233.07 ns
time per transaction/4 loc tx:
399.99 ns
time per transaction/8 loc tx:
773.34 ns
transactions over time/0 loc tx:
31.69 M/s
transactions over time/1 loc tx:
10.03 M/s
transactions over time/2 loc tx:
4.29 M/s
transactions over time/4 loc tx:
2.50 M/s
transactions over time/8 loc tx:
1.29 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
32.52 ns
time per transaction/1 loc tx:
70.73 ns
time per transaction/2 loc tx:
132.26 ns
time per transaction/4 loc tx:
170.97 ns
time per transaction/8 loc tx:
350.90 ns
transactions over time/0 loc tx:
30.75 M/s
transactions over time/1 loc tx:
14.14 M/s
transactions over time/2 loc tx:
7.56 M/s
transactions over time/4 loc tx:
5.85 M/s
transactions over time/8 loc tx:
2.87 M/s
Kcas parallel CMP:
time per transaction/1 worker:
259.02 ns
time per transaction/2 workers:
442.34 ns
time per transaction/4 workers:
1335.51 ns
transactions over time/1 worker:
3.87 M/s
transactions over time/2 workers:
4.52 M/s
transactions over time/4 workers:
3.00 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
24.24 M/s
operations over time/2 workers, 0% reads:
19.02 M/s
operations over time/4 workers, 0% reads:
20.61 M/s
time per operation/1 worker, 0% reads:
41.47 ns
time per operation/2 workers, 0% reads:
105.17 ns
time per operation/4 workers, 0% reads:
194.08 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
1.58 M/s
messages over time/1 nb adder, 2 nb takers:
0.85 M/s
messages over time/2 nb adders, 1 nb taker:
1.13 M/s
messages over time/2 nb adders, 2 nb takers:
0.46 M/s
messages over time/one domain:
1.02 M/s
time per message/1 nb adder, 1 nb taker:
1267.75 ns
time per message/1 nb adder, 2 nb takers:
3541.29 ns
time per message/2 nb adders, 1 nb taker:
2663.82 ns
time per message/2 nb adders, 2 nb takers:
8747.67 ns
time per message/one domain:
980.84 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
2.47 M/s
operations over time/1 worker, 50% reads:
3.82 M/s
operations over time/1 worker, 90% reads:
5.99 M/s
operations over time/2 workers, 10% reads:
2.05 M/s
operations over time/2 workers, 50% reads:
2.47 M/s
operations over time/2 workers, 90% reads:
3.98 M/s
operations over time/4 workers, 10% reads:
0.68 M/s
operations over time/4 workers, 50% reads:
1.79 M/s
operations over time/4 workers, 90% reads:
2.23 M/s
time per operation/1 worker, 10% reads:
405.61 ns
time per operation/1 worker, 50% reads:
262.10 ns
time per operation/1 worker, 90% reads:
166.91 ns
time per operation/2 workers, 10% reads:
973.45 ns
time per operation/2 workers, 50% reads:
808.48 ns
time per operation/2 workers, 90% reads:
502.01 ns
time per operation/4 workers, 10% reads:
5915.99 ns
time per operation/4 workers, 50% reads:
2237.77 ns
time per operation/4 workers, 90% reads:
1790.12 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.00 M/s
messages over time/1 adder, 1 taker:
0.00 M/s
messages over time/1 adder, 2 nb takers:
0.00 M/s
messages over time/1 adder, 2 takers:
0.00 M/s
messages over time/1 nb adder, 1 nb taker:
0.00 M/s
messages over time/1 nb adder, 1 taker:
0.00 M/s
messages over time/1 nb adder, 2 nb takers:
0.00 M/s
messages over time/1 nb adder, 2 takers:
0.00 M/s
messages over time/2 adders, 1 nb taker:
0.01 M/s
messages over time/2 adders, 1 taker:
0.00 M/s
messages over time/2 adders, 2 nb takers:
0.00 M/s
messages over time/2 adders, 2 takers:
0.00 M/s
messages over time/2 nb adders, 1 nb taker:
0.00 M/s
messages over time/2 nb adders, 1 taker:
0.00 M/s
messages over time/2 nb adders, 2 nb takers:
0.00 M/s
messages over time/2 nb adders, 2 takers:
0.00 M/s
time per message/1 adder, 1 nb taker:
410539.47 ns
time per message/1 adder, 1 taker:
798063.71 ns
time per message/1 adder, 2 nb takers:
1244293.55 ns
time per message/1 adder, 2 takers:
1463365.73 ns
time per message/1 nb adder, 1 nb taker:
550666.33 ns
time per message/1 nb adder, 1 taker:
617510.12 ns
time per message/1 nb adder, 2 nb takers:
1058063.61 ns
time per message/1 nb adder, 2 takers:
2999324.95 ns
time per message/2 adders, 1 nb taker:
254745.78 ns
time per message/2 adders, 1 taker:
3544894.78 ns
time per message/2 adders, 2 nb takers:
814682.90 ns
time per message/2 adders, 2 takers:
939419.75 ns
time per message/2 nb adders, 1 nb taker:
2867341.19 ns
time per message/2 nb adders, 1 taker:
1982411.93 ns
time per message/2 nb adders, 2 nb takers:
4882296.97 ns
time per message/2 nb adders, 2 takers:
4523449.85 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
13.10 M/s
messages over time/1 nb adder, 1 taker:
9.44 M/s
messages over time/1 nb adder, 2 nb takers:
5.70 M/s
messages over time/1 nb adder, 2 takers:
10.25 M/s
messages over time/2 nb adders, 1 nb taker:
7.76 M/s
messages over time/2 nb adders, 1 taker:
7.30 M/s
messages over time/2 nb adders, 2 nb takers:
4.43 M/s
messages over time/2 nb adders, 2 takers:
7.57 M/s
messages over time/one domain:
6.24 M/s
time per message/1 nb adder, 1 nb taker:
152.67 ns
time per message/1 nb adder, 1 taker:
211.88 ns
time per message/1 nb adder, 2 nb takers:
526.58 ns
time per message/1 nb adder, 2 takers:
292.76 ns
time per message/2 nb adders, 1 nb taker:
386.78 ns
time per message/2 nb adders, 1 taker:
411.20 ns
time per message/2 nb adders, 2 nb takers:
902.47 ns
time per message/2 nb adders, 2 takers:
528.44 ns
time per message/one domain:
160.17 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
8.56 M/s
messages over time/1 nb adder, 1 taker:
5.63 M/s
messages over time/1 nb adder, 2 nb takers:
4.80 M/s
messages over time/1 nb adder, 2 takers:
4.11 M/s
messages over time/2 nb adders, 1 nb taker:
9.77 M/s
messages over time/2 nb adders, 1 taker:
12.17 M/s
messages over time/2 nb adders, 2 nb takers:
8.63 M/s
messages over time/2 nb adders, 2 takers:
7.55 M/s
messages over time/one domain:
7.70 M/s
time per message/1 nb adder, 1 nb taker:
233.55 ns
time per message/1 nb adder, 1 taker:
355.21 ns
time per message/1 nb adder, 2 nb takers:
624.72 ns
time per message/1 nb adder, 2 takers:
730.18 ns
time per message/2 nb adders, 1 nb taker:
306.91 ns
time per message/2 nb adders, 1 taker:
246.60 ns
time per message/2 nb adders, 2 nb takers:
463.24 ns
time per message/2 nb adders, 2 takers:
530.10 ns
time per message/one domain:
129.83 ns
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 226483901
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Stack sequential
[✓] 1000 0 0 1000 / 1000 749.0s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 180732647
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Accumulator sequential
[ ] 229 0 0 229 /
[✓] 1000 0 0 1000 / 1000 751.9s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 362876155
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Queue sequential
[ ] 9
[✓] 1000 0 0 1000 / 1000 759.8s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 433529072
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Hashtbl sequential
[✓] 1000 0 0 1000 / 1000 761.4s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 105542992
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Dllist sequential
[ ]
[✓] 1000 0 0 1000 / 1000 764.0s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 430657334
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Hashtbl_with_order sequential
[✓] 1000 0 0 1000 / 1000 771.0s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-10-11 08:13.30 ---> saved as "824721df0ac8b76673b9bfcadd1e15ce9258c8c7fcac48cab037090d3330db45"
Job succeeded
2024-10-11 08:23.22: Job succeeded