2024-08-28 13:38.22: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/add-optional-capacity-to-queue (0c6015f643653883c7379510e3f0d2db861ab61e) (linux-x86_64:alpine-3.20-5.2_opam-2.2)
Base: ocaml/opam:alpine-3.20-ocaml-5.2@sha256:7e1ff627c9463d11c6c8cb5cd9e605e0469d5c782ffd9fa0bc54d598262b1edd
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "add-optional-capacity-to-queue" && cd "kcas" && git reset --hard 0c6015f6
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.20-ocaml-5.2@sha256:7e1ff627c9463d11c6c8cb5cd9e605e0469d5c782ffd9fa0bc54d598262b1edd
# alpine-3.20-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 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-domains.base base-nnp.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.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.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-28 13:38.22: Using cache hint "ocaml-multicore/kcas-ocaml/opam:alpine-3.20-ocaml-5.2@sha256:7e1ff627c9463d11c6c8cb5cd9e605e0469d5c782ffd9fa0bc54d598262b1edd-alpine-3.20-5.2_opam-2.2-a211d66f7f0e1e12c7244f8542140424"
2024-08-28 13:38.22: Using OBuilder spec:
((from ocaml/opam:alpine-3.20-ocaml-5.2@sha256:7e1ff627c9463d11c6c8cb5cd9e605e0469d5c782ffd9fa0bc54d598262b1edd)
(comment alpine-3.20-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 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-domains.base base-nnp.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.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.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-28 13:38.22: Waiting for resource in pool OCluster
2024-08-28 23:00.30: Waiting for worker…
2024-08-28 23:01.41: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 0c6015f Add optional `capacity` argument to `Queue.create` and `Stack.create`
(from ocaml/opam:alpine-3.20-ocaml-5.2@sha256:7e1ff627c9463d11c6c8cb5cd9e605e0469d5c782ffd9fa0bc54d598262b1edd)
2024-08-28 23:01.42 ---> using "f91c4207485e9bc221333a0708729e42c83c784e9f1d26a677abe99bfadb57ee" from cache
/: (comment alpine-3.20-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-08-28 23:01.42 ---> using "70cf9e6f892a5da9ae0318828075a4de0a73c3288e1773e4b4512a3d4f5f8a7e" 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-08-28 23:01.42 ---> using "b11f81c60531f20ab2cc375bcca0ff2e882e9305d8da1c5d29e6a0cfa9ea1487" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 5.2.0
2.2.0
2024-08-28 23:01.42 ---> using "46ddb2c7faf6447f4dcd2c3dba89789a07724b392cffb54db543c2823a686961" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-08-28 23:01.42 ---> using "160bed035beab9da9b8c79ac62b37d826e4ef2f8ecb0312ddee24850d7a5b86c" from cache
/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..2beff567ef 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-28 23:01.42 ---> using "90d27e037f88338d18760d2574149bd21b603e99b3c4c45e8922167096e2cf74" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-08-28 23:01.42 ---> using "8eb060b43b28f920567414139874e72ef8cfa912d82b5736c45ec34fb89c316b" from cache
/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-28 23:01.42 ---> using "bae954cb5c116dea0ec34c7c05d2551753b52e03488ac5b2247911b2fff04da2" from cache
/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.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.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.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 "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.20.2-181-gc105d1f586d [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
- v3.20.2-184-g64eba4bc809 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
- v20240807-1027-gc8a9e395dc9 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20240807-1095-g516d037eb4f [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20240807-1093-g57fbec1248b [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 54862 distinct packages available
<><> 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-08-28 23:01.42 ---> using "fc7b5ef02b690a7b2889bb6d0c7b3f1f019bcdcd4481d6b0a5d6455e63b6746f" from cache
/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.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_shims.0.1.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved mtime.2.0.0 (cached)
-> retrieved multicore-bench.0.1.4 (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 domain-local-timeout.1.0.1 (https://github.com/ocaml-multicore/domain-local-timeout/releases/download/1.0.1/domain-local-timeout-1.0.1.tbz)
-> 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 dune.3.16.0 (cached)
-> 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)
-> 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.0.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.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed ocaml-version.3.6.8
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed camlp-streams.5.0.1
-> installed multicore-magic.2.3.0
-> installed psq.0.2.1
-> installed domain-local-await.1.0.1
-> installed domain-local-timeout.1.0.1
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed ocaml-syntax-shims.1.0.0
-> 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-28 23:01.42 ---> using "81dd6dabd53cac6af3503536044faf3a12fe696fa625d43eccfcf479017184b6" from cache
/src: (copy (src .) (dst /src))
2024-08-28 23:01.42 ---> saved as "8c15a20ae0e5ff70c817cefcf524c2ea47f165f096e2e0be159ff2cf7816d520"
/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_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas && ./threads.exe)
Testing `Threads'.
This run has ID `7Q3O59RS'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `13M3BTN4'.
[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.007s. 2 tests run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `B3NAVZ43'.
[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 && ./xt_test.exe)
Testing `Transactions'.
This run has ID `H27Z45L0'.
[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 && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `YHWV272H'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.002s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `7W3805L7'.
[OK] basics 0
[OK] capacity 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Queue'.
Test Successful in 0.002s. 2 tests run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `3G9XJ52H'.
[OK] basics 0
[OK] capacity 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Stack'.
Test Successful in 0.002s. 2 tests run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `EFWJSE0S'.
[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.014s. 4 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `NE1MX8AA'.
[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.756s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
3.75 ns
ops over time/get:
266.45 M/s
time per op/incr:
15.40 ns
ops over time/incr:
64.93 M/s
time per op/push & pop:
16.05 ns
ops over time/push & pop:
62.32 M/s
time per op/cas int:
10.34 ns
ops over time/cas int:
96.71 M/s
time per op/xchg int:
10.09 ns
ops over time/xchg int:
99.13 M/s
time per op/swap:
14.27 ns
ops over time/swap:
70.09 M/s
Kcas Xt:
time per transaction/0 loc tx:
9.19 ns
transactions over time/0 loc tx:
108.83 M/s
time per transaction/1 loc tx:
36.65 ns
transactions over time/1 loc tx:
27.28 M/s
time per transaction/2 loc tx:
84.59 ns
transactions over time/2 loc tx:
11.82 M/s
time per transaction/4 loc tx:
151.45 ns
transactions over time/4 loc tx:
6.60 M/s
time per transaction/8 loc tx:
303.15 ns
transactions over time/8 loc tx:
3.30 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
10.49 ns
transactions over time/0 loc tx:
95.36 M/s
time per transaction/1 loc tx:
25.41 ns
transactions over time/1 loc tx:
39.35 M/s
time per transaction/2 loc tx:
54.21 ns
transactions over time/2 loc tx:
18.45 M/s
time per transaction/4 loc tx:
84.72 ns
transactions over time/4 loc tx:
11.80 M/s
time per transaction/8 loc tx:
242.84 ns
transactions over time/8 loc tx:
4.12 M/s
Kcas parallel CMP:
time per transaction/1 worker:
83.50 ns
transactions over time/1 worker:
11.98 M/s
time per transaction/2 workers:
85.19 ns
transactions over time/2 workers:
23.48 M/s
time per transaction/4 workers:
94.93 ns
transactions over time/4 workers:
42.14 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
30.14 ns
operations over time/1 worker, 0% reads:
33.18 M/s
time per operation/2 workers, 0% reads:
37.86 ns
operations over time/2 workers, 0% reads:
52.82 M/s
time per operation/4 workers, 0% reads:
33.24 ns
operations over time/4 workers, 0% reads:
120.34 M/s
Kcas_data Dllist:
time per message/one domain:
403.54 ns
messages over time/one domain:
2.48 M/s
time per message/1 nb adder, 1 nb taker:
1605.16 ns
messages over time/1 nb adder, 1 nb taker:
1.25 M/s
time per message/1 nb adder, 2 nb takers:
1975.21 ns
messages over time/1 nb adder, 2 nb takers:
1.52 M/s
time per message/2 nb adders, 1 nb taker:
2475.76 ns
messages over time/2 nb adders, 1 nb taker:
1.21 M/s
time per message/2 nb adders, 2 nb takers:
2787.08 ns
messages over time/2 nb adders, 2 nb takers:
1.44 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
66.18 ns
operations over time/1 worker, 90% reads:
15.11 M/s
time per operation/2 workers, 90% reads:
150.76 ns
operations over time/2 workers, 90% reads:
13.27 M/s
time per operation/4 workers, 90% reads:
156.58 ns
operations over time/4 workers, 90% reads:
25.55 M/s
time per operation/1 worker, 50% reads:
177.73 ns
operations over time/1 worker, 50% reads:
5.63 M/s
time per operation/2 workers, 50% reads:
168.45 ns
operations over time/2 workers, 50% reads:
11.87 M/s
time per operation/4 workers, 50% reads:
532.00 ns
operations over time/4 workers, 50% reads:
7.52 M/s
time per operation/1 worker, 10% reads:
183.94 ns
operations over time/1 worker, 10% reads:
5.44 M/s
time per operation/2 workers, 10% reads:
290.13 ns
operations over time/2 workers, 10% reads:
6.89 M/s
time per operation/4 workers, 10% reads:
397.66 ns
operations over time/4 workers, 10% reads:
10.06 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
2095.86 ns
messages over time/1 nb adder, 1 nb taker:
0.95 M/s
time per message/1 nb adder, 1 taker:
5366.80 ns
messages over time/1 nb adder, 1 taker:
0.37 M/s
time per message/1 nb adder, 2 nb takers:
3161.24 ns
messages over time/1 nb adder, 2 nb takers:
0.95 M/s
time per message/1 nb adder, 2 takers:
2569.17 ns
messages over time/1 nb adder, 2 takers:
1.17 M/s
time per message/1 adder, 1 nb taker:
3125.47 ns
messages over time/1 adder, 1 nb taker:
0.64 M/s
time per message/1 adder, 1 taker:
2754.71 ns
messages over time/1 adder, 1 taker:
0.73 M/s
time per message/1 adder, 2 nb takers:
5605.34 ns
messages over time/1 adder, 2 nb takers:
0.54 M/s
time per message/1 adder, 2 takers:
5586.75 ns
messages over time/1 adder, 2 takers:
0.54 M/s
time per message/2 nb adders, 1 nb taker:
3299.32 ns
messages over time/2 nb adders, 1 nb taker:
0.91 M/s
time per message/2 nb adders, 1 taker:
4834.92 ns
messages over time/2 nb adders, 1 taker:
0.62 M/s
time per message/2 nb adders, 2 nb takers:
3712.50 ns
messages over time/2 nb adders, 2 nb takers:
1.08 M/s
time per message/2 nb adders, 2 takers:
3478.78 ns
messages over time/2 nb adders, 2 takers:
1.15 M/s
time per message/2 adders, 1 nb taker:
4482.58 ns
messages over time/2 adders, 1 nb taker:
0.67 M/s
time per message/2 adders, 1 taker:
5222.29 ns
messages over time/2 adders, 1 taker:
0.57 M/s
time per message/2 adders, 2 nb takers:
7881.85 ns
messages over time/2 adders, 2 nb takers:
0.51 M/s
time per message/2 adders, 2 takers:
4589.18 ns
messages over time/2 adders, 2 takers:
0.87 M/s
Kcas_data Queue:
time per message/one domain:
67.31 ns
messages over time/one domain:
14.86 M/s
time per message/1 nb adder, 1 nb taker:
271.07 ns
messages over time/1 nb adder, 1 nb taker:
7.38 M/s
time per message/1 nb adder, 1 taker:
271.50 ns
messages over time/1 nb adder, 1 taker:
7.37 M/s
time per message/1 nb adder, 2 nb takers:
538.86 ns
messages over time/1 nb adder, 2 nb takers:
5.57 M/s
time per message/1 nb adder, 2 takers:
578.67 ns
messages over time/1 nb adder, 2 takers:
5.18 M/s
time per message/2 nb adders, 1 nb taker:
394.04 ns
messages over time/2 nb adders, 1 nb taker:
7.61 M/s
time per message/2 nb adders, 1 taker:
486.99 ns
messages over time/2 nb adders, 1 taker:
6.16 M/s
time per message/2 nb adders, 2 nb takers:
683.44 ns
messages over time/2 nb adders, 2 nb takers:
5.85 M/s
time per message/2 nb adders, 2 takers:
673.70 ns
messages over time/2 nb adders, 2 takers:
5.94 M/s
Kcas_data Stack:
time per message/one domain:
54.06 ns
messages over time/one domain:
18.50 M/s
time per message/1 nb adder, 1 nb taker:
205.40 ns
messages over time/1 nb adder, 1 nb taker:
9.74 M/s
time per message/1 nb adder, 1 taker:
230.59 ns
messages over time/1 nb adder, 1 taker:
8.67 M/s
time per message/1 nb adder, 2 nb takers:
701.41 ns
messages over time/1 nb adder, 2 nb takers:
4.28 M/s
time per message/1 nb adder, 2 takers:
643.90 ns
messages over time/1 nb adder, 2 takers:
4.66 M/s
time per message/2 nb adders, 1 nb taker:
246.22 ns
messages over time/2 nb adders, 1 nb taker:
12.18 M/s
time per message/2 nb adders, 1 taker:
708.42 ns
messages over time/2 nb adders, 1 taker:
4.23 M/s
time per message/2 nb adders, 2 nb takers:
657.29 ns
messages over time/2 nb adders, 2 nb takers:
6.09 M/s
time per message/2 nb adders, 2 takers:
705.48 ns
messages over time/2 nb adders, 2 takers:
5.67 M/s
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 438065598
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.1s Stack sequential
[✓] 1000 0 0 1000 / 1000 47.5s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 295030974
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.1s Accumulator sequential
[✓] 1000 0 0 1000 / 1000 47.8s Accumulator parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 408181560
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.2s Dllist sequential
[✓] 1000 0 0 1000 / 1000 48.4s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 359648395
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.1s Queue sequential
[ ] 265 0 0 265 / 1000
[✓] 1000 0 0 1000 / 1000 49.8s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 267921586
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.1s Hashtbl sequential
[✓] 1000 0 0 1000 / 1000 49.8s Hashtbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 524764122
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.3s Hashtbl_with_order sequential
[✓] 1000 0 0 1000 / 1000 54.8s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
2024-08-28 23:02.39 ---> saved as "45cd8540d340ff554ad41128b4417e6e3fae0d63d47e58d22a6640ab9eae87b5"
Job succeeded
2024-08-28 23:02.39: Job succeeded