2024-09-16 20:01.43: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/pull/204/head (35fb956b2b5cd748b4b29ac9317f62639425ed7a) (linux-x86_64:ubuntu-24.04-5.2_opam-2.2)
Base: ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:74670019c5879e36c97cc785a16f960411bb1a8462e699e28b3b8ca3010d27a3
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" && cd "kcas" && git fetch origin "refs/pull/204/head" && git reset --hard 35fb956b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:74670019c5879e36c97cc785a16f960411bb1a8462e699e28b3b8ca3010d27a3
# 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 12d7650ba97ec7883fa001a001e0433e54eb4e53 || git fetch origin master) && git reset -q --hard 12d7650ba97ec7883fa001a001e0433e54eb4e53 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 kcas_data.opam kcas.opam ./
RUN opam pin add -yn kcas_data.dev './' && \
opam pin add -yn kcas.dev './'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.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.5 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 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.3 qcheck-stm.0.3 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-09-16 20:01.43: Using cache hint "ocaml-multicore/kcas-ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:74670019c5879e36c97cc785a16f960411bb1a8462e699e28b3b8ca3010d27a3-ubuntu-24.04-5.2_opam-2.2-3500782eca2ba0f23708b857e5c1b104"
2024-09-16 20:01.43: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:74670019c5879e36c97cc785a16f960411bb1a8462e699e28b3b8ca3010d27a3)
(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 12d7650ba97ec7883fa001a001e0433e54eb4e53 || git fetch origin master) && git reset -q --hard 12d7650ba97ec7883fa001a001e0433e54eb4e53 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src kcas_data.opam kcas.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.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.5 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 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.3 qcheck-stm.0.3 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-09-16 20:01.43: Waiting for resource in pool OCluster
2024-09-16 20:01.43: Waiting for worker…
2024-09-16 20:02.03: Got resource from pool OCluster
Building on x86-bm-c15.sw.ocaml.org
HEAD is now at a367416 Change to use Picos instead of DLT and DLA
HEAD is now at 35fb956 Change to use Picos instead of DLA and DLT
(from ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:74670019c5879e36c97cc785a16f960411bb1a8462e699e28b3b8ca3010d27a3)
2024-09-16 20:03.03 ---> saved as "2b055d1ccdfbd2c702ea85c7ebcf4f5900b427c71b72a83ee590e8f9e949e807"
/: (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-09-16 20:03.03 ---> saved as "cb64e1b64619ea29535b4b6aef6f95f394fea17f3c3a7a8885699b80c4554e54"
/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 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-16 20:04.52 ---> saved as "55ba32aae97571b45099799e3660c3bd4782e315acbc0cd33f13e3349ac4d815"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-121-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-09-16 20:04.52 ---> saved as "a0e5235aacbaad51d084f931790589a291f5a8e9094806b479e395226264ec7a"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-16 20:04.52 ---> saved as "51cd68a02c13c3d6cae02bdf34b6aee429bed769698521689f0e5f525bbc5edd"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 12d7650ba97ec7883fa001a001e0433e54eb4e53 || git fetch origin master) && git reset -q --hard 12d7650ba97ec7883fa001a001e0433e54eb4e53 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
e89899ac28..12d7650ba9 master -> origin/master
12d7650ba9 Merge pull request #26569 from polytypic/release-multicore-bench-0.1.5
<><> 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-09-16 20:05.57 ---> saved as "a7f00a9fb885deaccaabfcb957980942f0c7beee4d43b97d9789fb145441420e"
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-16 20:05.57 ---> saved as "a7af222eff1789c280c57700560789fdf6cd061739dcf41b3192241a2a1aa526"
/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-09-16 20:06.02 ---> saved as "df21226c783d1be69fae64af2794aad94f62cd17e53b6d2a2e4f0918eebf0425"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.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.5 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 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.3 qcheck-stm.0.3 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"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [13.7 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [360 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [444 kB]
- Get:7 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [402 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [641 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [491 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [402 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [17.8 kB]
- Get:13 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [11.9 kB]
- Fetched 3161 kB in 1s (2979 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-09-16 20:06.21 ---> saved as "c890969a7e3e356f9fad49d72e1daeefd9ec3ce3f80a6faaf02a1b5485814554"
/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.0
- 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.5
- install multicore-magic 2.3.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.8
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install 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.3
- install qcheck-stm 0.3
- 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.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved multicore-bench.0.1.5 (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.8 (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.3, qcheck-stm.0.3 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-local-storage.0.2 (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 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.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed ocaml-version.3.6.8
-> installed multicore-magic.2.3.0
-> installed camlp-streams.5.0.1
-> installed psq.0.2.1
-> 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 ocaml-syntax-shims.1.0.0
-> installed cppo.1.7.0
-> installed re.1.12.0
-> installed picos_std.0.5.0
-> installed yojson.2.2.2
-> installed qcheck-core.0.22
-> installed qcheck-multicoretests-util.0.3
-> installed picos_io.0.5.0
-> installed multicore-bench.0.1.5
-> installed alcotest.1.8.0
-> installed qcheck-stm.0.3
-> installed picos_mux.0.5.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-16 20:07.11 ---> saved as "30bbc58faf212f9d7ae030d83aac631ff7b492a6e37bb4ae79208dafb9f6e420"
/src: (copy (src .) (dst /src))
2024-09-16 20:07.11 ---> saved as "fe850e425ef43fbe34755ff96b50d2c038b5ee3c58fee6f203f7ef86efbba606"
/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 && ./stack_test.exe)
Testing `Stack'.
This run has ID `ACKW0UWO'.
[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 `FEI8W6NK'.
[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.009s. 2 tests run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `05AXPLB1'.
[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.031s. 4 tests run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `CU82H05K'.
[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 `2PK2OTV6'.
[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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `QPTVTTSM'.
[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 `AAZT6MTY'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `30SJNTZW'.
[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/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
4.17 ns
ops over time/get:
239.81 M/s
time per op/incr:
23.34 ns
ops over time/incr:
42.85 M/s
time per op/push & pop:
31.83 ns
ops over time/push & pop:
31.41 M/s
time per op/cas int:
19.59 ns
ops over time/cas int:
51.05 M/s
time per op/xchg int:
27.51 ns
ops over time/xchg int:
36.35 M/s
time per op/swap:
33.88 ns
ops over time/swap:
29.51 M/s
Kcas Xt:
time per transaction/0 loc tx:
13.13 ns
transactions over time/0 loc tx:
76.16 M/s
time per transaction/1 loc tx:
47.20 ns
transactions over time/1 loc tx:
21.19 M/s
time per transaction/2 loc tx:
102.51 ns
transactions over time/2 loc tx:
9.76 M/s
time per transaction/4 loc tx:
196.21 ns
transactions over time/4 loc tx:
5.10 M/s
time per transaction/8 loc tx:
634.93 ns
transactions over time/8 loc tx:
1.57 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
18.31 ns
transactions over time/0 loc tx:
54.63 M/s
time per transaction/1 loc tx:
28.95 ns
transactions over time/1 loc tx:
34.54 M/s
time per transaction/2 loc tx:
102.92 ns
transactions over time/2 loc tx:
9.72 M/s
time per transaction/4 loc tx:
177.70 ns
transactions over time/4 loc tx:
5.63 M/s
time per transaction/8 loc tx:
192.91 ns
transactions over time/8 loc tx:
5.18 M/s
Kcas parallel CMP:
time per transaction/1 worker:
264.58 ns
transactions over time/1 worker:
3.78 M/s
time per transaction/2 workers:
212.38 ns
transactions over time/2 workers:
9.42 M/s
time per transaction/4 workers:
202.51 ns
transactions over time/4 workers:
19.75 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
75.83 ns
operations over time/1 worker, 0% reads:
13.19 M/s
time per operation/2 workers, 0% reads:
58.65 ns
operations over time/2 workers, 0% reads:
34.10 M/s
time per operation/4 workers, 0% reads:
68.55 ns
operations over time/4 workers, 0% reads:
58.35 M/s
Kcas_data Dllist:
time per message/one domain:
647.33 ns
messages over time/one domain:
1.54 M/s
time per message/1 nb adder, 1 nb taker:
780.57 ns
messages over time/1 nb adder, 1 nb taker:
2.56 M/s
time per message/1 nb adder, 2 nb takers:
1906.24 ns
messages over time/1 nb adder, 2 nb takers:
1.57 M/s
time per message/2 nb adders, 1 nb taker:
1717.47 ns
messages over time/2 nb adders, 1 nb taker:
1.75 M/s
time per message/2 nb adders, 2 nb takers:
1518.27 ns
messages over time/2 nb adders, 2 nb takers:
2.63 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
141.76 ns
operations over time/1 worker, 90% reads:
7.05 M/s
time per operation/2 workers, 90% reads:
161.63 ns
operations over time/2 workers, 90% reads:
12.37 M/s
time per operation/4 workers, 90% reads:
177.55 ns
operations over time/4 workers, 90% reads:
22.53 M/s
time per operation/1 worker, 50% reads:
266.84 ns
operations over time/1 worker, 50% reads:
3.75 M/s
time per operation/2 workers, 50% reads:
327.13 ns
operations over time/2 workers, 50% reads:
6.11 M/s
time per operation/4 workers, 50% reads:
361.08 ns
operations over time/4 workers, 50% reads:
11.08 M/s
time per operation/1 worker, 10% reads:
347.08 ns
operations over time/1 worker, 10% reads:
2.88 M/s
time per operation/2 workers, 10% reads:
355.28 ns
operations over time/2 workers, 10% reads:
5.63 M/s
time per operation/4 workers, 10% reads:
446.38 ns
operations over time/4 workers, 10% reads:
8.96 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
546.56 ns
messages over time/1 nb adder, 1 nb taker:
3.66 M/s
time per message/1 nb adder, 1 taker:
6524.22 ns
messages over time/1 nb adder, 1 taker:
0.31 M/s
time per message/1 nb adder, 2 nb takers:
2118.26 ns
messages over time/1 nb adder, 2 nb takers:
1.42 M/s
time per message/1 nb adder, 2 takers:
5807.91 ns
messages over time/1 nb adder, 2 takers:
0.52 M/s
time per message/1 adder, 1 nb taker:
2488.95 ns
messages over time/1 adder, 1 nb taker:
0.80 M/s
time per message/1 adder, 1 taker:
36503.27 ns
messages over time/1 adder, 1 taker:
0.05 M/s
time per message/1 adder, 2 nb takers:
5161.89 ns
messages over time/1 adder, 2 nb takers:
0.58 M/s
time per message/1 adder, 2 takers:
33980.94 ns
messages over time/1 adder, 2 takers:
0.09 M/s
time per message/2 nb adders, 1 nb taker:
808.54 ns
messages over time/2 nb adders, 1 nb taker:
3.71 M/s
time per message/2 nb adders, 1 taker:
5236.97 ns
messages over time/2 nb adders, 1 taker:
0.57 M/s
time per message/2 nb adders, 2 nb takers:
2813.22 ns
messages over time/2 nb adders, 2 nb takers:
1.42 M/s
time per message/2 nb adders, 2 takers:
2289.67 ns
messages over time/2 nb adders, 2 takers:
1.75 M/s
time per message/2 adders, 1 nb taker:
3779.79 ns
messages over time/2 adders, 1 nb taker:
0.79 M/s
time per message/2 adders, 1 taker:
43770.84 ns
messages over time/2 adders, 1 taker:
0.07 M/s
time per message/2 adders, 2 nb takers:
5073.45 ns
messages over time/2 adders, 2 nb takers:
0.79 M/s
time per message/2 adders, 2 takers:
26353.22 ns
messages over time/2 adders, 2 takers:
0.15 M/s
Kcas_data Queue:
time per message/one domain:
153.87 ns
messages over time/one domain:
6.50 M/s
time per message/1 nb adder, 1 nb taker:
246.00 ns
messages over time/1 nb adder, 1 nb taker:
8.13 M/s
time per message/1 nb adder, 1 taker:
278.91 ns
messages over time/1 nb adder, 1 taker:
7.17 M/s
time per message/1 nb adder, 2 nb takers:
366.73 ns
messages over time/1 nb adder, 2 nb takers:
8.18 M/s
time per message/1 nb adder, 2 takers:
401.15 ns
messages over time/1 nb adder, 2 takers:
7.48 M/s
time per message/2 nb adders, 1 nb taker:
445.69 ns
messages over time/2 nb adders, 1 nb taker:
6.73 M/s
time per message/2 nb adders, 1 taker:
371.05 ns
messages over time/2 nb adders, 1 taker:
8.09 M/s
time per message/2 nb adders, 2 nb takers:
420.67 ns
messages over time/2 nb adders, 2 nb takers:
9.51 M/s
time per message/2 nb adders, 2 takers:
492.44 ns
messages over time/2 nb adders, 2 takers:
8.12 M/s
Kcas_data Stack:
time per message/one domain:
121.15 ns
messages over time/one domain:
8.25 M/s
time per message/1 nb adder, 1 nb taker:
161.57 ns
messages over time/1 nb adder, 1 nb taker:
12.38 M/s
time per message/1 nb adder, 1 taker:
170.42 ns
messages over time/1 nb adder, 1 taker:
11.74 M/s
time per message/1 nb adder, 2 nb takers:
332.45 ns
messages over time/1 nb adder, 2 nb takers:
9.02 M/s
time per message/1 nb adder, 2 takers:
342.99 ns
messages over time/1 nb adder, 2 takers:
8.75 M/s
time per message/2 nb adders, 1 nb taker:
299.49 ns
messages over time/2 nb adders, 1 nb taker:
10.02 M/s
time per message/2 nb adders, 1 taker:
249.21 ns
messages over time/2 nb adders, 1 taker:
12.04 M/s
time per message/2 nb adders, 2 nb takers:
461.53 ns
messages over time/2 nb adders, 2 nb takers:
8.67 M/s
time per message/2 nb adders, 2 takers:
476.64 ns
messages over time/2 nb adders, 2 takers:
8.39 M/s
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `CSN42U45'.
[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 31.966s. 17 tests run.
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 1712232933226343395
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 2.0s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 1087061613589582341
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: 917345835453743057
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.1s Accumulator sequential
[✓] 128 0 0 128 / 128 3.9s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 3323429778365851109
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Accumulator sequential
[✓] 256 0 0 256 / 256 9.7s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 2437453273833170834
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Accumulator sequential
[✓] 512 0 0 512 / 512 22.4s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 3136811112107202015
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 1.5s Accumulator parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 148368217728437317
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)
random seed: 1225900400149128539
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 2.7s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 3176157016256724928
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 5.4s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 4144909418104660765
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Stack sequential
[✓] 256 0 0 256 / 256 10.3s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 681402358697768552
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Stack sequential
[✓] 512 0 0 512 / 512 21.9s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 34936876990247674
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.3s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 455126281775049500
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 1.2s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 3815486735100970063
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 1.2s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 3990092543542008488
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 6.4s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 4345905198139078357
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Dllist sequential
[✓] 256 0 0 256 / 256 10.1s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 376337620967668055
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.2s Dllist sequential
[✓] 512 0 0 512 / 512 23.9s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 3899772168196110576
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 && ./queue_test_stm.exe)
random seed: 946284038469967226
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 1.7s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 2431668670459255845
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 2.9s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 1933693848924212600
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.1s Queue sequential
[✓] 128 0 0 128 / 128 5.8s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 4204424588462301715
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Queue sequential
[✓] 256 0 0 256 / 256 10.0s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 2554249732853372759
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Queue sequential
[✓] 512 0 0 512 / 512 24.9s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 4157713387001560974
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 0.5s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 2290277270012180438
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 1.9s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 2843379005456355385
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 4.1s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 3145626958948856479
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.1s Hashtbl sequential
[✓] 128 0 0 128 / 128 6.5s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 2395229603918380023
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Hashtbl sequential
[✓] 256 0 0 256 / 256 10.0s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 3546862306350376086
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.2s Hashtbl sequential
[ ] 270
[✓] 512 0 0 512 / 512 23.0s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 2570507772162840452
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 1.1s Hashtbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 3983795883112154652
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.7s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 3274059245727150804
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.0s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 2965044711693055951
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.1s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 7.1s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 938111636960016004
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Hashtbl_with_order sequential
[✓] 256 0 0 256 / 256 16.1s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 709643844667544162
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.2s Hashtbl_with_order sequential
[✓] 512 0 0 512 / 512 25.1s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 731727695988130433
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 0.8s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
2024-09-16 20:08.07 ---> saved as "544006eef64d44a5d582545d6c45dd92576e3df2d717b18f12f3cf8dad19b155"
Job succeeded
2024-09-16 20:08.07: Job succeeded