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:ubuntu-24.04-5.2_opam-2.2)
Base: ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:00a95d2fe40951c97439f00b71e114dc26d6721b1faf1e26e9da8aca07f041db
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:ubuntu-24.04-ocaml-5.2@sha256:00a95d2fe40951c97439f00b71e114dc26d6721b1faf1e26e9da8aca07f041db
# ubuntu-24.04-5.2_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 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.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.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:ubuntu-24.04-ocaml-5.2@sha256:00a95d2fe40951c97439f00b71e114dc26d6721b1faf1e26e9da8aca07f041db-ubuntu-24.04-5.2_opam-2.2-2086c1161c358ba66a3a4f7dec675b25"
2024-10-18 17:21.12: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:00a95d2fe40951c97439f00b71e114dc26d6721b1faf1e26e9da8aca07f041db)
(comment ubuntu-24.04-5.2_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 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.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.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.31: Waiting for worker…
2024-10-18 17:23.31: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at c408bc8 Change to use Picos instead of DLA and DLT
(from ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:00a95d2fe40951c97439f00b71e114dc26d6721b1faf1e26e9da8aca07f041db)
2024-10-18 17:23.32 ---> using "c577517051bc80cb401536b4b355d6b30648471dc940a033f17fb5f9ea79c0cb" from cache
/: (comment ubuntu-24.04-5.2_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-10-18 17:23.32 ---> using "1f42aa99593fa3a98101a950e717557fb7cd48e7bf1874084a7e300d7b4d86b7" 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:23.32 ---> using "c4bd3ad1e8002eec5b7cbc826b33d2ca71f0956b906bb70d116de5780196cabf" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-10-18 17:23.32 ---> using "8ec0cac14ebb81d34c1b0f13b12231e71f8bfb6cd3ccff55df2e39820d469586" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-18 17:23.32 ---> using "02080343168191dcb832791bf6877f12fbab241d4fc52100103c696a6ddfd394" 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:23.32 ---> using "2f5e4a22a6d0295c681b9512248c0302c03f833fc822a64122bdbc9f3713002c" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-10-18 17:23.32 ---> saved as "fa1134850c69aecbb2fe3e4c6a51066ef55d746ced4d80bfc91318ca932b0e69"
/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:23.36 ---> saved as "0d77083442324df0f9756baa753d7ad93bf652bf616e39bc6d9713c36911ebfe"
/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.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.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://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [915 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [759 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [491 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [18.2 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [11.8 kB]
- Get:10 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [541 kB]
- Get:11 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [715 kB]
- Get:12 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [491 kB]
- Fetched 4320 kB in 1s (4190 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas.dev] synchronised (no changes)
[kcas_data.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-10-18 17:23.50 ---> saved as "18555fbd17e5cdca87e3089a2884a144ca44c9cfc12b4a816ea2329e19b42f79"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 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 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_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 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 stdlib-shims.0.3.0
-> installed ocaml-version.3.6.9
-> installed result.1.5
-> installed psq.0.2.1
-> installed thread-table.1.0.0
-> installed camlp-streams.5.0.1
-> 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 picos.0.5.0
-> installed cppo.1.7.0
-> installed ocaml-syntax-shims.1.0.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 picos_io.0.5.0
-> installed multicore-bench.0.1.7
-> installed alcotest.1.8.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:24.27 ---> saved as "d861f0ca60dd57a1e28784c9738dff1a6f2846bcd62442c99096f163c90304ed"
/src: (copy (src .) (dst /src))
2024-10-18 17:24.28 ---> saved as "80dbc7f35389cee5ab1fc52cec2d9ba423b5fcc4eca99f7b56caeb87be177b29"
/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 && ./loc_modes.exe)
Loc modes OK!
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `63GZI01T'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Transactions'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `EH11JS6L'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.005s. 1 test run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `8LT2FXVS'.
[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 `YG8XQQEV'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `P6TXFYYP'.
[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 `N84YBNUY'.
[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_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `WZYTBXZO'.
[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.015s. 4 tests run.
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `BI1WQB90'.
[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.031s. 2 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
97.36 M/s
ops over time/get:
355.15 M/s
ops over time/incr:
84.59 M/s
ops over time/push & pop:
76.70 M/s
ops over time/swap:
70.92 M/s
ops over time/xchg int:
91.42 M/s
time per op/cas int:
10.27 ns
time per op/get:
2.82 ns
time per op/incr:
11.82 ns
time per op/push & pop:
13.04 ns
time per op/swap:
14.10 ns
time per op/xchg int:
10.94 ns
Kcas Xt:
time per transaction/0 loc tx:
8.76 ns
time per transaction/1 loc tx:
35.69 ns
time per transaction/2 loc tx:
84.18 ns
time per transaction/4 loc tx:
151.43 ns
time per transaction/8 loc tx:
334.59 ns
transactions over time/0 loc tx:
114.20 M/s
transactions over time/1 loc tx:
28.02 M/s
transactions over time/2 loc tx:
11.88 M/s
transactions over time/4 loc tx:
6.60 M/s
transactions over time/8 loc tx:
2.99 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
9.82 ns
time per transaction/1 loc tx:
34.74 ns
time per transaction/2 loc tx:
49.28 ns
time per transaction/4 loc tx:
85.97 ns
time per transaction/8 loc tx:
168.05 ns
transactions over time/0 loc tx:
101.80 M/s
transactions over time/1 loc tx:
28.78 M/s
transactions over time/2 loc tx:
20.29 M/s
transactions over time/4 loc tx:
11.63 M/s
transactions over time/8 loc tx:
5.95 M/s
Kcas parallel CMP:
time per transaction/1 worker:
95.53 ns
time per transaction/2 workers:
98.31 ns
time per transaction/4 workers:
97.82 ns
transactions over time/1 worker:
10.47 M/s
transactions over time/2 workers:
20.34 M/s
transactions over time/4 workers:
40.89 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
48.35 M/s
operations over time/2 workers, 0% reads:
73.28 M/s
operations over time/4 workers, 0% reads:
164.82 M/s
time per operation/1 worker, 0% reads:
20.68 ns
time per operation/2 workers, 0% reads:
27.29 ns
time per operation/4 workers, 0% reads:
24.27 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
1.27 M/s
messages over time/1 nb adder, 2 nb takers:
0.85 M/s
messages over time/2 nb adders, 1 nb taker:
1.80 M/s
messages over time/2 nb adders, 2 nb takers:
1.61 M/s
messages over time/one domain:
2.37 M/s
time per message/1 nb adder, 1 nb taker:
1570.63 ns
time per message/1 nb adder, 2 nb takers:
3534.49 ns
time per message/2 nb adders, 1 nb taker:
1664.46 ns
time per message/2 nb adders, 2 nb takers:
2491.56 ns
time per message/one domain:
422.63 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
3.63 M/s
operations over time/1 worker, 50% reads:
5.23 M/s
operations over time/1 worker, 90% reads:
11.03 M/s
operations over time/2 workers, 10% reads:
10.48 M/s
operations over time/2 workers, 50% reads:
6.61 M/s
operations over time/2 workers, 90% reads:
13.16 M/s
operations over time/4 workers, 10% reads:
9.22 M/s
operations over time/4 workers, 50% reads:
10.60 M/s
operations over time/4 workers, 90% reads:
25.89 M/s
time per operation/1 worker, 10% reads:
275.49 ns
time per operation/1 worker, 50% reads:
191.10 ns
time per operation/1 worker, 90% reads:
90.70 ns
time per operation/2 workers, 10% reads:
190.93 ns
time per operation/2 workers, 50% reads:
302.79 ns
time per operation/2 workers, 90% reads:
151.99 ns
time per operation/4 workers, 10% reads:
433.68 ns
time per operation/4 workers, 50% reads:
377.22 ns
time per operation/4 workers, 90% reads:
154.51 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.51 M/s
messages over time/1 adder, 1 taker:
0.08 M/s
messages over time/1 adder, 2 nb takers:
0.15 M/s
messages over time/1 adder, 2 takers:
0.04 M/s
messages over time/1 nb adder, 1 nb taker:
0.93 M/s
messages over time/1 nb adder, 1 taker:
0.22 M/s
messages over time/1 nb adder, 2 nb takers:
0.64 M/s
messages over time/1 nb adder, 2 takers:
0.90 M/s
messages over time/2 adders, 1 nb taker:
0.25 M/s
messages over time/2 adders, 1 taker:
0.08 M/s
messages over time/2 adders, 2 nb takers:
0.37 M/s
messages over time/2 adders, 2 takers:
0.08 M/s
messages over time/2 nb adders, 1 nb taker:
0.95 M/s
messages over time/2 nb adders, 1 taker:
0.23 M/s
messages over time/2 nb adders, 2 nb takers:
1.67 M/s
messages over time/2 nb adders, 2 takers:
0.52 M/s
time per message/1 adder, 1 nb taker:
3918.13 ns
time per message/1 adder, 1 taker:
26228.76 ns
time per message/1 adder, 2 nb takers:
20249.31 ns
time per message/1 adder, 2 takers:
66803.95 ns
time per message/1 nb adder, 1 nb taker:
2155.28 ns
time per message/1 nb adder, 1 taker:
9240.23 ns
time per message/1 nb adder, 2 nb takers:
4653.39 ns
time per message/1 nb adder, 2 takers:
3338.36 ns
time per message/2 adders, 1 nb taker:
12036.54 ns
time per message/2 adders, 1 taker:
37172.11 ns
time per message/2 adders, 2 nb takers:
10833.30 ns
time per message/2 adders, 2 takers:
50771.41 ns
time per message/2 nb adders, 1 nb taker:
3147.90 ns
time per message/2 nb adders, 1 taker:
13119.82 ns
time per message/2 nb adders, 2 nb takers:
2396.40 ns
time per message/2 nb adders, 2 takers:
7744.64 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
7.91 M/s
messages over time/1 nb adder, 1 taker:
5.39 M/s
messages over time/1 nb adder, 2 nb takers:
7.04 M/s
messages over time/1 nb adder, 2 takers:
5.38 M/s
messages over time/2 nb adders, 1 nb taker:
8.23 M/s
messages over time/2 nb adders, 1 taker:
10.80 M/s
messages over time/2 nb adders, 2 nb takers:
6.52 M/s
messages over time/2 nb adders, 2 takers:
5.93 M/s
messages over time/one domain:
14.39 M/s
time per message/1 nb adder, 1 nb taker:
252.92 ns
time per message/1 nb adder, 1 taker:
371.08 ns
time per message/1 nb adder, 2 nb takers:
426.04 ns
time per message/1 nb adder, 2 takers:
557.28 ns
time per message/2 nb adders, 1 nb taker:
364.44 ns
time per message/2 nb adders, 1 taker:
277.86 ns
time per message/2 nb adders, 2 nb takers:
613.91 ns
time per message/2 nb adders, 2 takers:
674.66 ns
time per message/one domain:
69.50 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
6.60 M/s
messages over time/1 nb adder, 1 taker:
6.45 M/s
messages over time/1 nb adder, 2 nb takers:
5.38 M/s
messages over time/1 nb adder, 2 takers:
7.10 M/s
messages over time/2 nb adders, 1 nb taker:
6.51 M/s
messages over time/2 nb adders, 1 taker:
6.03 M/s
messages over time/2 nb adders, 2 nb takers:
6.33 M/s
messages over time/2 nb adders, 2 takers:
5.79 M/s
messages over time/one domain:
21.19 M/s
time per message/1 nb adder, 1 nb taker:
302.88 ns
time per message/1 nb adder, 1 taker:
310.18 ns
time per message/1 nb adder, 2 nb takers:
557.78 ns
time per message/1 nb adder, 2 takers:
422.32 ns
time per message/2 nb adders, 1 nb taker:
460.75 ns
time per message/2 nb adders, 1 taker:
497.17 ns
time per message/2 nb adders, 2 nb takers:
632.32 ns
time per message/2 nb adders, 2 takers:
690.82 ns
time per message/one domain:
47.20 ns
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `L43TRX0B'.
[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 38.033s. 17 tests run.
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 1734993843199691181
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 1.1s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 973534825383469854
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 1.7s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 980548678344931526
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 4.7s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 3811351479868597612
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Accumulator sequential
[✓] 256 0 0 256 / 256 11.7s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 3557100038040815885
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Accumulator sequential
[✓] 512 0 0 512 / 512 27.7s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 2420305415706402798
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 1.9s Accumulator parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 1328663317447169605
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 0.8s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 4412511818401528056
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 2.0s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 946700787802327038
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 4.0s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 3668522612023023420
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Stack sequential
[✓] 256 0 0 256 / 256 11.9s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 1634745547399804900
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Stack sequential
[✓] 512 0 0 512 / 512 29.1s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 2692017786554939427
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.5s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 3705465456814793089
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 0.7s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 3987948307061350612
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 2.2s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 3268118036335707916
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 4.4s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 1631555819148642117
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Queue sequential
[✓] 256 0 0 256 / 256 11.0s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 1448022818117554495
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Queue sequential
[ ] 476 0 0 476 / 512 27.1s Queue pa
[✓] 512 0 0 512 / 512 29.4s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 4180168853009426625
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 1.8s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 4228478892543519828
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 1.0s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 3709136051605462798
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 2.0s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 3306693786937521258
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 4.1s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 2566002639065342080
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl sequential
[✓] 256 0 0 256 / 256 12.5s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 494918829503984292
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Hashtbl sequential
[✓] 512 0 0 512 / 512 28.9s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 2444043110497640882
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 1.7s Hashtbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 1346469578658640536
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 1.1s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 3962165873602524307
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 2.1s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 3290651153228796783
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 4.9s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 2577920379986448451
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Dllist sequential
[✓] 256 0 0 256 / 256 11.4s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 3264623939488417962
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Dllist sequential
[✓] 512 0 0 512 / 512 30.5s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 3220164955996761477
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 1.6s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 1777878821164141298
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 1.3s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 3396457394315408920
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 3.6s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 3086229351381140978
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 5.5s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 2732225904214287419
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl_with_order sequential
[✓] 256 0 0 256 / 256 15.2s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 3956198941268204807
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Hashtbl_with_order sequential
[✓] 512 0 0 512 / 512 31.1s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 2445420727930741631
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 1.2s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
2024-10-18 17:25.27 ---> saved as "209cc9781a93b78aa5bb38107b70ec6c7aad822fc068869da7a87317849ab35a"
Job succeeded
2024-10-18 17:25.28: Job succeeded