2024-08-29 11:24.14: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/main (780e50ee0925f7d0246a5fa6a60f40b8844580fd) (linux-x86_64:ubuntu-20.04-4.14_opam-2.2)
Base: ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:6e33c032e3a8555b22f08337f4da5f2210ea911c493f9cd0f6b7a6157235082d
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "main" && cd "kcas" && git reset --hard 780e50ee
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:6e33c032e3a8555b22f08337f4da5f2210ea911c493f9cd0f6b7a6157235082d
# ubuntu-20.04-4.14_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 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && 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.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.6.9 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.0.0 multicore-bench.0.1.4 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 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.11.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-08-29 11:24.14: Using cache hint "ocaml-multicore/kcas-ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:6e33c032e3a8555b22f08337f4da5f2210ea911c493f9cd0f6b7a6157235082d-ubuntu-20.04-4.14_opam-2.2-04fff35588c20f03928ff3037f43954f"
2024-08-29 11:24.14: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:6e33c032e3a8555b22f08337f4da5f2210ea911c493f9cd0f6b7a6157235082d)
(comment ubuntu-20.04-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/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 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && 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.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.6.9 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.0.0 multicore-bench.0.1.4 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 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.11.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-08-29 11:24.14: Waiting for resource in pool OCluster
2024-08-29 11:24.14: Waiting for worker…
2024-08-29 11:33.57: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
HEAD is now at 0ba3c16 Upgrade dependencies
HEAD is now at 780e50e Upgrade dependencies
(from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:6e33c032e3a8555b22f08337f4da5f2210ea911c493f9cd0f6b7a6157235082d)
2024-08-29 11:34.35 ---> saved as "6cb40657f08382fe1bb7e46c0928af11505fc3015ac9ef345c2f6fd157bf7451"
/: (comment ubuntu-20.04-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/bin/opam-2.2 /usr/bin/opam"))
2024-08-29 11:34.35 ---> saved as "9cbb7322eaeec883a1fb058d14a1852e91af067effd661be1a05c38b9a3c83a2"
/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-08-29 11:35.51 ---> saved as "4f77942c258b6f35b37078667eee94e6e63e712c5523ff6d447064f2defecfbb"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.14.2
2.2.0
2024-08-29 11:35.52 ---> saved as "d63e533cf9939f76479cab4aa8315f95705bbbdb94a70fe1db81079818ef33cf"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-08-29 11:35.52 ---> saved as "780efb09f2dce1341b0f0717ae4eaabe485beb124750628fd4a5b8ed790e2ba0"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
7c4ff52ef3..24df9da2f3 master -> origin/master
2c6ced5ce1 Merge pull request #26448 from avsm/upper-mdx
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
The following actions will be performed:
=== upgrade 1 package
- upgrade opam-depext 1.2.1-1 to 1.2.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3 (cached)
-> removed opam-depext.1.2.1-1
-> installed opam-depext.1.2.3
Done.
<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-08-29 11:37.21 ---> saved as "cb491650645d39391100fcfc06e4a30ced17b624b86894dbdc336c5cdbe66770"
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-08-29 11:37.22 ---> saved as "89149afa7f65a678ae4a4a202da6889f95a6581c76c0751db6d4f28f7ebc62a3"
/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-08-29 11:37.27 ---> saved as "e74540588655536e357b71e58d191cd85cc7a647fa498b64e2bda5917b9b0035"
/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.6.9 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.0.0 multicore-bench.0.1.4 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 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.11.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 "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease
- Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Get:5 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4077 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1545 kB]
- Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4398 kB]
- Get:8 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3926 kB]
- Get:9 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1258 kB]
- Get:10 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3933 kB]
- Fetched 19.4 MB in 2s (12.2 MB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas_data.dev] synchronised (no changes)
[kcas.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-08-29 11:37.54 ---> saved as "5c9e77c2314ccc7f4489ebc4bd3f0c36ede77a7e4af0f2c3d59d35e283ac0a53"
/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
- 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.6.9
- 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.0.0
- install multicore-bench 0.1.4
- install multicore-magic 2.3.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.8
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install psq 0.2.1
- install qcheck-core 0.22
- install qcheck-multicoretests-util 0.3
- install qcheck-stm 0.3
- install re 1.11.0
- install result 1.5
- install seq base
- install stdlib-shims 0.3.0
- install thread-table 1.0.0
- install topkg 1.0.7
- install uutf 1.0.3
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cppo.1.6.9 (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.0.0 (cached)
-> retrieved multicore-bench.0.1.4 (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 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.3, qcheck-stm.0.3 (cached)
-> retrieved re.1.11.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved dune.3.16.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed mtime.2.0.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed csexp.1.5.2
-> installed thread-table.1.0.0
-> installed camlp-streams.5.0.1
-> installed domain_shims.0.1.0
-> installed multicore-magic.2.3.0
-> installed backoff.0.1.0
-> installed psq.0.2.1
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed ocaml-version.3.6.8
-> installed domain-local-await.1.0.1
-> installed domain-local-timeout.1.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.3
-> installed alcotest.1.8.0
-> installed multicore-bench.0.1.4
-> installed qcheck-stm.0.3
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-08-29 11:38.57 ---> saved as "caf8bd406f09ee227f64e500eae0c2f757ec2354edd1ad65a77886ef8a308fea"
/src: (copy (src .) (dst /src))
2024-08-29 11:38.57 ---> saved as "9c74d1be0879275f73d1eec294005960b642da8edb300b34bd62f4670902eaf1"
/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 `O0WI7QCF'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.003s. 1 test run.
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `H289OYQX'.
[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.014s. 3 tests run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `LNFT5DFA'.
[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 && ./queue_test.exe)
Testing `Queue'.
This run has ID `F5ZC04W0'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Queue'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `6FVU1Y2D'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.005s. 1 test run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `GTC67QBT'.
[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 && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `8WQKKPXK'.
[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.017s. 4 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `3DUFIXXB'.
[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 1.153s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
6.31 ns
ops over time/get:
158.46 M/s
time per op/incr:
34.49 ns
ops over time/incr:
28.99 M/s
time per op/push & pop:
45.68 ns
ops over time/push & pop:
21.89 M/s
time per op/cas int:
25.55 ns
ops over time/cas int:
39.14 M/s
time per op/xchg int:
25.75 ns
ops over time/xchg int:
38.84 M/s
time per op/swap:
37.92 ns
ops over time/swap:
26.37 M/s
Kcas Xt:
time per transaction/0 loc tx:
25.16 ns
transactions over time/0 loc tx:
39.74 M/s
time per transaction/1 loc tx:
81.63 ns
transactions over time/1 loc tx:
12.25 M/s
time per transaction/2 loc tx:
209.31 ns
transactions over time/2 loc tx:
4.78 M/s
time per transaction/4 loc tx:
317.60 ns
transactions over time/4 loc tx:
3.15 M/s
time per transaction/8 loc tx:
566.10 ns
transactions over time/8 loc tx:
1.77 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
25.78 ns
transactions over time/0 loc tx:
38.78 M/s
time per transaction/1 loc tx:
57.91 ns
transactions over time/1 loc tx:
17.27 M/s
time per transaction/2 loc tx:
110.00 ns
transactions over time/2 loc tx:
9.09 M/s
time per transaction/4 loc tx:
186.09 ns
transactions over time/4 loc tx:
5.37 M/s
time per transaction/8 loc tx:
227.24 ns
transactions over time/8 loc tx:
4.40 M/s
Kcas parallel CMP:
time per transaction/1 worker:
168.04 ns
transactions over time/1 worker:
5.95 M/s
time per transaction/2 workers:
334.38 ns
transactions over time/2 workers:
5.98 M/s
time per transaction/4 workers:
850.53 ns
transactions over time/4 workers:
4.70 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
58.70 ns
operations over time/1 worker, 0% reads:
17.04 M/s
time per operation/2 workers, 0% reads:
120.77 ns
operations over time/2 workers, 0% reads:
16.56 M/s
time per operation/4 workers, 0% reads:
234.01 ns
operations over time/4 workers, 0% reads:
17.09 M/s
Kcas_data Dllist:
time per message/one domain:
866.92 ns
messages over time/one domain:
1.15 M/s
time per message/1 nb adder, 1 nb taker:
1249.90 ns
messages over time/1 nb adder, 1 nb taker:
1.60 M/s
time per message/1 nb adder, 2 nb takers:
1860.19 ns
messages over time/1 nb adder, 2 nb takers:
1.61 M/s
time per message/2 nb adders, 1 nb taker:
1642.35 ns
messages over time/2 nb adders, 1 nb taker:
1.83 M/s
time per message/2 nb adders, 2 nb takers:
3051.24 ns
messages over time/2 nb adders, 2 nb takers:
1.31 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
158.52 ns
operations over time/1 worker, 90% reads:
6.31 M/s
time per operation/2 workers, 90% reads:
443.34 ns
operations over time/2 workers, 90% reads:
4.51 M/s
time per operation/4 workers, 90% reads:
811.41 ns
operations over time/4 workers, 90% reads:
4.93 M/s
time per operation/1 worker, 50% reads:
528.72 ns
operations over time/1 worker, 50% reads:
1.89 M/s
time per operation/2 workers, 50% reads:
1145.32 ns
operations over time/2 workers, 50% reads:
1.75 M/s
time per operation/4 workers, 50% reads:
2197.65 ns
operations over time/4 workers, 50% reads:
1.82 M/s
time per operation/1 worker, 10% reads:
604.55 ns
operations over time/1 worker, 10% reads:
1.65 M/s
time per operation/2 workers, 10% reads:
1467.48 ns
operations over time/2 workers, 10% reads:
1.36 M/s
time per operation/4 workers, 10% reads:
2988.62 ns
operations over time/4 workers, 10% reads:
1.34 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
26692.53 ns
messages over time/1 nb adder, 1 nb taker:
0.07 M/s
time per message/1 nb adder, 1 taker:
29013.58 ns
messages over time/1 nb adder, 1 taker:
0.07 M/s
time per message/1 nb adder, 2 nb takers:
27274.58 ns
messages over time/1 nb adder, 2 nb takers:
0.11 M/s
time per message/1 nb adder, 2 takers:
39112.30 ns
messages over time/1 nb adder, 2 takers:
0.08 M/s
time per message/1 adder, 1 nb taker:
26407.78 ns
messages over time/1 adder, 1 nb taker:
0.08 M/s
time per message/1 adder, 1 taker:
26946.87 ns
messages over time/1 adder, 1 taker:
0.07 M/s
time per message/1 adder, 2 nb takers:
39199.37 ns
messages over time/1 adder, 2 nb takers:
0.08 M/s
time per message/1 adder, 2 takers:
43702.30 ns
messages over time/1 adder, 2 takers:
0.07 M/s
time per message/2 nb adders, 1 nb taker:
40170.01 ns
messages over time/2 nb adders, 1 nb taker:
0.07 M/s
time per message/2 nb adders, 1 taker:
41311.65 ns
messages over time/2 nb adders, 1 taker:
0.07 M/s
time per message/2 nb adders, 2 nb takers:
51927.93 ns
messages over time/2 nb adders, 2 nb takers:
0.08 M/s
time per message/2 nb adders, 2 takers:
51169.01 ns
messages over time/2 nb adders, 2 takers:
0.08 M/s
time per message/2 adders, 1 nb taker:
39243.10 ns
messages over time/2 adders, 1 nb taker:
0.08 M/s
time per message/2 adders, 1 taker:
39036.86 ns
messages over time/2 adders, 1 taker:
0.08 M/s
time per message/2 adders, 2 nb takers:
51073.33 ns
messages over time/2 adders, 2 nb takers:
0.08 M/s
time per message/2 adders, 2 takers:
56688.82 ns
messages over time/2 adders, 2 takers:
0.07 M/s
Kcas_data Queue:
time per message/one domain:
209.22 ns
messages over time/one domain:
4.78 M/s
time per message/1 nb adder, 1 nb taker:
136.80 ns
messages over time/1 nb adder, 1 nb taker:
14.62 M/s
time per message/1 nb adder, 1 taker:
133.99 ns
messages over time/1 nb adder, 1 taker:
14.93 M/s
time per message/1 nb adder, 2 nb takers:
243.83 ns
messages over time/1 nb adder, 2 nb takers:
12.30 M/s
time per message/1 nb adder, 2 takers:
248.80 ns
messages over time/1 nb adder, 2 takers:
12.06 M/s
time per message/2 nb adders, 1 nb taker:
189.84 ns
messages over time/2 nb adders, 1 nb taker:
15.80 M/s
time per message/2 nb adders, 1 taker:
206.38 ns
messages over time/2 nb adders, 1 taker:
14.54 M/s
time per message/2 nb adders, 2 nb takers:
338.63 ns
messages over time/2 nb adders, 2 nb takers:
11.81 M/s
time per message/2 nb adders, 2 takers:
311.70 ns
messages over time/2 nb adders, 2 takers:
12.83 M/s
Kcas_data Stack:
time per message/one domain:
132.23 ns
messages over time/one domain:
7.56 M/s
time per message/1 nb adder, 1 nb taker:
116.07 ns
messages over time/1 nb adder, 1 nb taker:
17.23 M/s
time per message/1 nb adder, 1 taker:
115.27 ns
messages over time/1 nb adder, 1 taker:
17.35 M/s
time per message/1 nb adder, 2 nb takers:
194.43 ns
messages over time/1 nb adder, 2 nb takers:
15.43 M/s
time per message/1 nb adder, 2 takers:
151.74 ns
messages over time/1 nb adder, 2 takers:
19.77 M/s
time per message/2 nb adders, 1 nb taker:
161.33 ns
messages over time/2 nb adders, 1 nb taker:
18.60 M/s
time per message/2 nb adders, 1 taker:
162.19 ns
messages over time/2 nb adders, 1 taker:
18.50 M/s
time per message/2 nb adders, 2 nb takers:
232.26 ns
messages over time/2 nb adders, 2 nb takers:
17.22 M/s
time per message/2 nb adders, 2 takers:
262.78 ns
messages over time/2 nb adders, 2 takers:
15.22 M/s
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `K6IRBMTC'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 10.273s. 2 tests run.
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 431124781
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.3s Stack sequential
[✓] 1000 0 0 1000 / 1000 99.8s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 505623254
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.2s Accumulator sequential
[✓] 1000 0 0 1000 / 1000 101.6s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 1891902
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.3s Queue sequential
[✓] 1000 0 0 1000 / 1000 105.8s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 501018916
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.5s Dllist sequential
[✓] 1000 0 0 1000 / 1000 111.7s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 157214090
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.5s Hashtbl sequential
[✓] 1000 0 0 1000 / 1000 114.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 332528974
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.9s Hashtbl_with_order sequential
[✓] 1000 0 0 1000 / 1000 122.9s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-08-29 11:41.04 ---> saved as "266c4ca5b04beb98402a3036b66da198d6992c5a1b86c11c383d0a74d8ad6045"
Job succeeded
2024-08-29 11:41.05: Job succeeded