2024-10-18 17:21.12: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/port-to-picos (c408bc8d61e57ec2d758c7a8fd7081accf7b82fd) (linux-x86_64:debian-12-5.1_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-5.1@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "port-to-picos" && cd "kcas" && git reset --hard c408bc8d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd
# debian-12-5.1_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-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_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.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 picos.0.5.0 picos_aux.0.5.0 picos_io.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 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-local-storage.0.2 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.12: Using cache hint "ocaml-multicore/kcas-ocaml/opam:debian-12-ocaml-5.1@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd-debian-12-5.1_opam-2.2-61dea4ea60b28b9c1e119cccf68e7bcb"
2024-10-18 17:21.12: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd)
(comment debian-12-5.1_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-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_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.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 picos.0.5.0 picos_aux.0.5.0 picos_io.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 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-local-storage.0.2 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.12: Waiting for resource in pool OCluster
2024-10-18 17:23.33: Waiting for worker…
2024-10-18 17:23.33: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at c408bc8 Change to use Picos instead of DLA and DLT
(from ocaml/opam:debian-12-ocaml-5.1@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd' locally
docker.io/ocaml/opam@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd: Pulling from ocaml/opam
d26e863cfc53: Pulling fs layer
d26e863cfc53: Verifying Checksum
d26e863cfc53: Download complete
d26e863cfc53: Pull complete
Digest: sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd
Status: Downloaded newer image for ocaml/opam@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd
2024-10-18 17:23.34 ---> using "6ee1fe27fa6366d6c0b58a456592efca1ae7ebcb8c8dad869bb23ac981216fb0" from cache
/: (comment debian-12-5.1_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:23.34 ---> saved as "6a24b6cb73c51a11c75fbb3191dc39a79e6790a27c44d546251bcc73257f5686"
/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
[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:24.46 ---> saved as "0527ed178742bb6836c7a51d982ad14d0832a4af434baff4df75370a2366a53b"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.1.1
2.2.1
2024-10-18 17:24.47 ---> saved as "d4efa778e76d18b1621f65f6d9a8d0528163cbd59ee7813e322545c8f673f5c1"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-18 17:24.47 ---> saved as "ae75443227cfa8d931b4f3963f6f77307159c4697ad5d732a30bff47fd31971d"
/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:26.13 ---> saved as "a1790eb7376b289097473b03e83492408d3595da6301ed8c304fb5a005fe8466"
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-10-18 17:26.14 ---> saved as "db46b5e4984ab4de8a249d9f6830931821dbef67c17b3c5fc743f7ee8ec78469"
/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:26.18 ---> saved as "b60637a0f4d09332f1e5505fe9fd81dd2922c56fcd23b7df4720d2057f906502"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_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.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 picos.0.5.0 picos_aux.0.5.0 picos_io.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 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-local-storage.0.2 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 1s (434 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas.dev] synchronised (no changes)
[kcas_data.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[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-10-18 17:26.42 ---> saved as "60c789b419c3f8d9d9eaf013ef0e3e1ed3bea3b26fe5b46fa0dcb7e3dbc47682"
/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.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[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 38 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_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 picos 0.5.0
- install picos_aux 0.5.0
- install picos_io 0.5.0
- install picos_mux 0.5.0
- install picos_std 0.5.0
- 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-local-storage 0.2
- 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_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.1.0 (cached)
-> retrieved multicore-bench.0.1.7 (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 picos.0.5.0, picos_aux.0.5.0, picos_io.0.5.0, picos_mux.0.5.0, picos_std.0.5.0 (cached)
-> retrieved dune.3.16.0 (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 seq.base (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-local-storage.0.2 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> 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 csexp.1.5.2
-> installed ocaml-version.3.6.9
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed camlp-streams.5.0.1
-> installed psq.0.2.1
-> installed thread-table.1.0.0
-> installed multicore-magic.2.3.0
-> installed thread-local-storage.0.2
-> installed domain-local-await.1.0.1
-> installed picos_aux.0.5.0
-> installed cppo.1.7.0
-> installed ocaml-syntax-shims.1.0.0
-> installed picos.0.5.0
-> installed re.1.12.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed picos_std.0.5.0
-> installed qcheck-multicoretests-util.0.4
-> installed alcotest.1.8.0
-> installed multicore-bench.0.1.7
-> installed picos_io.0.5.0
-> installed qcheck-stm.0.4
-> installed picos_mux.0.5.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-18 17:27.36 ---> saved as "eede630138f13d6786b8d41a4469117022625c1e0a0a9e212b9a3accf035c83f"
/src: (copy (src .) (dst /src))
2024-10-18 17:27.37 ---> saved as "d8924f44bb15f075dfc5ebbd7c0e2dd245a3adb0590777e742093e8b39e2e89c"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(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 `BIFLOEDK'.
[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 && ./loc_modes.exe)
Loc modes OK!
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `CCTPC935'.
[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.020s. 4 tests run.
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `FFNK7MMA'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.006s. 1 test run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `2WP0HN4H'.
[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 && ./threads.exe)
Testing `Threads'.
This run has ID `U5Y1ZQUF'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.009s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `LVO0KZG8'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Queue'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `29M8OFH4'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Stack'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `8DLQOR38'.
[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.039s. 2 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
50.05 M/s
ops over time/get:
241.81 M/s
ops over time/incr:
50.44 M/s
ops over time/push & pop:
59.77 M/s
ops over time/swap:
51.81 M/s
ops over time/xchg int:
65.93 M/s
time per op/cas int:
19.98 ns
time per op/get:
4.14 ns
time per op/incr:
19.82 ns
time per op/push & pop:
16.73 ns
time per op/swap:
19.30 ns
time per op/xchg int:
15.17 ns
Kcas Xt:
time per transaction/0 loc tx:
18.11 ns
time per transaction/1 loc tx:
74.38 ns
time per transaction/2 loc tx:
236.01 ns
time per transaction/4 loc tx:
419.50 ns
time per transaction/8 loc tx:
417.87 ns
transactions over time/0 loc tx:
55.21 M/s
transactions over time/1 loc tx:
13.44 M/s
transactions over time/2 loc tx:
4.24 M/s
transactions over time/4 loc tx:
2.38 M/s
transactions over time/8 loc tx:
2.39 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
14.44 ns
time per transaction/1 loc tx:
43.76 ns
time per transaction/2 loc tx:
85.24 ns
time per transaction/4 loc tx:
104.66 ns
time per transaction/8 loc tx:
194.30 ns
transactions over time/0 loc tx:
69.23 M/s
transactions over time/1 loc tx:
22.85 M/s
transactions over time/2 loc tx:
11.73 M/s
transactions over time/4 loc tx:
9.55 M/s
transactions over time/8 loc tx:
5.15 M/s
Kcas parallel CMP:
time per transaction/1 worker:
148.39 ns
time per transaction/2 workers:
116.41 ns
time per transaction/4 workers:
315.48 ns
transactions over time/1 worker:
6.74 M/s
transactions over time/2 workers:
17.18 M/s
transactions over time/4 workers:
12.68 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
24.79 M/s
operations over time/2 workers, 0% reads:
53.52 M/s
operations over time/4 workers, 0% reads:
42.59 M/s
time per operation/1 worker, 0% reads:
40.33 ns
time per operation/2 workers, 0% reads:
37.37 ns
time per operation/4 workers, 0% reads:
93.92 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
1.17 M/s
messages over time/1 nb adder, 2 nb takers:
0.65 M/s
messages over time/2 nb adders, 1 nb taker:
0.86 M/s
messages over time/2 nb adders, 2 nb takers:
1.60 M/s
messages over time/one domain:
1.44 M/s
time per message/1 nb adder, 1 nb taker:
1709.47 ns
time per message/1 nb adder, 2 nb takers:
4632.76 ns
time per message/2 nb adders, 1 nb taker:
3472.44 ns
time per message/2 nb adders, 2 nb takers:
2496.20 ns
time per message/one domain:
692.87 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
2.78 M/s
operations over time/1 worker, 50% reads:
4.33 M/s
operations over time/1 worker, 90% reads:
12.73 M/s
operations over time/2 workers, 10% reads:
7.09 M/s
operations over time/2 workers, 50% reads:
4.83 M/s
operations over time/2 workers, 90% reads:
14.30 M/s
operations over time/4 workers, 10% reads:
3.14 M/s
operations over time/4 workers, 50% reads:
7.31 M/s
operations over time/4 workers, 90% reads:
10.89 M/s
time per operation/1 worker, 10% reads:
359.53 ns
time per operation/1 worker, 50% reads:
231.21 ns
time per operation/1 worker, 90% reads:
78.57 ns
time per operation/2 workers, 10% reads:
282.18 ns
time per operation/2 workers, 50% reads:
414.28 ns
time per operation/2 workers, 90% reads:
139.87 ns
time per operation/4 workers, 10% reads:
1273.18 ns
time per operation/4 workers, 50% reads:
547.26 ns
time per operation/4 workers, 90% reads:
367.25 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.82 M/s
messages over time/1 adder, 1 taker:
0.06 M/s
messages over time/1 adder, 2 nb takers:
0.35 M/s
messages over time/1 adder, 2 takers:
0.05 M/s
messages over time/1 nb adder, 1 nb taker:
13.56 M/s
messages over time/1 nb adder, 1 taker:
0.06 M/s
messages over time/1 nb adder, 2 nb takers:
1.65 M/s
messages over time/1 nb adder, 2 takers:
0.07 M/s
messages over time/2 adders, 1 nb taker:
0.11 M/s
messages over time/2 adders, 1 taker:
0.07 M/s
messages over time/2 adders, 2 nb takers:
0.07 M/s
messages over time/2 adders, 2 takers:
0.07 M/s
messages over time/2 nb adders, 1 nb taker:
1.08 M/s
messages over time/2 nb adders, 1 taker:
0.09 M/s
messages over time/2 nb adders, 2 nb takers:
0.61 M/s
messages over time/2 nb adders, 2 takers:
0.09 M/s
time per message/1 adder, 1 nb taker:
2438.04 ns
time per message/1 adder, 1 taker:
36113.48 ns
time per message/1 adder, 2 nb takers:
8474.03 ns
time per message/1 adder, 2 takers:
59452.01 ns
time per message/1 nb adder, 1 nb taker:
147.47 ns
time per message/1 nb adder, 1 taker:
32469.66 ns
time per message/1 nb adder, 2 nb takers:
1818.70 ns
time per message/1 nb adder, 2 takers:
40894.08 ns
time per message/2 adders, 1 nb taker:
27148.00 ns
time per message/2 adders, 1 taker:
44755.58 ns
time per message/2 adders, 2 nb takers:
56175.04 ns
time per message/2 adders, 2 takers:
61023.41 ns
time per message/2 nb adders, 1 nb taker:
2786.62 ns
time per message/2 nb adders, 1 taker:
33510.01 ns
time per message/2 nb adders, 2 nb takers:
6539.48 ns
time per message/2 nb adders, 2 takers:
44779.12 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
9.63 M/s
messages over time/1 nb adder, 1 taker:
13.62 M/s
messages over time/1 nb adder, 2 nb takers:
4.26 M/s
messages over time/1 nb adder, 2 takers:
6.40 M/s
messages over time/2 nb adders, 1 nb taker:
5.38 M/s
messages over time/2 nb adders, 1 taker:
5.90 M/s
messages over time/2 nb adders, 2 nb takers:
4.77 M/s
messages over time/2 nb adders, 2 takers:
4.18 M/s
messages over time/one domain:
11.30 M/s
time per message/1 nb adder, 1 nb taker:
207.62 ns
time per message/1 nb adder, 1 taker:
146.89 ns
time per message/1 nb adder, 2 nb takers:
704.61 ns
time per message/1 nb adder, 2 takers:
468.97 ns
time per message/2 nb adders, 1 nb taker:
557.19 ns
time per message/2 nb adders, 1 taker:
508.64 ns
time per message/2 nb adders, 2 nb takers:
839.04 ns
time per message/2 nb adders, 2 takers:
957.89 ns
time per message/one domain:
88.53 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
9.65 M/s
messages over time/1 nb adder, 1 taker:
8.09 M/s
messages over time/1 nb adder, 2 nb takers:
3.29 M/s
messages over time/1 nb adder, 2 takers:
8.21 M/s
messages over time/2 nb adders, 1 nb taker:
4.02 M/s
messages over time/2 nb adders, 1 taker:
5.06 M/s
messages over time/2 nb adders, 2 nb takers:
4.60 M/s
messages over time/2 nb adders, 2 takers:
6.98 M/s
messages over time/one domain:
12.73 M/s
time per message/1 nb adder, 1 nb taker:
207.20 ns
time per message/1 nb adder, 1 taker:
247.14 ns
time per message/1 nb adder, 2 nb takers:
911.88 ns
time per message/1 nb adder, 2 takers:
365.35 ns
time per message/2 nb adders, 1 nb taker:
745.37 ns
time per message/2 nb adders, 1 taker:
593.34 ns
time per message/2 nb adders, 2 nb takers:
870.29 ns
time per message/2 nb adders, 2 takers:
572.90 ns
time per message/one domain:
78.57 ns
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `W4S4AP72'.
[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 43.956s. 17 tests run.
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 3692736690777057630
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 6.7s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 4073569757038845194
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 11.5s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 2672876256612650238
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 23.0s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 3821508377977895024
generated error fail pass / total time test name
[✓] 101 0 0 101 / 101 0.0s Queue sequential
[✓] 101 0 0 101 / 101 19.2s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 4596711697238762759
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 6.7s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 4462175580851974300
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 12.0s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 1269235261182396976
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 23.2s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 805819517568402498
generated error fail pass / total time test name
[✓] 97 0 0 97 / 97 0.0s Stack sequential
[✓] 97 0 0 97 / 97 15.9s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 1022637259631264082
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 4.2s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 3084950053582995786
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 7.3s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 2158741718211795642
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 12.0s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 2861156780801572148
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 25.9s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 3867333522505810843
generated error fail pass / total time test name
[✓] 73 0 0 73 / 73 0.0s Dllist sequential
[✓] 73 0 0 73 / 73 12.4s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 1291760110068124684
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 4.9s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 3192687780057934583
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 6.7s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 3879485160143717563
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 12.6s Accumulator parallel
========================================================================
=======
success (ran 2 tests)
random seed: 1745706467330359948
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 24.5s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 2462962873600333589
generated error fail pass / total time test name
[✓] 82 0 0 82 / 82 0.0s Accumulator sequential
[✓] 82 0 0 82 / 82 14.4s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 4449977199407625394
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 4.5s Accumulator parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 4383698079496854710
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 6.5s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 3635639130813296519
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 13.2s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 2529384245990487674
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 25.5s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 52523049402191252
generated error fail pass / total time test name
[✓] 73 0 0 73 / 73 0.0s Hashtbl sequential
[✓] 73 0 0 73 / 73 13.3s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 6753051413449539
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 4.7s Hashtbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 379133792903938584
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 7.6s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 237206987084268573
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 14.8s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 1461939317390704730
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 26.4s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 1565996912635663531
generated error fail pass / total time test name
[✓] 51 0 0 51 / 51 0.0s Hashtbl_with_order sequential
[✓] 51 0 0 51 / 51 10.2s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 1973236490235409847
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 4.4s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
2024-10-18 17:28.43 ---> saved as "03355a05ac15d265459c196a334e090729b31ad0cb1952003c3bc06dafdc904d"
Job succeeded
2024-10-18 17:28.44: Job succeeded