2024-09-18 15:15.05: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/two-stack-queue (e4fe282660e216ba9ede91c8363b59b3c6581754) (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 "two-stack-queue" && cd "kcas" && git reset --hard e4fe2826
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-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.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 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-09-18 15:15.05: Using cache hint "ocaml-multicore/kcas-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5-ubuntu-24.04-4.14_opam-2.2-6f18f9c4802d6c411f3695732ffd3e0c"
2024-09-18 15:15.05: 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-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.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 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-09-18 15:15.05: Waiting for resource in pool OCluster
2024-09-18 16:37.48: Waiting for worker…
2024-09-18 16:42.09: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at e4fe282 WIP: Two stack queue
(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5' locally
docker.io/ocaml/opam@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5: Pulling from ocaml/opam
dc1faef22be7: Pulling fs layer
dc1faef22be7: Verifying Checksum
dc1faef22be7: Download complete
dc1faef22be7: Pull complete
Digest: sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5
Status: Downloaded newer image for ocaml/opam@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5
2024-09-18 16:42.09 ---> using "25db9bf4775bd403f1810d7e62fea93d76081005643154e52538497d13ccf952" from cache
/: (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-18 16:42.09 ---> using "33214496dbdbb88903cbaee5f2712b10a886b544d6abe81bd9497994e4e389f6" 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-09-18 16:42.09 ---> using "f6df5e6faa9a0706f5f2e75a28f4999175be531940b2057adb40017c568ed79d" from cache
/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-18 16:42.09 ---> using "3f86f62cc8d83d6aa2f54bbed4d7a633d752700b6dd91d97f5e69d72bcb01156" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-18 16:42.09 ---> using "478020e656440aff4cc3010df2a4783a62f6dca5426b3fe4d622dda8ecc65a47" from cache
/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..45f961713f 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-18 16:42.09 ---> using "8311ca64aec5983a2b44559773be84e5a8cdd9955145d7c901b4b595329a26db" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-18 16:42.09 ---> saved as "214a229180c5ec98741f94f68c469b37f8d3b39771040e0bb6f336bf154f4b95"
/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-18 16:42.13 ---> saved as "9c47e67830972cb006425c7606d2dfb1a5de085712225c944f1d5bbf87152bf1"
/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-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.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 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- 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://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [469 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [446 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [360 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [442 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [669 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [17.8 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [491 kB]
- Get:13 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [11.9 kB]
- Fetched 3299 kB in 1s (3239 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-18 16:42.27 ---> saved as "7c283e6f360dbe2bc050610bd837ca1f83a696c9716f106cc1b45ec55a82337e"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 33 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install backoff 0.1.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-local-timeout 1.0.1
- install domain_shims 0.1.0
- install dune 3.16.0
- install fmt 0.9.0
- install logs 0.7.0
- install mdx 2.4.1
- install mtime 2.1.0
- install multicore-bench 0.1.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 psq 0.2.1
- install qcheck-core 0.22
- install qcheck-multicoretests-util 0.4
- install qcheck-stm 0.4
- install re 1.12.0
- install result 1.5
- install seq base
- install stdlib-shims 0.3.0
- install thread-table 1.0.0
- install topkg 1.0.7
- install uutf 1.0.3
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.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-local-timeout.1.0.1 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved multicore-bench.0.1.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 psq.0.2.1 (cached)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved dune.3.16.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed camlp-streams.5.0.1
-> installed ocaml-version.3.6.8
-> installed backoff.0.1.0
-> installed multicore-magic.2.3.0
-> installed psq.0.2.1
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed domain-local-timeout.1.0.1
-> installed domain-local-await.1.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed cppo.1.7.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.4
-> installed multicore-bench.0.1.5
-> 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-18 16:43.02 ---> saved as "003f79ea5c285a4511eef9379e2676848904181b62e1d4b5aa3c726057a765be"
/src: (copy (src .) (dst /src))
2024-09-18 16:43.02 ---> saved as "f31a946310f6e1db21aa1ead61fe4528413a892572074d1332e057647293effa"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/kcas && ./loc_modes.exe)
Loc modes OK!
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas && ./threads.exe)
Testing `Threads'.
This run has ID `HG95CVNY'.
[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 && ./queue_test.exe)
Testing `Queue'.
This run has ID `8OS7BCWE'.
[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 && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `EZPDYNMH'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `NQWTL840'.
[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 && ./xt_test.exe)
Testing `Transactions'.
This run has ID `LFNAUGT3'.
[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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `2JZWEKIA'.
[OK] basics 0
[OK] add 0
[OK] move 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Dllist'.
Test Successful in 0.000s. 3 tests run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `H2GZ5Q8E'.
[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.004s. 4 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `QZGDWM3I'.
[OK] non linearizable xt 0
[OK] set 0
[OK] no skew xt 0
[OK] get seq xt 0
[OK] stress xt 0
[OK] is_in_log 0
[OK] updates 0
[OK] post commit 0
[OK] blocking 0
[OK] no unnecessary wakeups 0
[OK] pediodic validation 0
[OK] explicit validation 0
[OK] rollback 0
[OK] call 0
[OK] mode 0
[OK] xt 0
[OK] timeout (non-deterministic) 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Kcas'.
Test Successful in 0.765s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
3.13 ns
ops over time/get:
319.35 M/s
time per op/incr:
13.51 ns
ops over time/incr:
74.03 M/s
time per op/push & pop:
13.46 ns
ops over time/push & pop:
74.30 M/s
time per op/cas int:
10.29 ns
ops over time/cas int:
97.19 M/s
time per op/xchg int:
17.44 ns
ops over time/xchg int:
57.34 M/s
time per op/swap:
16.70 ns
ops over time/swap:
59.87 M/s
Kcas Xt:
time per transaction/0 loc tx:
14.55 ns
transactions over time/0 loc tx:
68.74 M/s
time per transaction/1 loc tx:
34.22 ns
transactions over time/1 loc tx:
29.23 M/s
time per transaction/2 loc tx:
76.26 ns
transactions over time/2 loc tx:
13.11 M/s
time per transaction/4 loc tx:
130.74 ns
transactions over time/4 loc tx:
7.65 M/s
time per transaction/8 loc tx:
271.29 ns
transactions over time/8 loc tx:
3.69 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
9.13 ns
transactions over time/0 loc tx:
109.50 M/s
time per transaction/1 loc tx:
20.59 ns
transactions over time/1 loc tx:
48.57 M/s
time per transaction/2 loc tx:
44.68 ns
transactions over time/2 loc tx:
22.38 M/s
time per transaction/4 loc tx:
68.95 ns
transactions over time/4 loc tx:
14.50 M/s
time per transaction/8 loc tx:
122.63 ns
transactions over time/8 loc tx:
8.15 M/s
Kcas parallel CMP:
time per transaction/1 worker:
88.17 ns
transactions over time/1 worker:
11.34 M/s
time per transaction/2 workers:
184.22 ns
transactions over time/2 workers:
10.86 M/s
time per transaction/4 workers:
384.95 ns
transactions over time/4 workers:
10.42 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
15.67 ns
operations over time/1 worker, 0% reads:
63.83 M/s
time per operation/2 workers, 0% reads:
35.47 ns
operations over time/2 workers, 0% reads:
56.38 M/s
time per operation/4 workers, 0% reads:
75.17 ns
operations over time/4 workers, 0% reads:
53.21 M/s
Kcas_data Dllist:
time per message/one domain:
335.79 ns
messages over time/one domain:
2.98 M/s
time per message/1 nb adder, 1 nb taker:
559.46 ns
messages over time/1 nb adder, 1 nb taker:
3.57 M/s
time per message/1 nb adder, 2 nb takers:
999.86 ns
messages over time/1 nb adder, 2 nb takers:
3.00 M/s
time per message/2 nb adders, 1 nb taker:
799.22 ns
messages over time/2 nb adders, 1 nb taker:
3.75 M/s
time per message/2 nb adders, 2 nb takers:
1848.93 ns
messages over time/2 nb adders, 2 nb takers:
2.18 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
57.11 ns
operations over time/1 worker, 90% reads:
17.51 M/s
time per operation/2 workers, 90% reads:
112.74 ns
operations over time/2 workers, 90% reads:
17.74 M/s
time per operation/4 workers, 90% reads:
237.00 ns
operations over time/4 workers, 90% reads:
16.88 M/s
time per operation/1 worker, 50% reads:
113.41 ns
operations over time/1 worker, 50% reads:
8.82 M/s
time per operation/2 workers, 50% reads:
252.58 ns
operations over time/2 workers, 50% reads:
7.92 M/s
time per operation/4 workers, 50% reads:
523.06 ns
operations over time/4 workers, 50% reads:
7.65 M/s
time per operation/1 worker, 10% reads:
151.08 ns
operations over time/1 worker, 10% reads:
6.62 M/s
time per operation/2 workers, 10% reads:
449.82 ns
operations over time/2 workers, 10% reads:
4.45 M/s
time per operation/4 workers, 10% reads:
931.27 ns
operations over time/4 workers, 10% reads:
4.30 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
17572.75 ns
messages over time/1 nb adder, 1 nb taker:
0.11 M/s
time per message/1 nb adder, 1 taker:
19716.92 ns
messages over time/1 nb adder, 1 taker:
0.10 M/s
time per message/1 nb adder, 2 nb takers:
33014.69 ns
messages over time/1 nb adder, 2 nb takers:
0.09 M/s
time per message/1 nb adder, 2 takers:
34308.58 ns
messages over time/1 nb adder, 2 takers:
0.09 M/s
time per message/1 adder, 1 nb taker:
18719.40 ns
messages over time/1 adder, 1 nb taker:
0.11 M/s
time per message/1 adder, 1 taker:
18981.49 ns
messages over time/1 adder, 1 taker:
0.11 M/s
time per message/1 adder, 2 nb takers:
31594.87 ns
messages over time/1 adder, 2 nb takers:
0.09 M/s
time per message/1 adder, 2 takers:
32087.10 ns
messages over time/1 adder, 2 takers:
0.09 M/s
time per message/2 nb adders, 1 nb taker:
32145.26 ns
messages over time/2 nb adders, 1 nb taker:
0.09 M/s
time per message/2 nb adders, 1 taker:
30280.50 ns
messages over time/2 nb adders, 1 taker:
0.10 M/s
time per message/2 nb adders, 2 nb takers:
42598.08 ns
messages over time/2 nb adders, 2 nb takers:
0.09 M/s
time per message/2 nb adders, 2 takers:
46030.88 ns
messages over time/2 nb adders, 2 takers:
0.09 M/s
time per message/2 adders, 1 nb taker:
34096.58 ns
messages over time/2 adders, 1 nb taker:
0.09 M/s
time per message/2 adders, 1 taker:
31557.05 ns
messages over time/2 adders, 1 taker:
0.10 M/s
time per message/2 adders, 2 nb takers:
38985.76 ns
messages over time/2 adders, 2 nb takers:
0.10 M/s
time per message/2 adders, 2 takers:
45097.48 ns
messages over time/2 adders, 2 takers:
0.09 M/s
Kcas_data Queue:
time per message/one domain:
75.17 ns
messages over time/one domain:
13.30 M/s
time per message/1 nb adder, 1 nb taker:
78.17 ns
messages over time/1 nb adder, 1 nb taker:
25.58 M/s
time per message/1 nb adder, 1 taker:
79.61 ns
messages over time/1 nb adder, 1 taker:
25.12 M/s
time per message/1 nb adder, 2 nb takers:
120.84 ns
messages over time/1 nb adder, 2 nb takers:
24.83 M/s
time per message/1 nb adder, 2 takers:
133.41 ns
messages over time/1 nb adder, 2 takers:
22.49 M/s
time per message/2 nb adders, 1 nb taker:
105.36 ns
messages over time/2 nb adders, 1 nb taker:
28.47 M/s
time per message/2 nb adders, 1 taker:
131.72 ns
messages over time/2 nb adders, 1 taker:
22.78 M/s
time per message/2 nb adders, 2 nb takers:
691.62 ns
messages over time/2 nb adders, 2 nb takers:
5.78 M/s
time per message/2 nb adders, 2 takers:
213.13 ns
messages over time/2 nb adders, 2 takers:
18.77 M/s
Kcas_data Stack:
time per message/one domain:
56.54 ns
messages over time/one domain:
17.69 M/s
time per message/1 nb adder, 1 nb taker:
78.47 ns
messages over time/1 nb adder, 1 nb taker:
25.49 M/s
time per message/1 nb adder, 1 taker:
90.68 ns
messages over time/1 nb adder, 1 taker:
22.06 M/s
time per message/1 nb adder, 2 nb takers:
113.79 ns
messages over time/1 nb adder, 2 nb takers:
26.36 M/s
time per message/1 nb adder, 2 takers:
114.33 ns
messages over time/1 nb adder, 2 takers:
26.24 M/s
time per message/2 nb adders, 1 nb taker:
100.00 ns
messages over time/2 nb adders, 1 nb taker:
30.00 M/s
time per message/2 nb adders, 1 taker:
99.27 ns
messages over time/2 nb adders, 1 taker:
30.22 M/s
time per message/2 nb adders, 2 nb takers:
207.94 ns
messages over time/2 nb adders, 2 nb takers:
19.24 M/s
time per message/2 nb adders, 2 takers:
141.64 ns
messages over time/2 nb adders, 2 takers:
28.24 M/s
Kcas_data Two_stack_queue:
time per message/one domain:
63.09 ns
messages over time/one domain:
15.85 M/s
time per message/1 nb adder, 1 nb taker:
64.66 ns
messages over time/1 nb adder, 1 nb taker:
30.93 M/s
time per message/1 nb adder, 2 nb takers:
108.64 ns
messages over time/1 nb adder, 2 nb takers:
27.61 M/s
time per message/2 nb adders, 1 nb taker:
97.58 ns
messages over time/2 nb adders, 1 nb taker:
30.74 M/s
time per message/2 nb adders, 2 nb takers:
104.82 ns
messages over time/2 nb adders, 2 nb takers:
38.16 M/s
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `P3WOQM4F'.
[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.121s. 2 tests run.
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 26035422
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Stack sequential
[✓] 1000 0 0 1000 / 1000 60.6s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 332086117
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Accumulator sequential
[✓] 1000 0 0 1000 / 1000 60.7s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 141405421
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Queue sequential
[ ] 557 0 0 557
[✓] 1000 0 0 1000 / 1000 62.6s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 221146879
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Hashtbl sequential
[✓] 1000 0 0 1000 / 1000 63.1s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 124632618
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Dllist sequential
[✓] 1000 0 0 1000 / 1000 64.0s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./two_stack_queue_test_stm.exe)
random seed: 396177586
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Two_stack_queue sequential
[✓] 1000 0 0 1000 / 1000 65.1s Two_stack_queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 208606963
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.0s Hashtbl_with_order sequential
[ ] 69 0
[✓] 1000 0 0 1000 / 1000 74.3s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-09-18 16:44.18 ---> saved as "3ce2edd88754fb8837e0d0cadf218989b88e24ce757c8406ceedb9b8d6d676ac"
Job succeeded
2024-09-18 16:44.19: Job succeeded