2024-09-19 18:24.14: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/port-to-picos (955575bff5e8bb4f0147d4e87efd93eac38c83ec) (linux-x86_64:ubuntu-24.04-4.14_opam-2.2)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5
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 955575bf
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5
# ubuntu-24.04-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && 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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.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.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-09-19 18:24.14: Using cache hint "ocaml-multicore/kcas-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5-ubuntu-24.04-4.14_opam-2.2-a2299a8fd566e8347fd869cda5285cd0"
2024-09-19 18:24.14: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5)
(comment ubuntu-24.04-4.14_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && 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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.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.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-09-19 18:24.14: Waiting for resource in pool OCluster
2024-09-19 18:24.15: Waiting for worker…
2024-09-19 18:24.15: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
HEAD is now at 955575b Beyond mystery
(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5)
2024-09-19 18:24.50 ---> saved as "25db9bf4775bd403f1810d7e62fea93d76081005643154e52538497d13ccf952"
/: (comment ubuntu-24.04-4.14_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-09-19 18:24.50 ---> saved as "33214496dbdbb88903cbaee5f2712b10a886b544d6abe81bd9497994e4e389f6"
/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-19 18:26.22 ---> saved as "f6df5e6faa9a0706f5f2e75a28f4999175be531940b2057adb40017c568ed79d"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-121-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-09-19 18:26.23 ---> saved as "3f86f62cc8d83d6aa2f54bbed4d7a633d752700b6dd91d97f5e69d72bcb01156"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-19 18:26.23 ---> saved as "478020e656440aff4cc3010df2a4783a62f6dca5426b3fe4d622dda8ecc65a47"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
e89899ac28..164c8ecdbe master -> origin/master
45f961713f Merge pull request #26585 from dra27/trunk-tweaks
<><> 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-19 18:27.41 ---> saved as "8311ca64aec5983a2b44559773be84e5a8cdd9955145d7c901b4b595329a26db"
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-19 18:27.41 ---> saved as "68d925dae2297c011f7cea020cb043556f25c8abdf655d8eba35121339510813"
/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-19 18:27.46 ---> saved as "d66aed7274c778a5317a33bc7a0ff760d7a4b4c65756c495dd8bbd990a197ead"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.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.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://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [446 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [672 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [498 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [17.8 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [11.9 kB]
- Get:10 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [446 kB]
- Get:11 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [360 kB]
- Get:12 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [13.7 kB]
- Get:13 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [472 kB]
- Fetched 3317 kB in 1s (3402 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas.dev] synchronised (no changes)
[kcas_data.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-09-19 18:28.14 ---> saved as "58d255fa06dd34d98e8d90b52514f337a0a49c182f737c2ee4ee43f182cf93ea"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 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.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.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.7.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 psq.0.2.1 (cached)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
-> retrieved dune.3.16.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-local-storage.0.2 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed backoff.0.1.0
-> installed multicore-magic.2.3.0
-> installed ocaml-version.3.6.8
-> installed psq.0.2.1
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed stdlib-shims.0.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 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 picos_io.0.5.0
-> installed qcheck-multicoretests-util.0.4
-> installed multicore-bench.0.1.5
-> installed picos_mux.0.5.0
-> installed alcotest.1.8.0
-> installed qcheck-stm.0.4
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-19 18:29.08 ---> saved as "76b5e2a6da341aea0398d591099dae919d12854dff373993b99022af4a46b7ff"
/src: (copy (src .) (dst /src))
2024-09-19 18:29.08 ---> saved as "cf608d0d1943dd4b5ee1b736befd42e710c44bce4245dc9ca26e6f08981dabeb"
/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 && ./queue_test.exe)
Testing `Queue'.
This run has ID `3W0IO64S'.
[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 && ./xt_test.exe)
Testing `Transactions'.
This run has ID `ZQWXYC18'.
[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 `X6TFTQ8X'.
[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 && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `A1ESXLAT'.
[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.007s. 4 tests run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `K1KFL69X'.
[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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `RXEWO8FX'.
[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 `TCQADYY1'.
[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/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
5.78 ns
ops over time/get:
172.92 M/s
time per op/incr:
23.06 ns
ops over time/incr:
43.37 M/s
time per op/push & pop:
26.32 ns
ops over time/push & pop:
38.00 M/s
time per op/cas int:
15.51 ns
ops over time/cas int:
64.47 M/s
time per op/xchg int:
19.17 ns
ops over time/xchg int:
52.16 M/s
time per op/swap:
26.81 ns
ops over time/swap:
37.30 M/s
Kcas Xt:
time per transaction/0 loc tx:
17.59 ns
transactions over time/0 loc tx:
56.84 M/s
time per transaction/1 loc tx:
53.08 ns
transactions over time/1 loc tx:
18.84 M/s
time per transaction/2 loc tx:
143.99 ns
transactions over time/2 loc tx:
6.94 M/s
time per transaction/4 loc tx:
255.43 ns
transactions over time/4 loc tx:
3.91 M/s
time per transaction/8 loc tx:
482.22 ns
transactions over time/8 loc tx:
2.07 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
17.67 ns
transactions over time/0 loc tx:
56.59 M/s
time per transaction/1 loc tx:
43.76 ns
transactions over time/1 loc tx:
22.85 M/s
time per transaction/2 loc tx:
81.04 ns
transactions over time/2 loc tx:
12.34 M/s
time per transaction/4 loc tx:
142.57 ns
transactions over time/4 loc tx:
7.01 M/s
time per transaction/8 loc tx:
236.41 ns
transactions over time/8 loc tx:
4.23 M/s
Kcas parallel CMP:
time per transaction/1 worker:
259.54 ns
transactions over time/1 worker:
3.85 M/s
time per transaction/2 workers:
392.04 ns
transactions over time/2 workers:
5.10 M/s
time per transaction/4 workers:
1111.09 ns
transactions over time/4 workers:
3.60 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
52.60 ns
operations over time/1 worker, 0% reads:
19.01 M/s
time per operation/2 workers, 0% reads:
95.67 ns
operations over time/2 workers, 0% reads:
20.91 M/s
time per operation/4 workers, 0% reads:
200.79 ns
operations over time/4 workers, 0% reads:
19.92 M/s
Kcas_data Dllist:
time per message/one domain:
1115.33 ns
messages over time/one domain:
0.90 M/s
time per message/1 nb adder, 1 nb taker:
1579.97 ns
messages over time/1 nb adder, 1 nb taker:
1.27 M/s
time per message/1 nb adder, 2 nb takers:
2876.19 ns
messages over time/1 nb adder, 2 nb takers:
1.04 M/s
time per message/2 nb adders, 1 nb taker:
2276.37 ns
messages over time/2 nb adders, 1 nb taker:
1.32 M/s
time per message/2 nb adders, 2 nb takers:
3350.42 ns
messages over time/2 nb adders, 2 nb takers:
1.19 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
256.51 ns
operations over time/1 worker, 90% reads:
3.90 M/s
time per operation/2 workers, 90% reads:
533.39 ns
operations over time/2 workers, 90% reads:
3.75 M/s
time per operation/4 workers, 90% reads:
1106.80 ns
operations over time/4 workers, 90% reads:
3.61 M/s
time per operation/1 worker, 50% reads:
505.00 ns
operations over time/1 worker, 50% reads:
1.98 M/s
time per operation/2 workers, 50% reads:
816.05 ns
operations over time/2 workers, 50% reads:
2.45 M/s
time per operation/4 workers, 50% reads:
1831.98 ns
operations over time/4 workers, 50% reads:
2.18 M/s
time per operation/1 worker, 10% reads:
499.07 ns
operations over time/1 worker, 10% reads:
2.00 M/s
time per operation/2 workers, 10% reads:
1515.83 ns
operations over time/2 workers, 10% reads:
1.32 M/s
time per operation/4 workers, 10% reads:
2854.99 ns
operations over time/4 workers, 10% reads:
1.40 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
27626.84 ns
messages over time/1 nb adder, 1 nb taker:
0.07 M/s
time per message/1 nb adder, 1 taker:
72492.74 ns
messages over time/1 nb adder, 1 taker:
0.03 M/s
time per message/1 nb adder, 2 nb takers:
94275.03 ns
messages over time/1 nb adder, 2 nb takers:
0.03 M/s
time per message/1 nb adder, 2 takers:
119969.28 ns
messages over time/1 nb adder, 2 takers:
0.03 M/s
time per message/1 adder, 1 nb taker:
104408.23 ns
messages over time/1 adder, 1 nb taker:
0.02 M/s
time per message/1 adder, 1 taker:
74147.33 ns
messages over time/1 adder, 1 taker:
0.03 M/s
time per message/1 adder, 2 nb takers:
74551.79 ns
messages over time/1 adder, 2 nb takers:
0.04 M/s
time per message/1 adder, 2 takers:
164661.98 ns
messages over time/1 adder, 2 takers:
0.02 M/s
time per message/2 nb adders, 1 nb taker:
65605.46 ns
messages over time/2 nb adders, 1 nb taker:
0.05 M/s
time per message/2 nb adders, 1 taker:
80182.00 ns
messages over time/2 nb adders, 1 taker:
0.04 M/s
time per message/2 nb adders, 2 nb takers:
170186.36 ns
messages over time/2 nb adders, 2 nb takers:
0.02 M/s
time per message/2 nb adders, 2 takers:
138677.43 ns
messages over time/2 nb adders, 2 takers:
0.03 M/s
time per message/2 adders, 1 nb taker:
79427.46 ns
messages over time/2 adders, 1 nb taker:
0.04 M/s
time per message/2 adders, 1 taker:
165104.21 ns
messages over time/2 adders, 1 taker:
0.02 M/s
time per message/2 adders, 2 nb takers:
129012.65 ns
messages over time/2 adders, 2 nb takers:
0.03 M/s
time per message/2 adders, 2 takers:
177057.46 ns
messages over time/2 adders, 2 takers:
0.02 M/s
Kcas_data Queue:
time per message/one domain:
185.57 ns
messages over time/one domain:
5.39 M/s
time per message/1 nb adder, 1 nb taker:
134.13 ns
messages over time/1 nb adder, 1 nb taker:
14.91 M/s
time per message/1 nb adder, 1 taker:
90.25 ns
messages over time/1 nb adder, 1 taker:
22.16 M/s
time per message/1 nb adder, 2 nb takers:
243.31 ns
messages over time/1 nb adder, 2 nb takers:
12.33 M/s
time per message/1 nb adder, 2 takers:
227.11 ns
messages over time/1 nb adder, 2 takers:
13.21 M/s
time per message/2 nb adders, 1 nb taker:
192.04 ns
messages over time/2 nb adders, 1 nb taker:
15.62 M/s
time per message/2 nb adders, 1 taker:
210.11 ns
messages over time/2 nb adders, 1 taker:
14.28 M/s
time per message/2 nb adders, 2 nb takers:
402.75 ns
messages over time/2 nb adders, 2 nb takers:
9.93 M/s
time per message/2 nb adders, 2 takers:
353.57 ns
messages over time/2 nb adders, 2 takers:
11.31 M/s
Kcas_data Stack:
time per message/one domain:
131.84 ns
messages over time/one domain:
7.58 M/s
time per message/1 nb adder, 1 nb taker:
124.13 ns
messages over time/1 nb adder, 1 nb taker:
16.11 M/s
time per message/1 nb adder, 1 taker:
121.06 ns
messages over time/1 nb adder, 1 taker:
16.52 M/s
time per message/1 nb adder, 2 nb takers:
194.70 ns
messages over time/1 nb adder, 2 nb takers:
15.41 M/s
time per message/1 nb adder, 2 takers:
1287.97 ns
messages over time/1 nb adder, 2 takers:
2.33 M/s
time per message/2 nb adders, 1 nb taker:
178.95 ns
messages over time/2 nb adders, 1 nb taker:
16.76 M/s
time per message/2 nb adders, 1 taker:
193.54 ns
messages over time/2 nb adders, 1 taker:
15.50 M/s
time per message/2 nb adders, 2 nb takers:
365.08 ns
messages over time/2 nb adders, 2 nb takers:
10.96 M/s
time per message/2 nb adders, 2 takers:
342.05 ns
messages over time/2 nb adders, 2 takers:
11.69 M/s
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `PM4LVQZS'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 10.311s. 2 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `MG3BP3LZ'.
[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 22.674s. 17 tests run.
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 517746699484814599
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 8.0s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1678635426117946150
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 6.9s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2511477465962827342
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 9.5s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2843163489542623173
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Queue sequential
[✓] 256 0 0 256 / 256 38.0s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 1579094152063544990
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 7.2s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 409809728002092003
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 6.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4147050142122483667
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 9.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2186311206474524470
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl sequential
[✓] 256 0 0 256 / 256 42.6s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 2908544180032919913
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 9.9s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 294443061157479757
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 8.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 362283096161085584
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 19.7s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 119941996772766001
generated error fail pass / total time test name
[✓] 129 0 0 129 / 129 0.0s Hashtbl_with_order sequential
[✓] 129 0 0 129 / 129 28.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 1461987413761991700
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 6.9s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3101540201421438667
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 5.9s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 560143128522011523
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 13.8s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3489892915415765543
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Accumulator sequential
[ ] 218 0 0 218 / 256 36.2s Accumulator conc
[✓] 256 0 0 256 / 256 41.0s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 4349153195672468995
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 7.2s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 4463366494510576870
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 4.4s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 52017877250828987
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 8.8s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1650664529712456576
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Stack sequential
[✓] 256 0 0 256 / 256 24.5s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3885572966804358508
generated error fail pass / total time test name
[✓] 161 0 0 161 / 161 0.0s Stack sequential
[✓] 161 0 0 161 / 161 25.3s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 459785388050257617
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 6.7s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 847054949684899152
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 5.2s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 4370219161894749002
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 18.2s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2224259942206115252
generated error fail pass / total time test name
[✓] 222 0 0 222 / 222 0.0s Dllist sequential
[✓] 222 0 0 222 / 222 41.3s Dllist concurrent
================================================================================
success (ran 2 tests)
2024-09-19 18:30.21 ---> saved as "f9c2089e4c72f9481508b882d649aae38b8753f4b26a2090bed95c7044c1f4f4"
Job succeeded
2024-09-19 18:30.22: Job succeeded