2024-10-18 17:21.30: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/sleeping-barbers-example (2d9eea67a0e305f74798f477980f4101c89ad771) (linux-arm64:debian-12-4.14_arm64_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:6e7bc7024c9fa2c0d4bb812ed7ab505cc5b61e246262d1de27863de985b320b5
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "sleeping-barbers-example" && cd "kcas" && git reset --hard 2d9eea67
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:6e7bc7024c9fa2c0d4bb812ed7ab505cc5b61e246262d1de27863de985b320b5
# debian-12-4.14_arm64_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 b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 kcas_data.opam kcas.opam ./
RUN opam pin add -yn kcas_data.dev './' && \
opam pin add -yn kcas.dev './'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-10-18 17:21.30: Using cache hint "ocaml-multicore/kcas-ocaml/opam:debian-12-ocaml-4.14@sha256:6e7bc7024c9fa2c0d4bb812ed7ab505cc5b61e246262d1de27863de985b320b5-debian-12-4.14_arm64_opam-2.2-d08ecc031bd0314a42b6fb11bf3ee211"
2024-10-18 17:21.30: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:6e7bc7024c9fa2c0d4bb812ed7ab505cc5b61e246262d1de27863de985b320b5)
(comment debian-12-4.14_arm64_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 b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src kcas_data.opam kcas.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-10-18 17:21.30: Waiting for resource in pool OCluster
2024-10-18 17:21.30: Waiting for worker…
2024-10-18 17:49.58: Got resource from pool OCluster
Building on kydoime.caelum.ci.dev
All commits already cached
HEAD is now at 2d9eea6 Sleeping barbers
(from ocaml/opam:debian-12-ocaml-4.14@sha256:6e7bc7024c9fa2c0d4bb812ed7ab505cc5b61e246262d1de27863de985b320b5)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:6e7bc7024c9fa2c0d4bb812ed7ab505cc5b61e246262d1de27863de985b320b5' locally
docker.io/ocaml/opam@sha256:6e7bc7024c9fa2c0d4bb812ed7ab505cc5b61e246262d1de27863de985b320b5: Pulling from ocaml/opam
Digest: sha256:6e7bc7024c9fa2c0d4bb812ed7ab505cc5b61e246262d1de27863de985b320b5
Status: Downloaded newer image for ocaml/opam@sha256:6e7bc7024c9fa2c0d4bb812ed7ab505cc5b61e246262d1de27863de985b320b5
2024-10-18 17:49.58 ---> using "09436605f6da565063398e1b4ddaf8078fddc90e75f05e1c21faaeacbc9840ee" from cache
/: (comment debian-12-4.14_arm64_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-18 17:49.58 ---> using "19ce3ff229d41b5c060df75c88208376d707bcc7fe89ed30e7bab141b3d59cea" 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-18 17:49.58 ---> using "7d4912a3d085e72558918f51faa7743bb358e15e2430160a51e8a0fc6d7e8cac" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-10-18 17:49.58 ---> using "c4e4804a4ea3eca1f394618a55b3e7a279b1e9bc39edeb03310aa52db07c0b1d" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-18 17:49.58 ---> using "fde69242da4bf6f6df5c8582f2648ec58db76db8083c28fdbf517b3e68452d63" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
75006f8c5e..b8e118d3ef master -> origin/master
b8e118d3ef Merge pull request #26758 from polytypic/release-multicore-bench-0.1.7
<><> 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-18 17:49.58 ---> using "332bb33387ae224baa26f310a9d36d207e1954096e72828b4dcf44aabb30edee" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-10-18 17:49.58 ---> using "5c23a8591365370fac2a993a635cc918df3e5869ebb00362ed635042164d8636" 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-10-18 17:49.58 ---> using "caf1cfbf0cd27d4659b9f03d55689fa75bc8d0533b912f34c7c32051844dcae7" from cache
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main arm64 Packages.diff/Index [11.7 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1115 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1115 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [186 kB]
- Fetched 302 kB in 0s (737 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 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-arm64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-10-18 17:49.58 ---> using "986a58f62c576c0bc20ac609ab87086d39dc3983b5326a921d69f6df1a96de44" 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 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-arm64 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.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.7
- 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 camlp-streams.5.0.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cmdliner.1.3.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.7 (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 dune.3.16.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> retrieved yojson.2.2.2 (cached)
-> 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 stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed backoff.0.1.1
-> installed multicore-magic.2.3.0
-> installed psq.0.2.1
-> installed ocaml-version.3.6.9
-> installed domain-local-await.1.0.1
-> installed domain-local-timeout.1.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed cppo.1.7.0
-> installed yojson.2.2.2
-> installed qcheck-core.0.22
-> installed qcheck-multicoretests-util.0.4
-> installed multicore-bench.0.1.7
-> installed qcheck-stm.0.4
-> installed alcotest.1.8.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-18 17:49.58 ---> using "8a2491de2c2815598a3bbebb32679ae5199ea64d8a4e36483c2e7d75e954b000" from cache
/src: (copy (src .) (dst /src))
2024-10-18 17:49.59 ---> saved as "4ade0d82747645a8290fb59a2e6afd14813558959857d6982b9ea509866ab375"
/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_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `P8ZRVE0J'.
[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 && ./threads.exe)
Testing `Threads'.
This run has ID `R3V8VESH'.
[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_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `9VJ22HP8'.
[OK] basics 0
[OK] capacity 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Stack'.
Test Successful in 0.000s. 2 tests run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `NC3AVV3A'.
[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 `93DRHR1M'.
[OK] basics 0
[OK] capacity 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Queue'.
Test Successful in 0.001s. 2 tests run.
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `8Z9E8FRR'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `OF74TS8P'.
[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.004s. 4 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `DD12MQL7'.
[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 0.911s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
84.24 M/s
ops over time/get:
291.81 M/s
ops over time/incr:
61.50 M/s
ops over time/push & pop:
60.59 M/s
ops over time/swap:
56.39 M/s
ops over time/xchg int:
81.73 M/s
time per op/cas int:
11.87 ns
time per op/get:
3.43 ns
time per op/incr:
16.26 ns
time per op/push & pop:
16.51 ns
time per op/swap:
17.73 ns
time per op/xchg int:
12.24 ns
Kcas Xt:
time per transaction/0 loc tx:
11.71 ns
time per transaction/1 loc tx:
38.93 ns
time per transaction/2 loc tx:
82.23 ns
time per transaction/4 loc tx:
147.01 ns
time per transaction/8 loc tx:
292.96 ns
transactions over time/0 loc tx:
85.38 M/s
transactions over time/1 loc tx:
25.69 M/s
transactions over time/2 loc tx:
12.16 M/s
transactions over time/4 loc tx:
6.80 M/s
transactions over time/8 loc tx:
3.41 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
14.96 ns
time per transaction/1 loc tx:
26.60 ns
time per transaction/2 loc tx:
50.43 ns
time per transaction/4 loc tx:
86.58 ns
time per transaction/8 loc tx:
168.97 ns
transactions over time/0 loc tx:
66.85 M/s
transactions over time/1 loc tx:
37.60 M/s
transactions over time/2 loc tx:
19.83 M/s
transactions over time/4 loc tx:
11.55 M/s
transactions over time/8 loc tx:
5.92 M/s
Kcas parallel CMP:
time per transaction/1 worker:
90.88 ns
time per transaction/2 workers:
187.14 ns
time per transaction/4 workers:
754.06 ns
transactions over time/1 worker:
11.00 M/s
transactions over time/2 workers:
10.69 M/s
transactions over time/4 workers:
5.30 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
57.24 M/s
operations over time/2 workers, 0% reads:
56.98 M/s
operations over time/4 workers, 0% reads:
28.55 M/s
time per operation/1 worker, 0% reads:
17.47 ns
time per operation/2 workers, 0% reads:
35.10 ns
time per operation/4 workers, 0% reads:
140.12 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
1.90 M/s
messages over time/1 nb adder, 2 nb takers:
1.57 M/s
messages over time/2 nb adders, 1 nb taker:
1.55 M/s
messages over time/2 nb adders, 2 nb takers:
2.17 M/s
messages over time/one domain:
2.61 M/s
time per message/1 nb adder, 1 nb taker:
1052.56 ns
time per message/1 nb adder, 2 nb takers:
1905.97 ns
time per message/2 nb adders, 1 nb taker:
1938.38 ns
time per message/2 nb adders, 2 nb takers:
1845.70 ns
time per message/one domain:
383.12 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
6.05 M/s
operations over time/1 worker, 50% reads:
7.79 M/s
operations over time/1 worker, 90% reads:
16.56 M/s
operations over time/2 workers, 10% reads:
5.21 M/s
operations over time/2 workers, 50% reads:
6.54 M/s
operations over time/2 workers, 90% reads:
16.21 M/s
operations over time/4 workers, 10% reads:
2.78 M/s
operations over time/4 workers, 50% reads:
3.88 M/s
operations over time/4 workers, 90% reads:
9.31 M/s
time per operation/1 worker, 10% reads:
165.24 ns
time per operation/1 worker, 50% reads:
128.37 ns
time per operation/1 worker, 90% reads:
60.37 ns
time per operation/2 workers, 10% reads:
383.97 ns
time per operation/2 workers, 50% reads:
305.93 ns
time per operation/2 workers, 90% reads:
123.39 ns
time per operation/4 workers, 10% reads:
1440.13 ns
time per operation/4 workers, 50% reads:
1029.81 ns
time per operation/4 workers, 90% reads:
429.43 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.08 M/s
messages over time/1 adder, 1 taker:
0.10 M/s
messages over time/1 adder, 2 nb takers:
0.10 M/s
messages over time/1 adder, 2 takers:
0.09 M/s
messages over time/1 nb adder, 1 nb taker:
0.11 M/s
messages over time/1 nb adder, 1 taker:
0.12 M/s
messages over time/1 nb adder, 2 nb takers:
0.10 M/s
messages over time/1 nb adder, 2 takers:
0.10 M/s
messages over time/2 adders, 1 nb taker:
0.10 M/s
messages over time/2 adders, 1 taker:
0.09 M/s
messages over time/2 adders, 2 nb takers:
0.09 M/s
messages over time/2 adders, 2 takers:
0.10 M/s
messages over time/2 nb adders, 1 nb taker:
0.10 M/s
messages over time/2 nb adders, 1 taker:
0.10 M/s
messages over time/2 nb adders, 2 nb takers:
0.09 M/s
messages over time/2 nb adders, 2 takers:
0.09 M/s
time per message/1 adder, 1 nb taker:
25767.01 ns
time per message/1 adder, 1 taker:
19152.65 ns
time per message/1 adder, 2 nb takers:
30932.26 ns
time per message/1 adder, 2 takers:
31771.66 ns
time per message/1 nb adder, 1 nb taker:
18616.15 ns
time per message/1 nb adder, 1 taker:
16604.73 ns
time per message/1 nb adder, 2 nb takers:
30030.05 ns
time per message/1 nb adder, 2 takers:
30034.65 ns
time per message/2 adders, 1 nb taker:
30085.84 ns
time per message/2 adders, 1 taker:
32774.06 ns
time per message/2 adders, 2 nb takers:
44573.16 ns
time per message/2 adders, 2 takers:
40474.92 ns
time per message/2 nb adders, 1 nb taker:
31160.26 ns
time per message/2 nb adders, 1 taker:
30499.25 ns
time per message/2 nb adders, 2 nb takers:
42186.74 ns
time per message/2 nb adders, 2 takers:
43561.56 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
10.12 M/s
messages over time/1 nb adder, 1 taker:
8.77 M/s
messages over time/1 nb adder, 2 nb takers:
8.51 M/s
messages over time/1 nb adder, 2 takers:
8.13 M/s
messages over time/2 nb adders, 1 nb taker:
6.90 M/s
messages over time/2 nb adders, 1 taker:
8.92 M/s
messages over time/2 nb adders, 2 nb takers:
8.24 M/s
messages over time/2 nb adders, 2 takers:
8.37 M/s
messages over time/one domain:
9.81 M/s
time per message/1 nb adder, 1 nb taker:
197.73 ns
time per message/1 nb adder, 1 taker:
228.27 ns
time per message/1 nb adder, 2 nb takers:
352.66 ns
time per message/1 nb adder, 2 takers:
369.03 ns
time per message/2 nb adders, 1 nb taker:
434.48 ns
time per message/2 nb adders, 1 taker:
336.35 ns
time per message/2 nb adders, 2 nb takers:
485.35 ns
time per message/2 nb adders, 2 takers:
477.85 ns
time per message/one domain:
101.95 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
9.73 M/s
messages over time/1 nb adder, 1 taker:
10.21 M/s
messages over time/1 nb adder, 2 nb takers:
11.23 M/s
messages over time/1 nb adder, 2 takers:
14.51 M/s
messages over time/2 nb adders, 1 nb taker:
9.47 M/s
messages over time/2 nb adders, 1 taker:
8.65 M/s
messages over time/2 nb adders, 2 nb takers:
8.02 M/s
messages over time/2 nb adders, 2 takers:
6.57 M/s
messages over time/one domain:
13.54 M/s
time per message/1 nb adder, 1 nb taker:
205.63 ns
time per message/1 nb adder, 1 taker:
195.95 ns
time per message/1 nb adder, 2 nb takers:
267.17 ns
time per message/1 nb adder, 2 takers:
206.80 ns
time per message/2 nb adders, 1 nb taker:
316.69 ns
time per message/2 nb adders, 1 taker:
346.96 ns
time per message/2 nb adders, 2 nb takers:
498.88 ns
time per message/2 nb adders, 2 takers:
609.37 ns
time per message/one domain:
73.83 ns
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `PLZTCHUY'.
[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.115s. 2 tests run.
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 126545624219319941
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 4.9s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3114072828773368966
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 6.3s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3033489763010345331
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 12.1s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3946411030072487294
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Stack sequential
[✓] 256 0 0 256 / 256 40.5s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 3922353269595972549
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 4.9s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3430507581496853805
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 7.0s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3452980382794889810
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 13.0s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3227688212170297791
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Accumulator sequential
[✓] 256 0 0 256 / 256 40.5s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 3043902126407124126
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 5.4s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2148592733533433441
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 8.4s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2752892556624430770
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 18.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 162430969922984439
generated error fail pass / total time test name
[✓] 193 0 0 193 / 193 0.0s Hashtbl_with_order sequential
[✓] 193 0 0 193 / 193 34.1s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 3521887260198978631
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Qu
ue sequential
[✓] 32 0 0 32 / 32 5.0s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1923728632540419435
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 7.4s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 622706033498512244
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 13.2s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 4595148971344572325
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Queue sequential
[✓] 256 0 0 256 / 256 41.0s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 40963253950889264
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 5.4s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4364176820616883980
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 6.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2523443515270561571
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 14.4s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2373210969583788668
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl sequential
[✓] 256 0 0 256 / 256 40.8s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 874393048041388593
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 5.3s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2381197485424205797
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 7.5s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3313330093239992359
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 13.6s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 326732616434018279
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Dllist sequential
[✓] 256 0 0 256 / 256 41.4s Dllist concurrent
================================================================================
success (ran 2 tests)
2024-10-18 17:51.09 ---> saved as "68651600402094264fd62d7acdca43eb02cf6f0ff597e94de9d6689e9e936ea1"
Job succeeded
2024-10-18 17:51.09: Job succeeded