2024-10-18 17:21.15: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/add-optional-capacity-to-queue (5eed0163de30d23ed60b20b66ff63133c0be71f5) (linux-x86_64:debian-12-4.14_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56
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 5eed0163
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56
# debian-12-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 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-x86_64.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.15: Using cache hint "ocaml-multicore/kcas-ocaml/opam:debian-12-ocaml-4.14@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56-debian-12-4.14_opam-2.2-5f4c992c2d473520416af47288a983cf"
2024-10-18 17:21.15: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56)
(comment debian-12-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 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-x86_64.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.15: Waiting for resource in pool OCluster
2024-10-18 17:24.58: Waiting for worker…
2024-10-18 17:25.34: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 5eed016 Add optional `capacity` argument to `Queue.create` and `Stack.create`
(from ocaml/opam:debian-12-ocaml-4.14@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56' locally
docker.io/ocaml/opam@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56: Pulling from ocaml/opam
eacc47a85629: Pulling fs layer
eacc47a85629: Verifying Checksum
eacc47a85629: Download complete
eacc47a85629: Pull complete
Digest: sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56
Status: Downloaded newer image for ocaml/opam@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56
2024-10-18 17:28.24 ---> using "adbbb34af03d384c47ca5794dffabe555b79b97b6e5aa7ebc9d3cd20586d155a" from cache
/: (comment debian-12-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-10-18 17:28.24 ---> using "fa5ba3d7df0e232917dec84b25ad39ca22bd5648af8a94bace9f4f9922dd36a2" 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.
Continue? [y/n] y
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.
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-18 17:28.24 ---> using "ee97eb618518975c4929ef21da27766ca95d812f576d00c46b1fb6fb7cb67c59" 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:28.24 ---> using "ff8fac32e8ae49834f5efcd6de1d1dfe1159dc4962dc14d64164c9b6a6f7272d" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-18 17:28.24 ---> using "44e867324918f3b0856c68e7bd89ae0f2631930ccc2e18890ebfdbf433d6c411" 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:28.24 ---> using "d66e2c0f08d4cb30211fd5a2acf886f9de2cd469e757b70ed85ed5d251616b8d" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-10-18 17:28.24 ---> using "4d0cae561b5fcfd044e4199d2723091b1b6c8f2e094d329b869279288e22dc4f" 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:28.24 ---> using "ef0060720daacadfcd4f744dbc387bbf1f77f35881107f04ad2f75ed0dc5f38e" 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-x86_64.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-security bookworm-security/main amd64 Packages [188 kB]
- Fetched 292 kB in 0s (798 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-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-10-18 17:28.24 ---> using "3d7e9fe9e91a0a6b8b12e8afd81fb827a740f872e1dc259f9fc4de5fd933ebf5" 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-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.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 astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cmdliner.1.3.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 re.1.12.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 topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (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.1.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed domain_shims.0.1.0
-> installed backoff.0.1.1
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed ocaml-version.3.6.9
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed psq.0.2.1
-> installed multicore-magic.2.3.0
-> installed domain-local-timeout.1.0.1
-> installed domain-local-await.1.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed cppo.1.7.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> 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:28.24 ---> using "117c3eecdd143fbaab4b06145ecf254a0fbaa2435ac79a1f257b2b1873d341a6" from cache
/src: (copy (src .) (dst /src))
2024-10-18 17:28.25 ---> saved as "5580ec5b954504318b17004d549e1f0eab589fa331e626cbf4b0391a6bfba35d"
/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 `CPLOMX6O'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.007s. 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 `CD8M6H8P'.
[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 && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `GOL5K0KL'.
[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 && ./stack_test.exe)
Testing `Stack'.
This run has ID `LGNOZP9T'.
[OK] basics 0
[OK] capacity 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Stack'.
Test Successful in 0.003s. 2 tests run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `S5MV307E'.
[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 `K4TCE6VE'.
[OK] basics 0
[OK] capacity 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Queue'.
Test Successful in 0.009s. 2 tests run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `3YABDLSA'.
[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.005s. 4 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `63AFQZAM'.
[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.895s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
92.00 M/s
ops over time/get:
254.22 M/s
ops over time/incr:
61.82 M/s
ops over time/push & pop:
58.22 M/s
ops over time/swap:
54.93 M/s
ops over time/xchg int:
82.40 M/s
time per op/cas int:
10.87 ns
time per op/get:
3.93 ns
time per op/incr:
16.18 ns
time per op/push & pop:
17.18 ns
time per op/swap:
18.20 ns
time per op/xchg int:
12.14 ns
Kcas Xt:
time per transaction/0 loc tx:
14.09 ns
time per transaction/1 loc tx:
44.55 ns
time per transaction/2 loc tx:
91.63 ns
time per transaction/4 loc tx:
162.16 ns
time per transaction/8 loc tx:
311.27 ns
transactions over time/0 loc tx:
70.95 M/s
transactions over time/1 loc tx:
22.45 M/s
transactions over time/2 loc tx:
10.91 M/s
transactions over time/4 loc tx:
6.17 M/s
transactions over time/8 loc tx:
3.21 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
16.59 ns
time per transaction/1 loc tx:
26.71 ns
time per transaction/2 loc tx:
64.03 ns
time per transaction/4 loc tx:
109.67 ns
time per transaction/8 loc tx:
202.12 ns
transactions over time/0 loc tx:
60.26 M/s
transactions over time/1 loc tx:
37.44 M/s
transactions over time/2 loc tx:
15.62 M/s
transactions over time/4 loc tx:
9.12 M/s
transactions over time/8 loc tx:
4.95 M/s
Kcas parallel CMP:
time per transaction/1 worker:
93.44 ns
time per transaction/2 workers:
186.02 ns
time per transaction/4 workers:
356.06 ns
transactions over time/1 worker:
10.70 M/s
transactions over time/2 workers:
10.75 M/s
transactions over time/4 workers:
11.23 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
51.89 M/s
operations over time/2 workers, 0% reads:
52.12 M/s
operations over time/4 workers, 0% reads:
55.42 M/s
time per operation/1 worker, 0% reads:
19.27 ns
time per operation/2 workers, 0% reads:
38.37 ns
time per operation/4 workers, 0% reads:
72.18 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
3.25 M/s
messages over time/1 nb adder, 2 nb takers:
3.15 M/s
messages over time/2 nb adders, 1 nb taker:
4.49 M/s
messages over time/2 nb adders, 2 nb takers:
3.58 M/s
messages over time/one domain:
2.54 M/s
time per message/1 nb adder, 1 nb taker:
616.23 ns
time per message/1 nb adder, 2 nb takers:
951.80 ns
time per message/2 nb adders, 1 nb taker:
667.85 ns
time per message/2 nb adders, 2 nb takers:
1116.04 ns
time per message/one domain:
393.77 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
5.93 M/s
operations over time/1 worker, 50% reads:
7.54 M/s
operations over time/1 worker, 90% reads:
14.84 M/s
operations over time/2 workers, 10% reads:
5.18 M/s
operations over time/2 workers, 50% reads:
6.72 M/s
operations over time/2 workers, 90% reads:
14.57 M/s
operations over time/4 workers, 10% reads:
5.16 M/s
operations over time/4 workers, 50% reads:
6.99 M/s
operations over time/4 workers, 90% reads:
13.44 M/s
time per operation/1 worker, 10% reads:
168.60 ns
time per operation/1 worker, 50% reads:
132.59 ns
time per operation/1 worker, 90% reads:
67.37 ns
time per operation/2 workers, 10% reads:
385.91 ns
time per operation/2 workers, 50% reads:
297.44 ns
time per operation/2 workers, 90% reads:
137.25 ns
time per operation/4 workers, 10% reads:
775.29 ns
time per operation/4 workers, 50% reads:
572.58 ns
time per operation/4 workers, 90% reads:
297.68 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.09 M/s
messages over time/1 adder, 1 taker:
0.07 M/s
messages over time/1 adder, 2 nb takers:
0.03 M/s
messages over time/1 adder, 2 takers:
0.08 M/s
messages over time/1 nb adder, 1 nb taker:
0.09 M/s
messages over time/1 nb adder, 1 taker:
0.09 M/s
messages over time/1 nb adder, 2 nb takers:
0.09 M/s
messages over time/1 nb adder, 2 takers:
0.08 M/s
messages over time/2 adders, 1 nb taker:
0.08 M/s
messages over time/2 adders, 1 taker:
0.09 M/s
messages over time/2 adders, 2 nb takers:
0.08 M/s
messages over time/2 adders, 2 takers:
0.08 M/s
messages over time/2 nb adders, 1 nb taker:
0.08 M/s
messages over time/2 nb adders, 1 taker:
0.08 M/s
messages over time/2 nb adders, 2 nb takers:
0.09 M/s
messages over time/2 nb adders, 2 takers:
0.08 M/s
time per message/1 adder, 1 nb taker:
22789.30 ns
time per message/1 adder, 1 taker:
28738.87 ns
time per message/1 adder, 2 nb takers:
90160.30 ns
time per message/1 adder, 2 takers:
39299.40 ns
time per message/1 nb adder, 1 nb taker:
22846.06 ns
time per message/1 nb adder, 1 taker:
23494.97 ns
time per message/1 nb adder, 2 nb takers:
34556.64 ns
time per message/1 nb adder, 2 takers:
38192.82 ns
time per message/2 adders, 1 nb taker:
38764.19 ns
time per message/2 adders, 1 taker:
34110.29 ns
time per message/2 adders, 2 nb takers:
48642.54 ns
time per message/2 adders, 2 takers:
47194.71 ns
time per message/2 nb adders, 1 nb taker:
39739.07 ns
time per message/2 nb adders, 1 taker:
38988.26 ns
time per message/2 nb adders, 2 nb takers:
44402.14 ns
time per message/2 nb adders, 2 takers:
50181.97 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
24.73 M/s
messages over time/1 nb adder, 1 taker:
23.07 M/s
messages over time/1 nb adder, 2 nb takers:
21.89 M/s
messages over time/1 nb adder, 2 takers:
20.86 M/s
messages over time/2 nb adders, 1 nb taker:
25.94 M/s
messages over time/2 nb adders, 1 taker:
26.89 M/s
messages over time/2 nb adders, 2 nb takers:
21.35 M/s
messages over time/2 nb adders, 2 takers:
21.15 M/s
messages over time/one domain:
11.53 M/s
time per message/1 nb adder, 1 nb taker:
80.88 ns
time per message/1 nb adder, 1 taker:
86.69 ns
time per message/1 nb adder, 2 nb takers:
137.02 ns
time per message/1 nb adder, 2 takers:
143.79 ns
time per message/2 nb adders, 1 nb taker:
115.63 ns
time per message/2 nb adders, 1 taker:
111.56 ns
time per message/2 nb adders, 2 nb takers:
187.37 ns
time per message/2 nb adders, 2 takers:
189.10 ns
time per message/one domain:
86.70 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
22.05 M/s
messages over time/1 nb adder, 1 taker:
24.78 M/s
messages over time/1 nb adder, 2 nb takers:
22.57 M/s
messages over time/1 nb adder, 2 takers:
22.80 M/s
messages over time/2 nb adders, 1 nb taker:
27.99 M/s
messages over time/2 nb adders, 1 taker:
27.26 M/s
messages over time/2 nb adders, 2 nb takers:
25.32 M/s
messages over time/2 nb adders, 2 takers:
23.45 M/s
messages over time/one domain:
16.95 M/s
time per message/1 nb adder, 1 nb taker:
90.72 ns
time per message/1 nb adder, 1 taker:
80.70 ns
time per message/1 nb adder, 2 nb takers:
132.95 ns
time per message/1 nb adder, 2 takers:
131.58 ns
time per message/2 nb adders, 1 nb taker:
107.18 ns
time per message/2 nb adders, 1 taker:
110.06 ns
time per message/2 nb adders, 2 nb takers:
157.97 ns
time per message/2 nb adders, 2 takers:
170.59 ns
time per message/one domain:
59.01 ns
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `IDQ2JO73'.
[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.243s. 2 tests run.
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 4020172636685060177
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 10.7s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 1750265294476453582
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 16.7s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 4425814781364454296
generated error fail pass / total time test name
[✓] 114 0 0 114 / 114 0.0s Hashtbl_with_order sequential
[✓] 114 0 0 114 / 114 24.0s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3601532123939181664
generated error fail pass / total time test name
[✓] 35 0 0 35 / 35 0.0s Hashtbl_with_order sequential
[✓] 35 0 0 35 / 35 3.3s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2486682660154843160
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 2.8s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 486368685185912854
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 2.9s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 1325823702532863747
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 10.7s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3589714629574378250
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 16.6s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 703838314555362223
generated error fail pass / total time test name
[✓] 114 0 0 114 / 114 0.0s Dllist sequential
[✓] 114 0 0 114 / 114 24.5s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2702376167420533878
generated error fail pass / total time test name
[✓] 33 0 0 33 / 33 0.0s Dllist sequential
[✓] 33 0 0 33 / 33 3.4s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 4011365560321386820
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 2.8s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2127920727973005056
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 3.3s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 915300008683557555
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 10.7s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 375861813578058261
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 16.3s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2708992032756404271
generated error fail pass / total time test name
[✓] 117 0 0 117 / 117 0.0s Accumulator sequential
[✓] 117 0 0 117 / 117 23.5s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 577484251946356398
generated error fail pass / total time test name
[✓] 40 0 0 40 / 40 0.0s Accumulator sequential
[✓] 40 0 0 40 / 40 3.2s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2455546503394200260
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 2.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 4250159633833239524
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 2.5s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2406588645830049784
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 3.0s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 2176068822677200283
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 9.8s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1874871634391526511
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 16.0s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 110080384605133226
generated error fail pass / total time test name
[✓] 127 0 0 127 / 127 0.0s Stack sequential
[ ] 42 0 0 42 / 127
[✓] 127 0 0 127 / 127 24.9s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1491882587159220727
generated error fail pass / total time test name
[✓] 40 0 0 40 / 40 0.0s Stack sequential
[✓] 40 0 0 40 / 40 3.4s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3341410824485275144
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 2.3s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 192117291323239747
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 2.6s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3068960583121899138
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 2.8s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 1234483307737877810
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 10.5s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 656537775387132024
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 15.9s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2703899274619459883
generated error fail pass / total time test name
[✓] 122 0 0 122 / 122 0.0s Queue sequential
[✓] 122 0 0 122 / 122 25.0s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1244362876811249738
generated error fail pass / total time test name
[✓] 36 0 0 36 / 36 0.0s Queue sequential
[✓] 36 0 0 36 / 36 3.3s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3211596416418015034
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 2.3s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 4462777170443465639
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 3.1s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1526954543785429939
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 2.7s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 1044947026530510982
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 10.4s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3926148995793003142
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 16.2s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 401345386195652643
generated error fail pass / total time test name
[✓] 120 0 0 120 / 120 0.0s Hashtbl sequential
[✓] 120 0 0 120 / 120 24.6s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2921737688627574544
generated error fail pass / total time test name
[✓] 37 0 0 37 / 37 0.0s Hashtbl sequential
[✓] 37 0 0 37 / 37 3.1s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3779211571249169118
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 2.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2481072084042003918
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 2.8s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4003171203279011673
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 3.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
2024-10-18 17:29.31 ---> saved as "a217d5e269aab76dc4e801dfccf02e751f0e60ccf7f63ad19095433d83d5fe93"
Job succeeded
2024-10-18 17:29.31: Job succeeded