2024-09-18 15:15.06: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/add-xt-leftist-heap-benchmark (fa732ba8a273c90b9051eb90b5fb5793471bd8b5) (linux-x86_64:fedora-40-4.14_opam-2.2)
Base: ocaml/opam:fedora-40-ocaml-4.14@sha256:7a559fbce3a98093c0094707c7eec2d9d32c1dbf3fec97d107ee0221607570f2
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 fa732ba8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-40-ocaml-4.14@sha256:7a559fbce3a98093c0094707c7eec2d9d32c1dbf3fec97d107ee0221607570f2
# fedora-40-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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.06: Using cache hint "ocaml-multicore/kcas-ocaml/opam:fedora-40-ocaml-4.14@sha256:7a559fbce3a98093c0094707c7eec2d9d32c1dbf3fec97d107ee0221607570f2-fedora-40-4.14_opam-2.2-6f18f9c4802d6c411f3695732ffd3e0c"
2024-09-18 15:15.06: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-4.14@sha256:7a559fbce3a98093c0094707c7eec2d9d32c1dbf3fec97d107ee0221607570f2)
(comment fedora-40-4.14_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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.06: Waiting for resource in pool OCluster
2024-09-18 16:39.27: Waiting for worker…
2024-09-18 16:39.27: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at fa732ba Add a transaction benchmark using a naïve unscalable leftist heap
(from ocaml/opam:fedora-40-ocaml-4.14@sha256:7a559fbce3a98093c0094707c7eec2d9d32c1dbf3fec97d107ee0221607570f2)
2024-09-18 16:39.27 ---> using "d935b78b3b3d1b9175556810bedcd612a82afc930885b14f52a4ce87dfe76c2d" from cache
/: (comment fedora-40-4.14_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Fedora 40 - x86_64 284 kB/s | 28 kB 00:00
Fedora 40 openh264 (From Cisco) - x86_64 14 kB/s | 989 B 00:00
Fedora 40 - x86_64 - Updates 286 kB/s | 25 kB 00:00
Fedora 40 - x86_64 - Updates 4.2 MB/s | 5.1 MB 00:01
Package findutils-1:4.9.0-9.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-09-18 16:39.27 ---> using "b95dac668c44721e374419201a9bd94f72da55184895174c6c06fd9a8d08cc60" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-09-18 16:39.27 ---> using "18d966f9d7a48212549a29d80cabca0c2ad8ff0c9cf80df3c4bc95ce0a8036a6" 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.
Continue? [y/n] y
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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-18 16:39.27 ---> using "b511d78c82857fc94cf916a0e91483566fbaa3ae9d3b6eacde46cf485be8912d" 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:39.27 ---> using "342175cbcca3d2e7439a8e49d953a41a641fd33389ae32a64d0e026e1e56cd76" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-18 16:39.27 ---> using "2c702272e1dedf073d86e5921443fe8509d1dae712d6127840e3496ff9662007" 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:39.27 ---> using "9aacb0a50839eaae096a9697be1e5cf2e59e9ddf4840e1d5398be1175fa01ea4" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-18 16:39.27 ---> saved as "f11e22853cc220e2815681502a9b20068c48bbc88b12baed4b3b103a0f6c362a"
/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:39.33 ---> saved as "5d0446e5660e3af21b5de6b4a2c1d2e095d0a10774581d6ef9e0b92eb5e1f6f4"
/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 "yum" "makecache"
- Fedora 40 - x86_64 288 kB/s | 28 kB 00:00
- Fedora 40 openh264 (From Cisco) - x86_64 11 kB/s | 989 B 00:00
- Fedora 40 - x86_64 - Updates 255 kB/s | 25 kB 00:00
- Metadata cache created.
<><> 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:40.09 ---> saved as "4983bd74184bff39fcd91535b4ccfdf10f09a947c569209cf5d74d07acf59e4a"
/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 multicore-magic.2.3.0 (cached)
-> retrieved mdx.2.4.1 (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 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)
-> retrieved dune.3.16.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed mtime.2.1.0
-> installed uutf.1.0.3
-> 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 thread-table.1.0.0
-> installed csexp.1.5.2
-> installed result.1.5
-> installed backoff.0.1.0
-> installed multicore-magic.2.3.0
-> installed camlp-streams.5.0.1
-> installed ocaml-version.3.6.8
-> installed stdlib-shims.0.3.0
-> installed psq.0.2.1
-> installed domain-local-await.1.0.1
-> installed domain-local-timeout.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 alcotest.1.8.0
-> installed multicore-bench.0.1.5
-> 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:41.48 ---> saved as "99cccde85d25cf8b14d3d40cf2c73a141331863d7bd8bc63dabab13305365007"
/src: (copy (src .) (dst /src))
2024-09-18 16:41.48 ---> saved as "9e123db8ad040299f4af527f360d8e05ab68a633d261ad28447e7c72e15d6580"
/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_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `ZIA1NZ0G'.
[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.010s. 4 tests run.
(cd _build/default/test/kcas && ./threads.exe)
Testing `Threads'.
This run has ID `CN67Z0T9'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.016s. 1 test run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `LNA5GSZS'.
[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 `L43J5RYF'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Transactions'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `KSHAQ5U6'.
[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 `ACSMBY37'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.008s. 1 test run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `6CUYSW51'.
[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.001s. 3 tests run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `COPKGA1X'.
[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.184s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
11.08 ns
ops over time/get:
90.24 M/s
time per op/incr:
49.46 ns
ops over time/incr:
20.22 M/s
time per op/push & pop:
60.02 ns
ops over time/push & pop:
16.66 M/s
time per op/cas int:
35.62 ns
ops over time/cas int:
28.07 M/s
time per op/xchg int:
40.75 ns
ops over time/xchg int:
24.54 M/s
time per op/swap:
47.28 ns
ops over time/swap:
21.15 M/s
Kcas Xt:
time per transaction/0 loc tx:
50.47 ns
transactions over time/0 loc tx:
19.81 M/s
time per transaction/1 loc tx:
152.62 ns
transactions over time/1 loc tx:
6.55 M/s
time per transaction/2 loc tx:
431.91 ns
transactions over time/2 loc tx:
2.32 M/s
time per transaction/4 loc tx:
818.15 ns
transactions over time/4 loc tx:
1.22 M/s
time per transaction/8 loc tx:
1066.16 ns
transactions over time/8 loc tx:
0.94 M/s
Kcas Xt Leftist_heap (unscalable):
time per operation/1 worker, 10 preload:
1964.88 ns
operations over time/1 worker, 10 preload:
0.51 M/s
time per operation/2 workers, 10 preload:
3979.92 ns
operations over time/2 workers, 10 preload:
0.50 M/s
time per operation/4 workers, 10 preload:
10606.85 ns
operations over time/4 workers, 10 preload:
0.38 M/s
time per operation/1 worker, 100 preload:
7217.84 ns
operations over time/1 worker, 100 preload:
0.14 M/s
time per operation/2 workers, 100 preload:
14626.82 ns
operations over time/2 workers, 100 preload:
0.14 M/s
time per operation/4 workers, 100 preload:
28223.24 ns
operations over time/4 workers, 100 preload:
0.14 M/s
time per operation/1 worker, 1000 preload:
22459.86 ns
operations over time/1 worker, 1000 preload:
0.04 M/s
time per operation/2 workers, 1000 preload:
46758.59 ns
operations over time/2 workers, 1000 preload:
0.04 M/s
time per operation/4 workers, 1000 preload:
82549.76 ns
operations over time/4 workers, 1000 preload:
0.05 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
47.56 ns
transactions over time/0 loc tx:
21.02 M/s
time per transaction/1 loc tx:
96.51 ns
transactions over time/1 loc tx:
10.36 M/s
time per transaction/2 loc tx:
127.73 ns
transactions over time/2 loc tx:
7.84 M/s
time per transaction/4 loc tx:
169.93 ns
transactions over time/4 loc tx:
5.88 M/s
time per transaction/8 loc tx:
391.63 ns
transactions over time/8 loc tx:
2.55 M/s
Kcas parallel CMP:
time per transaction/1 worker:
485.06 ns
transactions over time/1 worker:
2.06 M/s
time per transaction/2 workers:
959.84 ns
transactions over time/2 workers:
2.08 M/s
time per transaction/4 workers:
1632.01 ns
transactions over time/4 workers:
2.45 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
102.81 ns
operations over time/1 worker, 0% reads:
9.73 M/s
time per operation/2 workers, 0% reads:
210.09 ns
operations over time/2 workers, 0% reads:
9.52 M/s
time per operation/4 workers, 0% reads:
430.70 ns
operations over time/4 workers, 0% reads:
9.29 M/s
Kcas_data Dllist:
time per message/one domain:
1646.52 ns
messages over time/one domain:
0.61 M/s
time per message/1 nb adder, 1 nb taker:
2067.72 ns
messages over time/1 nb adder, 1 nb taker:
0.97 M/s
time per message/1 nb adder, 2 nb takers:
3224.01 ns
messages over time/1 nb adder, 2 nb takers:
0.93 M/s
time per message/2 nb adders, 1 nb taker:
4086.09 ns
messages over time/2 nb adders, 1 nb taker:
0.73 M/s
time per message/2 nb adders, 2 nb takers:
4888.50 ns
messages over time/2 nb adders, 2 nb takers:
0.82 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
287.31 ns
operations over time/1 worker, 90% reads:
3.48 M/s
time per operation/2 workers, 90% reads:
755.25 ns
operations over time/2 workers, 90% reads:
2.65 M/s
time per operation/4 workers, 90% reads:
1499.56 ns
operations over time/4 workers, 90% reads:
2.67 M/s
time per operation/1 worker, 50% reads:
828.43 ns
operations over time/1 worker, 50% reads:
1.21 M/s
time per operation/2 workers, 50% reads:
2270.16 ns
operations over time/2 workers, 50% reads:
0.88 M/s
time per operation/4 workers, 50% reads:
5304.55 ns
operations over time/4 workers, 50% reads:
0.75 M/s
time per operation/1 worker, 10% reads:
1426.49 ns
operations over time/1 worker, 10% reads:
0.70 M/s
time per operation/2 workers, 10% reads:
2590.00 ns
operations over time/2 workers, 10% reads:
0.77 M/s
time per operation/4 workers, 10% reads:
4791.69 ns
operations over time/4 workers, 10% reads:
0.83 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
51759.43 ns
messages over time/1 nb adder, 1 nb taker:
0.04 M/s
time per message/1 nb adder, 1 taker:
47415.85 ns
messages over time/1 nb adder, 1 taker:
0.04 M/s
time per message/1 nb adder, 2 nb takers:
80450.21 ns
messages over time/1 nb adder, 2 nb takers:
0.04 M/s
time per message/1 nb adder, 2 takers:
73620.48 ns
messages over time/1 nb adder, 2 takers:
0.04 M/s
time per message/1 adder, 1 nb taker:
51953.36 ns
messages over time/1 adder, 1 nb taker:
0.04 M/s
time per message/1 adder, 1 taker:
45908.69 ns
messages over time/1 adder, 1 taker:
0.04 M/s
time per message/1 adder, 2 nb takers:
67448.67 ns
messages over time/1 adder, 2 nb takers:
0.04 M/s
time per message/1 adder, 2 takers:
72273.37 ns
messages over time/1 adder, 2 takers:
0.04 M/s
time per message/2 nb adders, 1 nb taker:
107633.42 ns
messages over time/2 nb adders, 1 nb taker:
0.03 M/s
time per message/2 nb adders, 1 taker:
90164.60 ns
messages over time/2 nb adders, 1 taker:
0.03 M/s
time per message/2 nb adders, 2 nb takers:
107215.17 ns
messages over time/2 nb adders, 2 nb takers:
0.04 M/s
time per message/2 nb adders, 2 takers:
106052.06 ns
messages over time/2 nb adders, 2 takers:
0.04 M/s
time per message/2 adders, 1 nb taker:
82540.61 ns
messages over time/2 adders, 1 nb taker:
0.04 M/s
time per message/2 adders, 1 taker:
81190.73 ns
messages over time/2 adders, 1 taker:
0.04 M/s
time per message/2 adders, 2 nb takers:
165446.29 ns
messages over time/2 adders, 2 nb takers:
0.02 M/s
time per message/2 adders, 2 takers:
82203.70 ns
messages over time/2 adders, 2 takers:
0.05 M/s
Kcas_data Queue:
time per message/one domain:
283.66 ns
messages over time/one domain:
3.53 M/s
time per message/1 nb adder, 1 nb taker:
220.39 ns
messages over time/1 nb adder, 1 nb taker:
9.07 M/s
time per message/1 nb adder, 1 taker:
239.82 ns
messages over time/1 nb adder, 1 taker:
8.34 M/s
time per message/1 nb adder, 2 nb takers:
325.16 ns
messages over time/1 nb adder, 2 nb takers:
9.23 M/s
time per message/1 nb adder, 2 takers:
413.08 ns
messages over time/1 nb adder, 2 takers:
7.26 M/s
time per message/2 nb adders, 1 nb taker:
321.22 ns
messages over time/2 nb adders, 1 nb taker:
9.34 M/s
time per message/2 nb adders, 1 taker:
370.65 ns
messages over time/2 nb adders, 1 taker:
8.09 M/s
time per message/2 nb adders, 2 nb takers:
556.36 ns
messages over time/2 nb adders, 2 nb takers:
7.26 M/s
time per message/2 nb adders, 2 takers:
587.14 ns
messages over time/2 nb adders, 2 takers:
6.81 M/s
Kcas_data Stack:
time per message/one domain:
208.02 ns
messages over time/one domain:
4.81 M/s
time per message/1 nb adder, 1 nb taker:
208.74 ns
messages over time/1 nb adder, 1 nb taker:
9.58 M/s
time per message/1 nb adder, 1 taker:
197.89 ns
messages over time/1 nb adder, 1 taker:
10.11 M/s
time per message/1 nb adder, 2 nb takers:
386.62 ns
messages over time/1 nb adder, 2 nb takers:
7.76 M/s
time per message/1 nb adder, 2 takers:
347.43 ns
messages over time/1 nb adder, 2 takers:
8.64 M/s
time per message/2 nb adders, 1 nb taker:
382.16 ns
messages over time/2 nb adders, 1 nb taker:
7.85 M/s
time per message/2 nb adders, 1 taker:
344.80 ns
messages over time/2 nb adders, 1 taker:
8.70 M/s
time per message/2 nb adders, 2 nb takers:
463.18 ns
messages over time/2 nb adders, 2 nb takers:
8.64 M/s
time per message/2 nb adders, 2 takers:
435.25 ns
messages over time/2 nb adders, 2 takers:
9.19 M/s
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `3FSQXMZ7'.
[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.321s. 2 tests run.
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 2980979244905992666
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 7.9s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 4332878743629465868
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 15.0s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 4499514880401582001
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 19.7s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3089790504454740205
generated error fail pass / total time test name
[✓] 91 0 0 91 / 91 0.0s Dllist sequential
[✓] 91 0 0 91 / 91 8.5s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3616526898131925094
generated error fail pass / total time test name
[✓] 55 0 0 55 / 55 0.0s Dllist sequential
[✓] 55 0 0 55 / 55 4.2s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1593424218927101358
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 5.0s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 1436900710845376554
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 8.0s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3695557398605977810
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 14.6s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3808993841583145429
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 16.0s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3279063826724498010
generated error fail pass / total time test name
[✓] 123 0 0 123 / 123 0.0s Stack sequential
[✓] 123 0 0 123 / 123 13.2s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3153146795390417256
generated error fail pass / total time test name
[✓] 54 0 0 54 / 54 0.0s Stack sequential
[✓] 54 0 0 54 / 54 3.4s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 537453749277887968
generated error fail pass / total time test name
[✓] 34 0 0 34 / 34 0.0s Stack sequential
[✓] 34 0 0 34 / 34 4.9s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 520537166799581832
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 6.9s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2458914837170332740
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 15.8s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2294346291936764699
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 20.4s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1520269886279545419
generated error fail pass / total time test name
[✓] 87 0 0 87 / 87 0.0s Queue sequential
[✓] 87 0 0 87 / 87 10.8s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3152959593299582741
generated error fail pass / total time test name
[✓] 35 0 0 35 / 35 0.0s Queue sequential
[✓] 35 0 0 35 / 35 2.3s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 4427579896562327063
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 4.2s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 963433903878906836
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 10.7s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 1404075908365537530
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 16.6s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2583073957204276862
generated error fail pass / total time test name
[✓] 115 0 0 115 / 115 0.0s Hashtbl sequential
[✓] 115 0 0 115 / 115 15.2s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4366903413767141295
generated error fail pass / total time test name
[✓] 87 0 0 87 / 87 0.0s Hashtbl sequential
[✓] 87 0 0 87 / 87 5.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2270105277017203252
generated error fail pass / total time test name
[✓] 71 0 0 71 / 71 0.0s Hashtbl sequential
[✓] 71 0 0 71 / 71 6.1s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2259842776999801629
generated error fail pass / total time test name
[✓] 37 0 0 37 / 37 0.0s Hashtbl sequential
[✓] 37 0 0 37 / 37 3.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 67595395180912680
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[ ] 31 0 0 31 /
[✓] 32 0 0 32 / 32 3.1s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 792957151636544078
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 7.8s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3112675672620238339
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 14.3s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3412321859825607670
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 18.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2625931448230758632
generated error fail pass / total time test name
[✓] 108 0 0 108 / 108 0.0s Accumulator sequential
[✓] 108 0 0 108 / 108 9.6s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2314775134350644064
generated error fail pass / total time test name
[✓] 66 0 0 66 / 66 0.0s Accumulator sequential
[✓] 66 0 0 66 / 66 5.8s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2114464114521297972
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 3.9s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3136358522823005372
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 7.2s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 2980042191841360695
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.3s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 1360685387309974799
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.9s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2290573933206396309
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.4s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3884690988814653931
generated error fail pass / total time test name
[✓] 91 0 0 91 / 91 0.0s Hashtbl_with_order sequential
[✓] 91 0 0 91 / 91 12.2s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 1257152586117106889
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.1s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2515908458568377026
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 8.3s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-09-18 16:42.59 ---> saved as "74176d9801503ce0dcf00d296917b5b852509c75647c021aba3e3f64110c32b5"
Job succeeded
2024-09-18 16:42.59: Job succeeded