2024-09-18 15:15.05: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/two-stack-queue (e4fe282660e216ba9ede91c8363b59b3c6581754) (linux-x86_64:ubuntu-20.04-5.2_opam-2.2)
Base: ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "two-stack-queue" && cd "kcas" && git reset --hard e4fe2826
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529
# ubuntu-20.04-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 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 ./
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-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.5 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.8 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-09-18 15:15.05: Using cache hint "ocaml-multicore/kcas-ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529-ubuntu-20.04-5.2_opam-2.2-3bd6c4eb3e1a1783ddf7cec1a72b3f07"
2024-09-18 15:15.05: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529)
(comment ubuntu-20.04-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 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 ./))
(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-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.5 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.8 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-09-18 15:15.05: Waiting for resource in pool OCluster
2024-09-18 16:37.48: Waiting for worker…
2024-09-18 16:37.48: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
HEAD is now at e4fe282 WIP: Two stack queue
(from ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529' locally
docker.io/ocaml/opam@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529: Pulling from ocaml/opam
af4ee850e5e4: Pulling fs layer
af4ee850e5e4: Verifying Checksum
af4ee850e5e4: Download complete
af4ee850e5e4: Pull complete
Digest: sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529
Status: Downloaded newer image for ocaml/opam@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529
2024-09-18 16:37.49 ---> using "39367f9505917995f9eaff72c8f1d1ce0d11606421d94b0d83720370dbefbf28" from cache
/: (comment ubuntu-20.04-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-09-18 16:37.49 ---> using "c2a28c12f1ea91b4310f48b1cf9124539226240f1f7da99eaf1abfbf31087f6a" 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-09-18 16:37.49 ---> using "22ddbf4574ac6824a51143d28f872bae296c7675b8179b749a1e70f8a80ab715" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-121-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-09-18 16:37.49 ---> using "63e9c38447539f3ee7f853a010016292a5ff598b7ce59b8a3f5f3bce3c89a087" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-18 16:37.49 ---> using "d8cc961303e9079d36b84b6562761396eb80a34d6c87ba203a9c5bd93ec659a3" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(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
e89899ac28..45f961713f master -> origin/master
45f961713f Merge pull request #26585 from dra27/trunk-tweaks
<><> 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-09-18 16:37.49 ---> using "b799a5324ad08961e977a40024f6baaa2bc0d32b77d22fab737e0b4599f1b2b9" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-18 16:37.49 ---> saved as "38b53fb49b341487bafaa5d4d82299e74c2183de0fea9f40c0f7e32ec8e0ac5d"
/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-09-18 16:37.57 ---> saved as "25b466859160cf99d00b20515549842d250a8b8d7fc88bd09d565161362e79ee"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 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.5 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.8 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 "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 [4178 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4478 kB]
- Get:7 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [33.5 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1559 kB]
- Get:9 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [30.9 kB]
- Get:10 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1273 kB]
- Get:11 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4016 kB]
- Get:12 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4008 kB]
- Fetched 19.8 MB in 2s (8028 kB/s)
- Reading package lists...
-
<><> 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-09-18 16:38.30 ---> saved as "7a6b9c86aef412bd3889441cc83a2b4bf0d2992b2d14edc1aaf684f7a8a461f7"
/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.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-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.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 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.0 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cppo.1.7.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.5 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved mdx.2.4.1 (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.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 ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed mtime.2.1.0
-> installed uutf.1.0.3
-> 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.0
-> installed csexp.1.5.2
-> installed psq.0.2.1
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed multicore-magic.2.3.0
-> installed ocaml-version.3.6.8
-> installed stdlib-shims.0.3.0
-> installed camlp-streams.5.0.1
-> 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 multicore-bench.0.1.5
-> installed alcotest.1.8.0
-> installed qcheck-stm.0.4
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-18 16:40.06 ---> saved as "21e60071d8b9225136116486abcf33e4da7f83bd31fbd80036c3079ff86faa90"
/src: (copy (src .) (dst /src))
2024-09-18 16:40.06 ---> saved as "97a03078ae4cf738b527a522e55f884aa780d681cba05fd2203d47e34355def1"
/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 `PSUQ2HVK'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.005s. 1 test run.
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `MAXQBER9'.
[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.239s. 2 tests run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `6MJTEM8L'.
[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 `BBZ9P6G4'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Stack'.
Test Successful in 0.004s. 1 test run.
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `D4TNGWLU'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.030s. 1 test run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `R1H8AVGR'.
[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 && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `8DQ5V1KM'.
[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_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `XGQOET5J'.
[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.032s. 4 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `EVJBNJVD'.
[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 4.500s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
14.68 ns
ops over time/get:
68.13 M/s
time per op/incr:
251.05 ns
ops over time/incr:
3.98 M/s
time per op/push & pop:
242.12 ns
ops over time/push & pop:
4.13 M/s
time per op/cas int:
191.99 ns
ops over time/cas int:
5.21 M/s
time per op/xchg int:
158.33 ns
ops over time/xchg int:
6.32 M/s
time per op/swap:
287.21 ns
ops over time/swap:
3.48 M/s
Kcas Xt:
time per transaction/0 loc tx:
23.26 ns
transactions over time/0 loc tx:
42.99 M/s
time per transaction/1 loc tx:
116.65 ns
transactions over time/1 loc tx:
8.57 M/s
time per transaction/2 loc tx:
466.76 ns
transactions over time/2 loc tx:
2.14 M/s
time per transaction/4 loc tx:
846.75 ns
transactions over time/4 loc tx:
1.18 M/s
time per transaction/8 loc tx:
1340.79 ns
transactions over time/8 loc tx:
0.75 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
127.03 ns
transactions over time/0 loc tx:
7.87 M/s
time per transaction/1 loc tx:
187.69 ns
transactions over time/1 loc tx:
5.33 M/s
time per transaction/2 loc tx:
746.70 ns
transactions over time/2 loc tx:
1.34 M/s
time per transaction/4 loc tx:
1008.35 ns
transactions over time/4 loc tx:
0.99 M/s
time per transaction/8 loc tx:
1854.10 ns
transactions over time/8 loc tx:
0.54 M/s
Kcas parallel CMP:
time per transaction/1 worker:
822.24 ns
transactions over time/1 worker:
1.22 M/s
time per transaction/2 workers:
1119.48 ns
transactions over time/2 workers:
1.79 M/s
time per transaction/4 workers:
2953.42 ns
transactions over time/4 workers:
1.35 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
341.52 ns
operations over time/1 worker, 0% reads:
2.93 M/s
time per operation/2 workers, 0% reads:
413.12 ns
operations over time/2 workers, 0% reads:
4.84 M/s
time per operation/4 workers, 0% reads:
786.78 ns
operations over time/4 workers, 0% reads:
5.08 M/s
Kcas_data Dllist:
time per message/one domain:
6682.43 ns
messages over time/one domain:
0.15 M/s
time per message/1 nb adder, 1 nb taker:
5832.41 ns
messages over time/1 nb adder, 1 nb taker:
0.34 M/s
time per message/1 nb adder, 2 nb takers:
9361.15 ns
messages over time/1 nb adder, 2 nb takers:
0.32 M/s
time per message/2 nb adders, 1 nb taker:
8366.86 ns
messages over time/2 nb adders, 1 nb taker:
0.36 M/s
time per message/2 nb adders, 2 nb takers:
28709.63 ns
messages over time/2 nb adders, 2 nb takers:
0.14 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
786.15 ns
operations over time/1 worker, 90% reads:
1.27 M/s
time per operation/2 workers, 90% reads:
1381.99 ns
operations over time/2 workers, 90% reads:
1.45 M/s
time per operation/4 workers, 90% reads:
1788.84 ns
operations over time/4 workers, 90% reads:
2.24 M/s
time per operation/1 worker, 50% reads:
2556.60 ns
operations over time/1 worker, 50% reads:
0.39 M/s
time per operation/2 workers, 50% reads:
1703.54 ns
operations over time/2 workers, 50% reads:
1.17 M/s
time per operation/4 workers, 50% reads:
3321.47 ns
operations over time/4 workers, 50% reads:
1.20 M/s
time per operation/1 worker, 10% reads:
2020.52 ns
operations over time/1 worker, 10% reads:
0.49 M/s
time per operation/2 workers, 10% reads:
2094.31 ns
operations over time/2 workers, 10% reads:
0.95 M/s
time per operation/4 workers, 10% reads:
5728.16 ns
operations over time/4 workers, 10% reads:
0.70 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
159.18 ns
messages over time/1 nb adder, 1 nb taker:
12.56 M/s
time per message/1 nb adder, 1 taker:
255.23 ns
messages over time/1 nb adder, 1 taker:
7.84 M/s
time per message/1 nb adder, 2 nb takers:
296642.91 ns
messages over time/1 nb adder, 2 nb takers:
0.01 M/s
time per message/1 nb adder, 2 takers:
13462.32 ns
messages over time/1 nb adder, 2 takers:
0.22 M/s
time per message/1 adder, 1 nb taker:
249.24 ns
messages over time/1 adder, 1 nb taker:
8.02 M/s
time per message/1 adder, 1 taker:
1632.45 ns
messages over time/1 adder, 1 taker:
1.23 M/s
time per message/1 adder, 2 nb takers:
1626.82 ns
messages over time/1 adder, 2 nb takers:
1.84 M/s
time per message/1 adder, 2 takers:
1479.28 ns
messages over time/1 adder, 2 takers:
2.03 M/s
time per message/2 nb adders, 1 nb taker:
824.91 ns
messages over time/2 nb adders, 1 nb taker:
3.64 M/s
time per message/2 nb adders, 1 taker:
1139.63 ns
messages over time/2 nb adders, 1 taker:
2.63 M/s
time per message/2 nb adders, 2 nb takers:
628.48 ns
messages over time/2 nb adders, 2 nb takers:
6.36 M/s
time per message/2 nb adders, 2 takers:
10299.87 ns
messages over time/2 nb adders, 2 takers:
0.39 M/s
time per message/2 adders, 1 nb taker:
1185.99 ns
messages over time/2 adders, 1 nb taker:
2.53 M/s
time per message/2 adders, 1 taker:
1662.35 ns
messages over time/2 adders, 1 taker:
1.80 M/s
time per message/2 adders, 2 nb takers:
6902.29 ns
messages over time/2 adders, 2 nb takers:
0.58 M/s
time per message/2 adders, 2 takers:
9865.24 ns
messages over time/2 adders, 2 takers:
0.41 M/s
Kcas_data Queue:
time per message/one domain:
185.56 ns
messages over time/one domain:
5.39 M/s
time per message/1 nb adder, 1 nb taker:
1859.89 ns
messages over time/1 nb adder, 1 nb taker:
1.08 M/s
time per message/1 nb adder, 1 taker:
1434.38 ns
messages over time/1 nb adder, 1 taker:
1.39 M/s
time per message/1 nb adder, 2 nb takers:
4850.55 ns
messages over time/1 nb adder, 2 nb takers:
0.62 M/s
time per message/1 nb adder, 2 takers:
3159.93 ns
messages over time/1 nb adder, 2 takers:
0.95 M/s
time per message/2 nb adders, 1 nb taker:
2450.19 ns
messages over time/2 nb adders, 1 nb taker:
1.22 M/s
time per message/2 nb adders, 1 taker:
2117.23 ns
messages over time/2 nb adders, 1 taker:
1.42 M/s
time per message/2 nb adders, 2 nb takers:
2962.65 ns
messages over time/2 nb adders, 2 nb takers:
1.35 M/s
time per message/2 nb adders, 2 takers:
1248.02 ns
messages over time/2 nb adders, 2 takers:
3.21 M/s
Kcas_data Stack:
time per message/one domain:
203.96 ns
messages over time/one domain:
4.90 M/s
time per message/1 nb adder, 1 nb taker:
480.74 ns
messages over time/1 nb adder, 1 nb taker:
4.16 M/s
time per message/1 nb adder, 1 taker:
1646.86 ns
messages over time/1 nb adder, 1 taker:
1.21 M/s
time per message/1 nb adder, 2 nb takers:
3751.97 ns
messages over time/1 nb adder, 2 nb takers:
0.80 M/s
time per message/1 nb adder, 2 takers:
2273.35 ns
messages over time/1 nb adder, 2 takers:
1.32 M/s
time per message/2 nb adders, 1 nb taker:
3261.77 ns
messages over time/2 nb adders, 1 nb taker:
0.92 M/s
time per message/2 nb adders, 1 taker:
1706.58 ns
messages over time/2 nb adders, 1 taker:
1.76 M/s
time per message/2 nb adders, 2 nb takers:
5197.29 ns
messages over time/2 nb adders, 2 nb takers:
0.77 M/s
time per message/2 nb adders, 2 takers:
3135.53 ns
messages over time/2 nb adders, 2 takers:
1.28 M/s
Kcas_data Two_stack_queue:
time per message/one domain:
895.89 ns
messages over time/one domain:
1.12 M/s
time per message/1 nb adder, 1 nb taker:
1104.23 ns
messages over time/1 nb adder, 1 nb taker:
1.81 M/s
time per message/1 nb adder, 2 nb takers:
1286.61 ns
messages over time/1 nb adder, 2 nb takers:
2.33 M/s
time per message/2 nb adders, 1 nb taker:
2840.34 ns
messages over time/2 nb adders, 1 nb taker:
1.06 M/s
time per message/2 nb adders, 2 nb takers:
5940.34 ns
messages over time/2 nb adders, 2 nb takers:
0.67 M/s
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 470584756
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Stack sequential
[✓] 1000 0 0 1000 / 1000 552.3s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 306560627
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Accumulator sequential
[ ] 212 0 0 212 / 1
[✓] 1000 0 0 1000 / 1000 555.1s Accumulator parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./two_stack_queue_test_stm.exe)
random seed: 83581008
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Two_stack_queue sequential
[ ] 839 0 0 839 / 1000 523.5s Two_stac
[✓] 1000 0 0 1000 / 1000 556.5s Two_stack_queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 411609236
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Queue sequential
[✓] 1000 0 0 1000 / 1000 558.5s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 437879136
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Hashtbl sequential
[ ] 656 0 0 656 / 1000 431.3s Hashtbl para
[✓] 1000 0 0 1000 / 1000 560.9s Hashtbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 31569702
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Dllist sequential
[✓] 1000 0 0 1000 / 1000 563.1s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 519614441
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.1s Hashtbl_with_order sequential
[ ] 408 0 0
[✓] 1000 0 0 1000 / 1000 567.5s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
2024-09-18 16:49.39 ---> saved as "2ed032aaca968643d30445508c94511d8dfab93a6468ac98864e407acb645165"
Job succeeded
2024-09-18 16:49.40: Job succeeded