2024-10-18 17:21.14: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/add-xt-leftist-heap-benchmark (609c614dc8b898e02df72fb1a791d20aeaeb6c48) (linux-x86_64:debian-11-5.2_opam-2.2)
Base: ocaml/opam:debian-11-ocaml-5.2@sha256:6183467f436e1682ebdced3df1ecdf8ea2305a3024c7443b3aafc8cc8735983f
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 609c614d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-5.2@sha256:6183467f436e1682ebdced3df1ecdf8ea2305a3024c7443b3aafc8cc8735983f
# debian-11-5.2_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 kcas_data.opam kcas.opam ./
RUN opam pin add -yn kcas_data.dev './' && \
opam pin add -yn kcas.dev './'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-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.7 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 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-10-18 17:21.14: Using cache hint "ocaml-multicore/kcas-ocaml/opam:debian-11-ocaml-5.2@sha256:6183467f436e1682ebdced3df1ecdf8ea2305a3024c7443b3aafc8cc8735983f-debian-11-5.2_opam-2.2-f45f998e12843bce57e3edad46924462"
2024-10-18 17:21.14: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-5.2@sha256:6183467f436e1682ebdced3df1ecdf8ea2305a3024c7443b3aafc8cc8735983f)
(comment debian-11-5.2_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src kcas_data.opam kcas.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-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.7 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 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-10-18 17:21.14: Waiting for resource in pool OCluster
2024-10-18 17:23.43: Waiting for worker…
2024-10-18 17:23.43: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 609c614 Add a transaction benchmark using a naïve unscalable leftist heap
(from ocaml/opam:debian-11-ocaml-5.2@sha256:6183467f436e1682ebdced3df1ecdf8ea2305a3024c7443b3aafc8cc8735983f)
2024-10-18 17:23.46 ---> using "711342820ac83d7cb0ec71f99d6b87cc3af1a5db743ca6b3e23d239e92f5aaea" from cache
/: (comment debian-11-5.2_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-10-18 17:23.46 ---> using "9bd25b324a80faec209b4163f5d9e156cc6a5a86690abb55835987ad24648354" 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
[NOTE] The 'jobs' option was reset, its value was 31 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=31 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-18 17:23.46 ---> using "4b3450e306c66ff07cd26e4400f8b5371e0b3e98108bedea949f41fdf42553cd" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-10-18 17:23.46 ---> using "bee9dd1575329d9103ebec9079751b1d887166fb6c253cdb4e28a46f384ab98c" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-18 17:23.46 ---> using "cff6034ad9fd5a80e74796ad25deb680c717c9f3182ec6b34939e29b98c873ba" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
75006f8c5e..b8e118d3ef master -> origin/master
b8e118d3ef Merge pull request #26758 from polytypic/release-multicore-bench-0.1.7
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-10-18 17:24.56 ---> saved as "18ba6d8ed5dadac45cb3090d2dfc6e91df64d844ed0317d8f205c9113e1fd23d"
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-10-18 17:24.57 ---> saved as "644a1b41fa8d17f215f2bcd60913d7a1f4f7e8f497a64c7ef2cd68eb6603f95e"
/src: (run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
[kcas_data.dev] synchronised (file:///src)
kcas_data is now pinned to file:///src (version dev)
[kcas.dev] synchronised (file:///src)
kcas is now pinned to file:///src (version dev)
2024-10-18 17:25.00 ---> saved as "da2c8d0bfe48f24433a4ac9b8a0891ec200c49fb72e652bbc322d2dfd3a76303"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-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.7 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 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"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [303 kB]
- Fetched 374 kB in 1s (618 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas.dev] synchronised (no changes)
[kcas_data.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-10-18 17:25.15 ---> saved as "311e29f03f6a1663cf2720dc0ac02f8957b0b6eb13a5507e2358bc68a0cd1cb2"
/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 33 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install backoff 0.1.1
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cppo 1.7.0
- install csexp 1.5.2
- install domain-local-await 1.0.1
- install domain-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.7
- install multicore-magic 2.3.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.9
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install 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.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved domain-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 mdx.2.4.1 (cached)
-> retrieved multicore-bench.0.1.7 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.9 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved 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 uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (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.1
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed ocaml-version.3.6.9
-> installed thread-table.1.0.0
-> installed psq.0.2.1
-> installed camlp-streams.5.0.1
-> installed multicore-magic.2.3.0
-> installed domain-local-timeout.1.0.1
-> installed domain-local-await.1.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.7.0
-> installed re.1.12.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.4
-> installed multicore-bench.0.1.7
-> installed qcheck-stm.0.4
-> installed alcotest.1.8.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-18 17:26.06 ---> saved as "c3b9d605722fff8ad2c681f8c55285a4279d2dcff8a2fb32d96427bf7b8344dc"
/src: (copy (src .) (dst /src))
2024-10-18 17:26.07 ---> saved as "4aceb08cb7c42e6a71db1e5b9fc7fc1945f587ba5f04fcf40074a186dfedb922"
/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 `61I47SBS'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `6GACSVXL'.
[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 && ./stack_test.exe)
Testing `Stack'.
This run has ID `RD797HZ5'.
[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 && ./queue_test.exe)
Testing `Queue'.
This run has ID `ERAMQIVZ'.
[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 `D9QK1EFI'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.003s. 1 test run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `20X5XCBO'.
[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 && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `T71MDT9L'.
[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.025s. 2 tests run.
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `CK34C6IY'.
[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.024s. 4 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `0F9DO8TZ'.
[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 2.448s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
ops over time/cas int:
62.70 M/s
ops over time/get:
231.87 M/s
ops over time/incr:
44.88 M/s
ops over time/push & pop:
50.14 M/s
ops over time/swap:
39.70 M/s
ops over time/xchg int:
51.76 M/s
time per op/cas int:
15.95 ns
time per op/get:
4.31 ns
time per op/incr:
22.28 ns
time per op/push & pop:
19.94 ns
time per op/swap:
25.19 ns
time per op/xchg int:
19.32 ns
Kcas Xt:
time per transaction/0 loc tx:
13.51 ns
time per transaction/1 loc tx:
54.20 ns
time per transaction/2 loc tx:
113.35 ns
time per transaction/4 loc tx:
180.42 ns
time per transaction/8 loc tx:
750.17 ns
transactions over time/0 loc tx:
74.03 M/s
transactions over time/1 loc tx:
18.45 M/s
transactions over time/2 loc tx:
8.82 M/s
transactions over time/4 loc tx:
5.54 M/s
transactions over time/8 loc tx:
1.33 M/s
Kcas Xt Leftist_heap (unscalable):
operations over time/1 worker, 1000 preload:
0.20 M/s
operations over time/1 worker, 100 preload:
0.91 M/s
operations over time/1 worker, 10 preload:
1.29 M/s
operations over time/2 workers, 1000 preload:
0.24 M/s
operations over time/2 workers, 100 preload:
0.93 M/s
operations over time/2 workers, 10 preload:
1.12 M/s
operations over time/4 workers, 1000 preload:
0.22 M/s
operations over time/4 workers, 100 preload:
0.69 M/s
operations over time/4 workers, 10 preload:
0.95 M/s
time per operation/1 worker, 1000 preload:
4881.05 ns
time per operation/1 worker, 100 preload:
1093.26 ns
time per operation/1 worker, 10 preload:
776.49 ns
time per operation/2 workers, 1000 preload:
8335.26 ns
time per operation/2 workers, 100 preload:
2140.62 ns
time per operation/2 workers, 10 preload:
1790.24 ns
time per operation/4 workers, 1000 preload:
18512.11 ns
time per operation/4 workers, 100 preload:
5760.62 ns
time per operation/4 workers, 10 preload:
4197.90 ns
Kcas Xt read-only:
time per transaction/0 loc tx:
20.80 ns
time per transaction/1 loc tx:
44.41 ns
time per transaction/2 loc tx:
74.79 ns
time per transaction/4 loc tx:
124.23 ns
time per transaction/8 loc tx:
193.01 ns
transactions over time/0 loc tx:
48.08 M/s
transactions over time/1 loc tx:
22.52 M/s
transactions over time/2 loc tx:
13.37 M/s
transactions over time/4 loc tx:
8.05 M/s
transactions over time/8 loc tx:
5.18 M/s
Kcas parallel CMP:
time per transaction/1 worker:
120.33 ns
time per transaction/2 workers:
115.04 ns
time per transaction/4 workers:
116.29 ns
transactions over time/1 worker:
8.31 M/s
transactions over time/2 workers:
17.39 M/s
transactions over time/4 workers:
34.40 M/s
Kcas_data Accumulator:
operations over time/1 worker, 0% reads:
20.64 M/s
operations over time/2 workers, 0% reads:
51.45 M/s
operations over time/4 workers, 0% reads:
60.69 M/s
time per operation/1 worker, 0% reads:
48.44 ns
time per operation/2 workers, 0% reads:
38.87 ns
time per operation/4 workers, 0% reads:
65.91 ns
Kcas_data Dllist:
messages over time/1 nb adder, 1 nb taker:
2.72 M/s
messages over time/1 nb adder, 2 nb takers:
1.26 M/s
messages over time/2 nb adders, 1 nb taker:
0.94 M/s
messages over time/2 nb adders, 2 nb takers:
1.26 M/s
messages over time/one domain:
1.66 M/s
time per message/1 nb adder, 1 nb taker:
736.43 ns
time per message/1 nb adder, 2 nb takers:
2375.01 ns
time per message/2 nb adders, 1 nb taker:
3184.75 ns
time per message/2 nb adders, 2 nb takers:
3187.11 ns
time per message/one domain:
600.99 ns
Kcas_data Hashtbl:
operations over time/1 worker, 10% reads:
2.37 M/s
operations over time/1 worker, 50% reads:
4.65 M/s
operations over time/1 worker, 90% reads:
11.36 M/s
operations over time/2 workers, 10% reads:
4.19 M/s
operations over time/2 workers, 50% reads:
4.46 M/s
operations over time/2 workers, 90% reads:
20.97 M/s
operations over time/4 workers, 10% reads:
4.37 M/s
operations over time/4 workers, 50% reads:
7.04 M/s
operations over time/4 workers, 90% reads:
8.95 M/s
time per operation/1 worker, 10% reads:
421.25 ns
time per operation/1 worker, 50% reads:
215.28 ns
time per operation/1 worker, 90% reads:
88.02 ns
time per operation/2 workers, 10% reads:
477.04 ns
time per operation/2 workers, 50% reads:
448.34 ns
time per operation/2 workers, 90% reads:
95.38 ns
time per operation/4 workers, 10% reads:
914.36 ns
time per operation/4 workers, 50% reads:
567.96 ns
time per operation/4 workers, 90% reads:
447.14 ns
Kcas_data Mvar:
messages over time/1 adder, 1 nb taker:
0.70 M/s
messages over time/1 adder, 1 taker:
0.54 M/s
messages over time/1 adder, 2 nb takers:
0.64 M/s
messages over time/1 adder, 2 takers:
0.66 M/s
messages over time/1 nb adder, 1 nb taker:
1.16 M/s
messages over time/1 nb adder, 1 taker:
0.69 M/s
messages over time/1 nb adder, 2 nb takers:
0.84 M/s
messages over time/1 nb adder, 2 takers:
0.63 M/s
messages over time/2 adders, 1 nb taker:
0.66 M/s
messages over time/2 adders, 1 taker:
0.57 M/s
messages over time/2 adders, 2 nb takers:
0.59 M/s
messages over time/2 adders, 2 takers:
0.55 M/s
messages over time/2 nb adders, 1 nb taker:
0.91 M/s
messages over time/2 nb adders, 1 taker:
0.59 M/s
messages over time/2 nb adders, 2 nb takers:
0.82 M/s
messages over time/2 nb adders, 2 takers:
0.68 M/s
time per message/1 adder, 1 nb taker:
2852.98 ns
time per message/1 adder, 1 taker:
3672.64 ns
time per message/1 adder, 2 nb takers:
4666.04 ns
time per message/1 adder, 2 takers:
4525.25 ns
time per message/1 nb adder, 1 nb taker:
1730.43 ns
time per message/1 nb adder, 1 taker:
2915.10 ns
time per message/1 nb adder, 2 nb takers:
3562.12 ns
time per message/1 nb adder, 2 takers:
4797.59 ns
time per message/2 adders, 1 nb taker:
4538.62 ns
time per message/2 adders, 1 taker:
5287.86 ns
time per message/2 adders, 2 nb takers:
6830.17 ns
time per message/2 adders, 2 takers:
7309.91 ns
time per message/2 nb adders, 1 nb taker:
3303.96 ns
time per message/2 nb adders, 1 taker:
5120.93 ns
time per message/2 nb adders, 2 nb takers:
4865.61 ns
time per message/2 nb adders, 2 takers:
5844.58 ns
Kcas_data Queue:
messages over time/1 nb adder, 1 nb taker:
5.68 M/s
messages over time/1 nb adder, 1 taker:
6.14 M/s
messages over time/1 nb adder, 2 nb takers:
6.56 M/s
messages over time/1 nb adder, 2 takers:
5.91 M/s
messages over time/2 nb adders, 1 nb taker:
6.52 M/s
messages over time/2 nb adders, 1 taker:
6.77 M/s
messages over time/2 nb adders, 2 nb takers:
7.67 M/s
messages over time/2 nb adders, 2 takers:
5.79 M/s
messages over time/one domain:
11.73 M/s
time per message/1 nb adder, 1 nb taker:
351.96 ns
time per message/1 nb adder, 1 taker:
325.56 ns
time per message/1 nb adder, 2 nb takers:
457.27 ns
time per message/1 nb adder, 2 takers:
507.82 ns
time per message/2 nb adders, 1 nb taker:
460.12 ns
time per message/2 nb adders, 1 taker:
443.38 ns
time per message/2 nb adders, 2 nb takers:
521.52 ns
time per message/2 nb adders, 2 takers:
690.34 ns
time per message/one domain:
85.24 ns
Kcas_data Stack:
messages over time/1 nb adder, 1 nb taker:
8.01 M/s
messages over time/1 nb adder, 1 taker:
8.52 M/s
messages over time/1 nb adder, 2 nb takers:
11.17 M/s
messages over time/1 nb adder, 2 takers:
6.22 M/s
messages over time/2 nb adders, 1 nb taker:
7.02 M/s
messages over time/2 nb adders, 1 taker:
6.03 M/s
messages over time/2 nb adders, 2 nb takers:
7.77 M/s
messages over time/2 nb adders, 2 takers:
7.42 M/s
messages over time/one domain:
15.05 M/s
time per message/1 nb adder, 1 nb taker:
249.72 ns
time per message/1 nb adder, 1 taker:
234.68 ns
time per message/1 nb adder, 2 nb takers:
268.65 ns
time per message/1 nb adder, 2 takers:
482.66 ns
time per message/2 nb adders, 1 nb taker:
427.26 ns
time per message/2 nb adders, 1 taker:
497.23 ns
time per message/2 nb adders, 2 nb takers:
514.66 ns
time per message/2 nb adders, 2 takers:
539.17 ns
time per message/one domain:
66.44 ns
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 2979780274863014293
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 5.0s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 2682712823656043638
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 13.8s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 1444852810822131642
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 28.0s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 1886519708708776814
generated error fail pass / total time test name
[✓] 62 0 0 62 / 62 0.0s Hashtbl_with_order sequential
[✓] 62 0 0 62 / 62 13.6s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 185724461859318302
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 5.1s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 2619019489230857850
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 11.0s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 1831466754070068071
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 28.7s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 1138053254022905331
generated error fail pass / total time test name
[✓] 75 0 0 75 / 75 0.0s Dllist sequential
[✓] 75 0 0 75 / 75 16.4s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 543528332380713431
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 4.6s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 990876534531675457
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 10.3s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 4194486791655906674
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 23.9s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 566575695712977547
generated error fail pass / total time test name
[✓] 122 0 0 122 / 122 0.0s Stack sequential
[✓] 122 0 0 122 / 122 24.7s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 3669940554354372027
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 5.5s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 2925655829657430352
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 9.8s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 1344081826632863774
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[ ] 68
[✓] 128 0 0 128 / 128 22.9s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 3614627995664686345
generated error fail pass / total time test name
[✓] 127 0 0 127 / 127 0.0s Hashtbl sequential
[✓] 127 0 0 127 / 127 26.7s Hashtbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 2426421888510583762
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 4.0s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 1517513061886741610
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 8.2s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 723296289653222927
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 21.9s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 1405774167814256016
generated error fail pass / total time test name
[✓] 170 0 0 170 / 170 0.0s Queue sequential
[✓] 170 0 0 170 / 170 34.1s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 3743604649946184490
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 4.6s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 2661458811967842801
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 7.3s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 3053361647875538770
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 21.3s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 1220965234292456131
generated error fail pass / total time test name
[✓] 181 0 0 181 / 181 0.0s Accumulator sequential
[✓] 181 0 0 181 / 181 35.7s Accumulator parallel
================================================================================
success (ran 2 tests)
2024-10-18 17:27.18 ---> saved as "4991f4da6bc2ab830c02f785c8a14909e290dc71a5c9865ebe9242f353eaa657"
Job succeeded
2024-10-18 17:27.19: Job succeeded