2024-08-28 13:38.19: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/add-xt-leftist-heap-benchmark (1218728ecd65e793cd7b8f37cd1a427a9d408b1e) (linux-x86_64:opensuse-15.6-4.14_opam-2.2)
Base: ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:077815e0c180003b42ebc2521d446af5c12303972b0f0dc653336b7afeda1e8c
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "add-xt-leftist-heap-benchmark" && cd "kcas" && git reset --hard 1218728e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:077815e0c180003b42ebc2521d446af5c12303972b0f0dc653336b7afeda1e8c
# opensuse-15.6-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 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && 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.6.9 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.0.0 multicore-bench.0.1.4 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.3 qcheck-stm.0.3 re.1.11.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-08-28 13:38.19: Using cache hint "ocaml-multicore/kcas-ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:077815e0c180003b42ebc2521d446af5c12303972b0f0dc653336b7afeda1e8c-opensuse-15.6-4.14_opam-2.2-04fff35588c20f03928ff3037f43954f"
2024-08-28 13:38.19: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:077815e0c180003b42ebc2521d446af5c12303972b0f0dc653336b7afeda1e8c)
(comment opensuse-15.6-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 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && 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.6.9 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.0.0 multicore-bench.0.1.4 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.3 qcheck-stm.0.3 re.1.11.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-08-28 13:38.19: Waiting for resource in pool OCluster
2024-08-28 22:59.43: Waiting for worker…
2024-08-28 22:59.58: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 1218728 Add a transaction benchmark using a naïve unscalable leftist heap
(from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:077815e0c180003b42ebc2521d446af5c12303972b0f0dc653336b7afeda1e8c)
2024-08-28 23:14.12 ---> using "1b8043dde4efc32d4655041e6bd9cc59853b434a0ffc8b24f32f80ac66d3b352" from cache
/: (comment opensuse-15.6-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-08-28 23:14.12 ---> using "70863f4d0a6483367c597b84eece39a87bde3491919494461b77cefdf436e992" 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-08-28 23:14.12 ---> using "185e2209795e76b39846380355a2bee4a040820ef37009e821f313bb6e6ca94d" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.14.2
2.2.0
2024-08-28 23:14.12 ---> using "e2805e7b0986b73b08e28d06800be63e90867bbcc4faafd2dca8b628ea6de845" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-08-28 23:14.12 ---> using "13cd392f18a0613aaa989d8b3428d50293d743553947f84e753bc230d96ce53b" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 || git fetch origin master) && git reset -q --hard 2c6ced5ce1aa21f25fbb395652fb1b3b30c9d5d5 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
7c4ff52ef3..2beff567ef master -> origin/master
2c6ced5ce1 Merge pull request #26448 from avsm/upper-mdx
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
The following actions will be performed:
=== upgrade 1 package
- upgrade opam-depext 1.2.1-1 to 1.2.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3 (cached)
-> removed opam-depext.1.2.1-1
-> installed opam-depext.1.2.3
Done.
<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-08-28 23:14.12 ---> using "b021a87b876f1536275c24efe2d607e41984cf507a6a8f08bfedbc1e4e4388d0" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-08-28 23:14.12 ---> using "d60ba29a3e854ebd17d77fdbcfde9e7ce90cfc92ea8ad4208dda0d00de3037e1" from cache
/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-08-28 23:14.12 ---> using "f97fa21cba6a3a278e5fffec2387f68e36773bb7ede98e2c687f2583b71e52cf" from cache
/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.6.9 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.0.0 multicore-bench.0.1.4 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.3 qcheck-stm.0.3 re.1.11.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 "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [........
- ....done]
- Building repository 'Update repository of openSUSE Backports' cache [...done]
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [..........
- .........
- .......done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Retrieving repository 'Main Update Repository' metadata [.......
- ..done]
- Building repository 'Main Update Repository' cache [...done]
- Retrieving repository 'Update Repository (Non-Oss)' metadata [.......
- ..done]
- Building repository 'Update Repository (Non-Oss)' cache [...done]
- All repositories have been refreshed.
<><> 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-08-28 23:14.12 ---> using "d6528ac825e36ae0433827676a55921d9ef090eec26a75c23f1d4b2200c86aa5" from cache
/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.6.9
- 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.0.0
- install multicore-bench 0.1.4
- 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.3
- install qcheck-stm 0.3
- install re 1.11.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.6.9 (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 mdx.2.4.1 (cached)
-> retrieved mtime.2.0.0 (cached)
-> retrieved multicore-bench.0.1.4 (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 domain-local-timeout.1.0.1 (https://github.com/ocaml-multicore/domain-local-timeout/releases/download/1.0.1/domain-local-timeout-1.0.1.tbz)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved qcheck-multicoretests-util.0.3, qcheck-stm.0.3 (cached)
-> retrieved re.1.11.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.0.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 stdlib-shims.0.3.0
-> installed multicore-magic.2.3.0
-> installed ocaml-version.3.6.8
-> installed result.1.5
-> installed psq.0.2.1
-> 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.11.0
-> installed cppo.1.6.9
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.3
-> installed alcotest.1.8.0
-> installed multicore-bench.0.1.4
-> installed qcheck-stm.0.3
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-08-28 23:14.12 ---> using "5411046cf1544ef19d9426f3e39fa810d5178377ad2a3e18eba2c69a46d5263d" from cache
/src: (copy (src .) (dst /src))
2024-08-28 23:14.12 ---> saved as "d3df85c3992d9d5dd0391e3305a9dfb8d42736ad87eeb7d786480a834efe26b5"
/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 `37F9YDFX'.
[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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `N12XRI3W'.
[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 && ./queue_test.exe)
Testing `Queue'.
This run has ID `PGYZU0GW'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Queue'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `X3WPNFD4'.
[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 `ZIQHFZ2T'.
[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 `FL4QB8NJ'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `6DDMXVJQ'.
[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.006s. 4 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `T6GH5UZ4'.
[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 1.059s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
3.19 ns
ops over time/get:
313.65 M/s
time per op/incr:
12.51 ns
ops over time/incr:
79.91 M/s
time per op/push & pop:
14.02 ns
ops over time/push & pop:
71.35 M/s
time per op/cas int:
9.75 ns
ops over time/cas int:
102.54 M/s
time per op/xchg int:
10.36 ns
ops over time/xchg int:
96.49 M/s
time per op/swap:
13.45 ns
ops over time/swap:
74.37 M/s
Kcas Xt:
time per transaction/0 loc tx:
11.27 ns
transactions over time/0 loc tx:
88.73 M/s
time per transaction/1 loc tx:
37.65 ns
transactions over time/1 loc tx:
26.56 M/s
time per transaction/2 loc tx:
73.38 ns
transactions over time/2 loc tx:
13.63 M/s
time per transaction/4 loc tx:
124.48 ns
transactions over time/4 loc tx:
8.03 M/s
time per transaction/8 loc tx:
256.89 ns
transactions over time/8 loc tx:
3.89 M/s
Kcas Xt Leftist_heap (unscalable):
time per operation/1 worker, 10 preload:
508.73 ns
operations over time/1 worker, 10 preload:
1.97 M/s
time per operation/2 workers, 10 preload:
1044.79 ns
operations over time/2 workers, 10 preload:
1.91 M/s
time per operation/4 workers, 10 preload:
2669.20 ns
operations over time/4 workers, 10 preload:
1.50 M/s
time per operation/1 worker, 100 preload:
1453.62 ns
operations over time/1 worker, 100 preload:
0.69 M/s
time per operation/2 workers, 100 preload:
2837.00 ns
operations over time/2 workers, 100 preload:
0.70 M/s
time per operation/4 workers, 100 preload:
6222.92 ns
operations over time/4 workers, 100 preload:
0.64 M/s
time per operation/1 worker, 1000 preload:
4882.83 ns
operations over time/1 worker, 1000 preload:
0.20 M/s
time per operation/2 workers, 1000 preload:
9382.57 ns
operations over time/2 workers, 1000 preload:
0.21 M/s
time per operation/4 workers, 1000 preload:
25735.09 ns
operations over time/4 workers, 1000 preload:
0.16 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
10.06 ns
transactions over time/0 loc tx:
99.36 M/s
time per transaction/1 loc tx:
21.44 ns
transactions over time/1 loc tx:
46.65 M/s
time per transaction/2 loc tx:
43.63 ns
transactions over time/2 loc tx:
22.92 M/s
time per transaction/4 loc tx:
65.50 ns
transactions over time/4 loc tx:
15.27 M/s
time per transaction/8 loc tx:
123.88 ns
transactions over time/8 loc tx:
8.07 M/s
Kcas parallel CMP:
time per transaction/1 worker:
82.35 ns
transactions over time/1 worker:
12.14 M/s
time per transaction/2 workers:
177.08 ns
transactions over time/2 workers:
11.29 M/s
time per transaction/4 workers:
457.54 ns
transactions over time/4 workers:
9.13 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
15.42 ns
operations over time/1 worker, 0% reads:
64.84 M/s
time per operation/2 workers, 0% reads:
29.72 ns
operations over time/2 workers, 0% reads:
67.29 M/s
time per operation/4 workers, 0% reads:
62.12 ns
operations over time/4 workers, 0% reads:
64.40 M/s
Kcas_data Dllist:
time per message/one domain:
365.05 ns
messages over time/one domain:
2.74 M/s
time per message/1 nb adder, 1 nb taker:
987.33 ns
messages over time/1 nb adder, 1 nb taker:
2.03 M/s
time per message/1 nb adder, 2 nb takers:
1730.43 ns
messages over time/1 nb adder, 2 nb takers:
1.73 M/s
time per message/2 nb adders, 1 nb taker:
661.45 ns
messages over time/2 nb adders, 1 nb taker:
4.54 M/s
time per message/2 nb adders, 2 nb takers:
1551.85 ns
messages over time/2 nb adders, 2 nb takers:
2.61 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
57.97 ns
operations over time/1 worker, 90% reads:
17.25 M/s
time per operation/2 workers, 90% reads:
102.94 ns
operations over time/2 workers, 90% reads:
19.43 M/s
time per operation/4 workers, 90% reads:
230.06 ns
operations over time/4 workers, 90% reads:
17.39 M/s
time per operation/1 worker, 50% reads:
119.51 ns
operations over time/1 worker, 50% reads:
8.37 M/s
time per operation/2 workers, 50% reads:
243.46 ns
operations over time/2 workers, 50% reads:
8.22 M/s
time per operation/4 workers, 50% reads:
497.35 ns
operations over time/4 workers, 50% reads:
8.04 M/s
time per operation/1 worker, 10% reads:
149.10 ns
operations over time/1 worker, 10% reads:
6.71 M/s
time per operation/2 workers, 10% reads:
306.80 ns
operations over time/2 workers, 10% reads:
6.52 M/s
time per operation/4 workers, 10% reads:
627.63 ns
operations over time/4 workers, 10% reads:
6.37 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
27603.90 ns
messages over time/1 nb adder, 1 nb taker:
0.07 M/s
time per message/1 nb adder, 1 taker:
23755.61 ns
messages over time/1 nb adder, 1 taker:
0.08 M/s
time per message/1 nb adder, 2 nb takers:
31745.38 ns
messages over time/1 nb adder, 2 nb takers:
0.09 M/s
time per message/1 nb adder, 2 takers:
29014.94 ns
messages over time/1 nb adder, 2 takers:
0.10 M/s
time per message/1 adder, 1 nb taker:
17574.57 ns
messages over time/1 adder, 1 nb taker:
0.11 M/s
time per message/1 adder, 1 taker:
17033.45 ns
messages over time/1 adder, 1 taker:
0.12 M/s
time per message/1 adder, 2 nb takers:
28071.62 ns
messages over time/1 adder, 2 nb takers:
0.11 M/s
time per message/1 adder, 2 takers:
29353.38 ns
messages over time/1 adder, 2 takers:
0.10 M/s
time per message/2 nb adders, 1 nb taker:
29868.65 ns
messages over time/2 nb adders, 1 nb taker:
0.10 M/s
time per message/2 nb adders, 1 taker:
28255.87 ns
messages over time/2 nb adders, 1 taker:
0.11 M/s
time per message/2 nb adders, 2 nb takers:
44551.50 ns
messages over time/2 nb adders, 2 nb takers:
0.09 M/s
time per message/2 nb adders, 2 takers:
37780.12 ns
messages over time/2 nb adders, 2 takers:
0.11 M/s
time per message/2 adders, 1 nb taker:
28708.22 ns
messages over time/2 adders, 1 nb taker:
0.10 M/s
time per message/2 adders, 1 taker:
29460.19 ns
messages over time/2 adders, 1 taker:
0.10 M/s
time per message/2 adders, 2 nb takers:
37229.43 ns
messages over time/2 adders, 2 nb takers:
0.11 M/s
time per message/2 adders, 2 takers:
36638.78 ns
messages over time/2 adders, 2 takers:
0.11 M/s
Kcas_data Queue:
time per message/one domain:
82.27 ns
messages over time/one domain:
12.16 M/s
time per message/1 nb adder, 1 nb taker:
67.79 ns
messages over time/1 nb adder, 1 nb taker:
29.50 M/s
time per message/1 nb adder, 1 taker:
71.38 ns
messages over time/1 nb adder, 1 taker:
28.02 M/s
time per message/1 nb adder, 2 nb takers:
115.44 ns
messages over time/1 nb adder, 2 nb takers:
25.99 M/s
time per message/1 nb adder, 2 takers:
114.88 ns
messages over time/1 nb adder, 2 takers:
26.11 M/s
time per message/2 nb adders, 1 nb taker:
95.42 ns
messages over time/2 nb adders, 1 nb taker:
31.44 M/s
time per message/2 nb adders, 1 taker:
94.81 ns
messages over time/2 nb adders, 1 taker:
31.64 M/s
time per message/2 nb adders, 2 nb takers:
423.51 ns
messages over time/2 nb adders, 2 nb takers:
9.44 M/s
time per message/2 nb adders, 2 takers:
143.65 ns
messages over time/2 nb adders, 2 takers:
27.85 M/s
Kcas_data Stack:
time per message/one domain:
52.95 ns
messages over time/one domain:
18.89 M/s
time per message/1 nb adder, 1 nb taker:
62.38 ns
messages over time/1 nb adder, 1 nb taker:
32.06 M/s
time per message/1 nb adder, 1 taker:
67.19 ns
messages over time/1 nb adder, 1 taker:
29.76 M/s
time per message/1 nb adder, 2 nb takers:
530.24 ns
messages over time/1 nb adder, 2 nb takers:
5.66 M/s
time per message/1 nb adder, 2 takers:
163.08 ns
messages over time/1 nb adder, 2 takers:
18.42 M/s
time per message/2 nb adders, 1 nb taker:
112.31 ns
messages over time/2 nb adders, 1 nb taker:
26.71 M/s
time per message/2 nb adders, 1 taker:
635.64 ns
messages over time/2 nb adders, 1 taker:
4.72 M/s
time per message/2 nb adders, 2 nb takers:
140.42 ns
messages over time/2 nb adders, 2 nb takers:
28.49 M/s
time per message/2 nb adders, 2 takers:
139.31 ns
messages over time/2 nb adders, 2 takers:
28.71 M/s
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `Y3JZBLN9'.
[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.115s. 2 tests run.
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 522805860
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.1s Stack sequential
[✓] 1000 0 0 1000 / 1000 40.1s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 302331664
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.1s Accumulator sequential
[✓] 1000 0 0 1000 / 1000 42.2s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 87552788
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.1s Queue sequential
[✓] 1000 0 0 1000 / 1000 45.0s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 393838751
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.2s Hashtbl sequential
[ ] 410 0 0 410 / 1000 18
[✓] 1000 0 0 1000 / 1000 45.8s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 497770738
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.2s Dllist sequential
[✓] 1000 0 0 1000 / 1000 46.3s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 260133469
generated error fail pass / total time test name
[✓] 1000 0 0 1000 / 1000 0.2s Hashtbl_with_order sequential
[✓] 1000 0 0 1000 / 1000 52.7s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-08-28 23:15.07 ---> saved as "f0343003faf9df705c2eb43114084b65499ad6a0e285a9060053df6f2b0f219b"
Job succeeded
2024-08-28 23:15.08: Job succeeded