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) (linux-x86_64:opensuse-15.6-5.2_opam-2.2)
Base: ocaml/opam:opensuse-15.6-ocaml-5.2@sha256:ff6c4ff5513a2668f21b766300abf5f695ef35ece5b32e1143390092f4e710cd
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 ocaml/opam:opensuse-15.6-ocaml-5.2@sha256:ff6c4ff5513a2668f21b766300abf5f695ef35ece5b32e1143390092f4e710cd
# opensuse-15.6-5.2_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /usr/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-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.6 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 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-ocaml/opam:opensuse-15.6-ocaml-5.2@sha256:ff6c4ff5513a2668f21b766300abf5f695ef35ece5b32e1143390092f4e710cd-opensuse-15.6-5.2_opam-2.2-4b9874b6a099c4d64a031e5a6fecbf9d"
2024-10-11 07:57.42: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.2@sha256:ff6c4ff5513a2668f21b766300abf5f695ef35ece5b32e1143390092f4e710cd)
(comment opensuse-15.6-5.2_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/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-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.6 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 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:03.41: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at a06fc09 WIP
(from ocaml/opam:opensuse-15.6-ocaml-5.2@sha256:ff6c4ff5513a2668f21b766300abf5f695ef35ece5b32e1143390092f4e710cd)
2024-10-11 08:03.42 ---> using "404fc7f066cab602f287007b98b40f931fe2c05bbe94ae0aff68f5e35d95af3f" from cache
/: (comment opensuse-15.6-5.2_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-10-11 08:03.42 ---> using "e816e6eedba640595c423296368ed987491f1a64283f60b782405f80b51288c3" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-11 08:03.42 ---> using "50ffb15b960170d1696d8cc7e828c4836a811f9b22bb42371a9f00030392a756" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-10-11 08:03.42 ---> using "0d2b0c48dd4ea4642a5ce67d09d1e8e51c43c84d350774c07e8af035de91653c" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-11 08:03.42 ---> using "ad4e84638830c8db7c5d5bd9d20a079eaf8d84f924f0836f7937e048d6bfa566" 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
75006f8c5e..1a07d7f3b0 master -> origin/master
82ebbd52a0 Merge pull request #26721 from polytypic/release-multicore-bench-0.1.6
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
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-11 08:03.42 ---> using "8eeae1f31f6d8fb8d1c8f636fce4b3092a0d9e56a8c43d2a91e72dae1f8274f4" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-10-11 08:03.42 ---> saved as "1ad0e483a22a6af6dd2b73f33f7192e7ea5d88253d6294484030ba0315292233"
/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 08:04.14 ---> saved as "b425086873b5ccdf9bc3a48ed3c38380fd07a996d768706206f81dabf2d5cbfa"
/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-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.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 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"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [.....
- ......done]
- Building repository 'Update repository of openSUSE Backports' cache [....done]
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [.....
- ..........
- ..........
- .........
- ....done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Repository 'Main Update Repository' is up to date.
- Retrieving repository 'Update Repository (Non-Oss)' metadata [..
- ......done]
- Building repository 'Update Repository (Non-Oss)' cache [....done]
- All repositories have been refreshed.
<><> 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-11 08:04.56 ---> saved as "c4a88baa8817bdb75c99f144212159531bda2d4ccb8f5a2642d9b592ce0b7520"
/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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 33 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install backoff 0.1.1
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cppo 1.7.0
- install csexp 1.5.2
- install domain-local-await 1.0.1
- install domain-local-timeout 1.0.1
- install domain_shims 0.1.0
- install dune 3.16.0
- install fmt 0.9.0
- install logs 0.7.0
- install mdx 2.4.1
- install mtime 2.1.0
- install multicore-bench 0.1.6
- install multicore-magic 2.3.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.9
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install psq 0.2.1
- install qcheck-core 0.22
- install qcheck-multicoretests-util 0.4
- install qcheck-stm 0.4
- install re 1.12.0
- install result 1.5
- install seq base
- install stdlib-shims 0.3.0
- install thread-table 1.0.0
- install topkg 1.0.7
- install uutf 1.0.3
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved domain-local-timeout.1.0.1 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved multicore-bench.0.1.6 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.9 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved psq.0.2.1 (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-table.1.0.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved dune.3.16.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed domain_shims.0.1.0
-> installed backoff.0.1.1
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed ocaml-version.3.6.9
-> installed result.1.5
-> installed psq.0.2.1
-> installed camlp-streams.5.0.1
-> installed thread-table.1.0.0
-> installed multicore-magic.2.3.0
-> installed domain-local-timeout.1.0.1
-> installed domain-local-await.1.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.7.0
-> installed re.1.12.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.4
-> installed qcheck-stm.0.4
-> installed alcotest.1.8.0
-> installed multicore-bench.0.1.6
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-11 08:05.54 ---> saved as "a349827f6a32e8a92a0e1a7fbfeceef11ffc52301d2771b1a9384deb91e361be"
/src: (copy (src .) (dst /src))
2024-10-11 08:05.55 ---> saved as "a31ed3ac051061a9a5cf58371f745bde0f72975a50de3c9ec4d519e607586445"
/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 `A8NJCAZE'.
[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 `WXK4I417'.
[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.067s. 2 tests 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 `L8PZA0I3'.
[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.019s. 4 tests run.
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `5OUE5Z26'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.003s. 1 test run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `YDH81IR8'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Transactions'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `QJR1WZWY'.
[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 `5GOHWNZS'.
[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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `ZYB3HRRR'.
[OK] basics 0
[OK] add 0
[OK] move 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Dllist'.
Test Successful in 0.000s. 3 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `GQICA67F'.
[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.228s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
74.81 M/s
ops over time/get:
236.25 M/s
ops over time/incr:
38.51 M/s
ops over time/push & pop:
46.54 M/s
ops over time/swap:
41.62 M/s
ops over time/xchg int:
56.93 M/s
time per op/cas int:
13.37 ns
time per op/get:
4.23 ns
time per op/incr:
25.96 ns
time per op/push & pop:
21.49 ns
time per op/swap:
24.03 ns
time per op/xchg int:
17.57 ns
Kcas Xt:
time per transaction/0 loc tx:
14.46 ns
time per transaction/1 loc tx:
51.98 ns
time per transaction/2 loc tx:
113.27 ns
time per transaction/4 loc tx:
329.38 ns
time per transaction/8 loc tx:
608.10 ns
transactions over time/0 loc tx:
69.14 M/s
transactions over time/1 loc tx:
19.24 M/s
transactions over time/2 loc tx:
8.83 M/s
transactions over time/4 loc tx:
3.04 M/s
transactions over time/8 loc tx:
1.64 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
23.00 ns
time per transaction/1 loc tx:
40.93 ns
time per transaction/2 loc tx:
57.05 ns
time per transaction/4 loc tx:
118.78 ns
time per transaction/8 loc tx:
240.11 ns
transactions over time/0 loc tx:
43.48 M/s
transactions over time/1 loc tx:
24.43 M/s
transactions over time/2 loc tx:
17.53 M/s
transactions over time/4 loc tx:
8.42 M/s
transactions over time/8 loc tx:
4.16 M/s
Kcas parallel CMP:
time per transaction/1 worker:
133.64 ns
time per transaction/2 workers:
111.08 ns
time per transaction/4 workers:
249.08 ns
transactions over time/1 worker:
7.48 M/s
transactions over time/2 workers:
18.00 M/s
transactions over time/4 workers:
16.06 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
21.88 M/s
operations over time/2 workers, 0% reads:
50.61 M/s
operations over time/4 workers, 0% reads:
36.12 M/s
time per operation/1 worker, 0% reads:
45.69 ns
time per operation/2 workers, 0% reads:
39.52 ns
time per operation/4 workers, 0% reads:
110.74 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
1.09 M/s
messages over time/1 nb adder, 2 nb takers:
1.30 M/s
messages over time/2 nb adders, 1 nb taker:
0.92 M/s
messages over time/2 nb adders, 2 nb takers:
0.76 M/s
messages over time/one domain:
1.73 M/s
time per message/1 nb adder, 1 nb taker:
1839.15 ns
time per message/1 nb adder, 2 nb takers:
2308.09 ns
time per message/2 nb adders, 1 nb taker:
3262.15 ns
time per message/2 nb adders, 2 nb takers:
5243.32 ns
time per message/one domain:
578.71 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
2.69 M/s
operations over time/1 worker, 50% reads:
4.96 M/s
operations over time/1 worker, 90% reads:
11.63 M/s
operations over time/2 workers, 10% reads:
7.42 M/s
operations over time/2 workers, 50% reads:
5.54 M/s
operations over time/2 workers, 90% reads:
10.81 M/s
operations over time/4 workers, 10% reads:
4.72 M/s
operations over time/4 workers, 50% reads:
6.96 M/s
operations over time/4 workers, 90% reads:
17.51 M/s
time per operation/1 worker, 10% reads:
372.14 ns
time per operation/1 worker, 50% reads:
201.49 ns
time per operation/1 worker, 90% reads:
85.98 ns
time per operation/2 workers, 10% reads:
269.50 ns
time per operation/2 workers, 50% reads:
360.69 ns
time per operation/2 workers, 90% reads:
185.01 ns
time per operation/4 workers, 10% reads:
848.13 ns
time per operation/4 workers, 50% reads:
575.05 ns
time per operation/4 workers, 90% reads:
228.45 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
2.38 M/s
messages over time/1 adder, 1 taker:
1.76 M/s
messages over time/1 adder, 2 nb takers:
1.23 M/s
messages over time/1 adder, 2 takers:
1.01 M/s
messages over time/1 nb adder, 1 nb taker:
4.11 M/s
messages over time/1 nb adder, 1 taker:
2.04 M/s
messages over time/1 nb adder, 2 nb takers:
5.77 M/s
messages over time/1 nb adder, 2 takers:
0.66 M/s
messages over time/2 adders, 1 nb taker:
4.04 M/s
messages over time/2 adders, 1 taker:
3.20 M/s
messages over time/2 adders, 2 nb takers:
1.23 M/s
messages over time/2 adders, 2 takers:
0.55 M/s
messages over time/2 nb adders, 1 nb taker:
1.01 M/s
messages over time/2 nb adders, 1 taker:
0.62 M/s
messages over time/2 nb adders, 2 nb takers:
1.22 M/s
messages over time/2 nb adders, 2 takers:
0.44 M/s
time per message/1 adder, 1 nb taker:
842.21 ns
time per message/1 adder, 1 taker:
1134.62 ns
time per message/1 adder, 2 nb takers:
2433.03 ns
time per message/1 adder, 2 takers:
2961.93 ns
time per message/1 nb adder, 1 nb taker:
486.52 ns
time per message/1 nb adder, 1 taker:
978.19 ns
time per message/1 nb adder, 2 nb takers:
519.89 ns
time per message/1 nb adder, 2 takers:
4544.07 ns
time per message/2 adders, 1 nb taker:
742.60 ns
time per message/2 adders, 1 taker:
938.95 ns
time per message/2 adders, 2 nb takers:
3256.80 ns
time per message/2 adders, 2 takers:
7317.14 ns
time per message/2 nb adders, 1 nb taker:
2975.42 ns
time per message/2 nb adders, 1 taker:
4805.02 ns
time per message/2 nb adders, 2 nb takers:
3279.91 ns
time per message/2 nb adders, 2 takers:
9012.06 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
3.99 M/s
messages over time/1 nb adder, 1 taker:
7.93 M/s
messages over time/1 nb adder, 2 nb takers:
2.96 M/s
messages over time/1 nb adder, 2 takers:
3.43 M/s
messages over time/2 nb adders, 1 nb taker:
2.80 M/s
messages over time/2 nb adders, 1 taker:
1.90 M/s
messages over time/2 nb adders, 2 nb takers:
1.85 M/s
messages over time/2 nb adders, 2 takers:
2.34 M/s
messages over time/one domain:
12.61 M/s
time per message/1 nb adder, 1 nb taker:
501.06 ns
time per message/1 nb adder, 1 taker:
252.06 ns
time per message/1 nb adder, 2 nb takers:
1014.25 ns
time per message/1 nb adder, 2 takers:
874.71 ns
time per message/2 nb adders, 1 nb taker:
1073.14 ns
time per message/2 nb adders, 1 taker:
1576.04 ns
time per message/2 nb adders, 2 nb takers:
2161.43 ns
time per message/2 nb adders, 2 takers:
1710.66 ns
time per message/one domain:
79.33 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
5.92 M/s
messages over time/1 nb adder, 1 taker:
7.68 M/s
messages over time/1 nb adder, 2 nb takers:
5.70 M/s
messages over time/1 nb adder, 2 takers:
5.98 M/s
messages over time/2 nb adders, 1 nb taker:
6.76 M/s
messages over time/2 nb adders, 1 taker:
8.96 M/s
messages over time/2 nb adders, 2 nb takers:
4.53 M/s
messages over time/2 nb adders, 2 takers:
6.80 M/s
messages over time/one domain:
17.49 M/s
time per message/1 nb adder, 1 nb taker:
337.63 ns
time per message/1 nb adder, 1 taker:
260.43 ns
time per message/1 nb adder, 2 nb takers:
525.95 ns
time per message/1 nb adder, 2 takers:
502.01 ns
time per message/2 nb adders, 1 nb taker:
444.00 ns
time per message/2 nb adders, 1 taker:
334.97 ns
time per message/2 nb adders, 2 nb takers:
882.43 ns
time per message/2 nb adders, 2 takers:
587.99 ns
time per message/one domain:
57.17 ns
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 20798858
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Stack sequential
[✓] 1000 0 0 1000 / 1000 144.7s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 383642291
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Queue sequential
[
[✓] 1000 0 0 1000 / 1000 146.3s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 295073200
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Accumulator sequential
[✓] 1000 0 0 1000 / 1000 148.0s Accumulator parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 222819778
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Hashtbl sequential
[ ] 435 0 0 435
[✓] 1000 0 0 1000 / 1000 148.3s Hashtbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 287529010
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Dllist sequential
[✓] 1000 0 0 1000 / 1000 150.4s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 44697787
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Hashtbl_with_order sequential
[ ] 424 0 0 424 / 1000 85.0
[✓] 1000 0 0 1000 / 1000 158.1s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
2024-10-11 08:08.36 ---> saved as "801f3aaf448b08f52cd1a1813ae6fbf2640f9c2b88ee2a4b3d27df6bb66b167a"
Job succeeded
2024-10-11 08:08.37: Job succeeded