2024-09-18 15:15.25: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/main (571518183c47ef140590d839c360c338ae78cd03) (linux-x86_64:ubuntu-20.04-4.14_opam-2.2)
Base: ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "main" && cd "kcas" && git reset --hard 57151818
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5
# ubuntu-20.04-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 kcas_data.opam kcas.opam ./
RUN opam pin add -yn kcas_data.dev './' && \
opam pin add -yn kcas.dev './'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-09-18 15:15.25: Using cache hint "ocaml-multicore/kcas-ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5-ubuntu-20.04-4.14_opam-2.2-6f18f9c4802d6c411f3695732ffd3e0c"
2024-09-18 15:15.25: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5)
(comment ubuntu-20.04-4.14_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src kcas_data.opam kcas.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-09-18 15:15.25: Waiting for resource in pool OCluster
2024-09-18 16:51.15: Waiting for worker…
2024-09-18 16:51.15: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
HEAD is now at 5715181 Require multicore-bench 0.1.5
(from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5' locally
docker.io/ocaml/opam@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5: Pulling from ocaml/opam
aba7b73f38e0: Pulling fs layer
aba7b73f38e0: Verifying Checksum
aba7b73f38e0: Download complete
aba7b73f38e0: Pull complete
Digest: sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5
Status: Downloaded newer image for ocaml/opam@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5
2024-09-18 16:51.15 ---> using "25496fbf6ce192ce5dd26299fc1accbd3acd3fd0aef161f60c28f64fc5bbc74d" from cache
/: (comment ubuntu-20.04-4.14_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-09-18 16:51.15 ---> using "b92d48a8864abcea9b263663c967cf9a655cbb01567107cdbc04879238bd9b9a" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-18 16:51.15 ---> using "decd1204226e4e76ec308abd411c14a0f664eb4a4782b33fdbabd56ce97dfe49" 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:51.15 ---> using "3d8109942344cabff9f0afc137206be340a7dcbaaaac18f91bdeb050c73100f9" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-18 16:51.15 ---> using "5bf3af136f109eb7d95b239ee655fa6f37ddb81007022004163320e5ba19f16c" 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:51.15 ---> using "af60894ff3e67aa66f0b70d487fd7b4ad7d6061090cff8c167617253660e5250" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-18 16:51.15 ---> saved as "76e3ac4bbbb8e6345d2503cd60e7e8b27d712277853d0f6c6ec041021a5a8b31"
/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:51.19 ---> saved as "7112367aae92b6d215e99fe4d7f927fd7b62105710cc063b90cd52443750b291"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:3 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [30.9 kB]
- Get:4 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4008 kB]
- Get:5 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1273 kB]
- Get:6 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4016 kB]
- Get:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Hit:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease
- Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4478 kB]
- Get:10 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [33.5 kB]
- Get:11 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1559 kB]
- Get:12 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4178 kB]
- Fetched 19.8 MB in 2s (11.8 MB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas.dev] synchronised (no changes)
[kcas_data.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-09-18 16:51.42 ---> saved as "a3712a497ade0d99efa61d7a4c1a7a3d90e7961219d7de1b0144c5d05c5d93a4"
/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 camlp-streams.5.0.1 (cached)
-> retrieved astring.0.8.5 (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 multicore-bench.0.1.5 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.8 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved 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 dune.3.16.0 (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 fmt.0.9.0
-> installed mtime.2.1.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 result.1.5
-> installed thread-table.1.0.0
-> installed stdlib-shims.0.3.0
-> installed camlp-streams.5.0.1
-> installed ocaml-version.3.6.8
-> installed backoff.0.1.0
-> installed multicore-magic.2.3.0
-> installed psq.0.2.1
-> installed domain-local-await.1.0.1
-> installed domain-local-timeout.1.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed cppo.1.7.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed qcheck-multicoretests-util.0.4
-> installed multicore-bench.0.1.5
-> installed alcotest.1.8.0
-> installed qcheck-stm.0.4
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-18 16:52.34 ---> saved as "f8d350a9982d16704d464ffb705a4ab618f027151aa1929bb043b48da2700e62"
/src: (copy (src .) (dst /src))
2024-09-18 16:52.34 ---> saved as "eb2662a3d55de7a1108e46372d955a0c52f44c5dcf5b0e4bcaaa96c671b8e6f1"
/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 `GN3OZWUS'.
[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 && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `7Y4DBBCK'.
[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_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `CJJ63ZWB'.
[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 && ./stack_test.exe)
Testing `Stack'.
This run has ID `U57C9QM7'.
[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 `INS76FZ7'.
[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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `CGAM6C1M'.
[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_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `71MKQJ4E'.
[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 && ./test.exe)
Testing `Kcas'.
This run has ID `ZSC7P0WB'.
[OK] non linearizable xt 0
[OK] set 0
[OK] no skew xt 0
[OK] get seq xt 0
[OK] stress xt 0
[OK] is_in_log 0
[OK] updates 0
[OK] post commit 0
[OK] blocking 0
[OK] no unnecessary wakeups 0
[OK] pediodic validation 0
[OK] explicit validation 0
[OK] rollback 0
[OK] call 0
[OK] mode 0
[OK] xt 0
[OK] timeout (non-deterministic) 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Kcas'.
Test Successful in 0.760s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
14.04 ns
ops over time/get:
71.21 M/s
time per op/incr:
65.68 ns
ops over time/incr:
15.23 M/s
time per op/push & pop:
46.81 ns
ops over time/push & pop:
21.36 M/s
time per op/cas int:
12.88 ns
ops over time/cas int:
77.66 M/s
time per op/xchg int:
13.39 ns
ops over time/xchg int:
74.66 M/s
time per op/swap:
18.01 ns
ops over time/swap:
55.51 M/s
Kcas Xt:
time per transaction/0 loc tx:
14.66 ns
transactions over time/0 loc tx:
68.23 M/s
time per transaction/1 loc tx:
39.95 ns
transactions over time/1 loc tx:
25.03 M/s
time per transaction/2 loc tx:
91.96 ns
transactions over time/2 loc tx:
10.87 M/s
time per transaction/4 loc tx:
171.79 ns
transactions over time/4 loc tx:
5.82 M/s
time per transaction/8 loc tx:
338.50 ns
transactions over time/8 loc tx:
2.95 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
22.04 ns
transactions over time/0 loc tx:
45.37 M/s
time per transaction/1 loc tx:
53.54 ns
transactions over time/1 loc tx:
18.68 M/s
time per transaction/2 loc tx:
101.20 ns
transactions over time/2 loc tx:
9.88 M/s
time per transaction/4 loc tx:
169.18 ns
transactions over time/4 loc tx:
5.91 M/s
time per transaction/8 loc tx:
184.15 ns
transactions over time/8 loc tx:
5.43 M/s
Kcas parallel CMP:
time per transaction/1 worker:
253.54 ns
transactions over time/1 worker:
3.94 M/s
time per transaction/2 workers:
271.97 ns
transactions over time/2 workers:
7.35 M/s
time per transaction/4 workers:
530.55 ns
transactions over time/4 workers:
7.54 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
30.95 ns
operations over time/1 worker, 0% reads:
32.31 M/s
time per operation/2 workers, 0% reads:
64.67 ns
operations over time/2 workers, 0% reads:
30.93 M/s
time per operation/4 workers, 0% reads:
128.68 ns
operations over time/4 workers, 0% reads:
31.08 M/s
Kcas_data Dllist:
time per message/one domain:
956.85 ns
messages over time/one domain:
1.05 M/s
time per message/1 nb adder, 1 nb taker:
1044.99 ns
messages over time/1 nb adder, 1 nb taker:
1.91 M/s
time per message/1 nb adder, 2 nb takers:
1460.04 ns
messages over time/1 nb adder, 2 nb takers:
2.05 M/s
time per message/2 nb adders, 1 nb taker:
1539.58 ns
messages over time/2 nb adders, 1 nb taker:
1.95 M/s
time per message/2 nb adders, 2 nb takers:
2231.77 ns
messages over time/2 nb adders, 2 nb takers:
1.79 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
109.25 ns
operations over time/1 worker, 90% reads:
9.15 M/s
time per operation/2 workers, 90% reads:
225.64 ns
operations over time/2 workers, 90% reads:
8.86 M/s
time per operation/4 workers, 90% reads:
469.02 ns
operations over time/4 workers, 90% reads:
8.53 M/s
time per operation/1 worker, 50% reads:
246.19 ns
operations over time/1 worker, 50% reads:
4.06 M/s
time per operation/2 workers, 50% reads:
492.75 ns
operations over time/2 workers, 50% reads:
4.06 M/s
time per operation/4 workers, 50% reads:
1178.72 ns
operations over time/4 workers, 50% reads:
3.39 M/s
time per operation/1 worker, 10% reads:
273.89 ns
operations over time/1 worker, 10% reads:
3.65 M/s
time per operation/2 workers, 10% reads:
616.38 ns
operations over time/2 workers, 10% reads:
3.24 M/s
time per operation/4 workers, 10% reads:
1234.39 ns
operations over time/4 workers, 10% reads:
3.24 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
27105.02 ns
messages over time/1 nb adder, 1 nb taker:
0.07 M/s
time per message/1 nb adder, 1 taker:
23338.27 ns
messages over time/1 nb adder, 1 taker:
0.09 M/s
time per message/1 nb adder, 2 nb takers:
44048.43 ns
messages over time/1 nb adder, 2 nb takers:
0.07 M/s
time per message/1 nb adder, 2 takers:
41304.98 ns
messages over time/1 nb adder, 2 takers:
0.07 M/s
time per message/1 adder, 1 nb taker:
26682.18 ns
messages over time/1 adder, 1 nb taker:
0.07 M/s
time per message/1 adder, 1 taker:
27321.40 ns
messages over time/1 adder, 1 taker:
0.07 M/s
time per message/1 adder, 2 nb takers:
41324.42 ns
messages over time/1 adder, 2 nb takers:
0.07 M/s
time per message/1 adder, 2 takers:
34352.54 ns
messages over time/1 adder, 2 takers:
0.09 M/s
time per message/2 nb adders, 1 nb taker:
24591.16 ns
messages over time/2 nb adders, 1 nb taker:
0.12 M/s
time per message/2 nb adders, 1 taker:
34585.17 ns
messages over time/2 nb adders, 1 taker:
0.09 M/s
time per message/2 nb adders, 2 nb takers:
44190.75 ns
messages over time/2 nb adders, 2 nb takers:
0.09 M/s
time per message/2 nb adders, 2 takers:
53258.76 ns
messages over time/2 nb adders, 2 takers:
0.08 M/s
time per message/2 adders, 1 nb taker:
36099.17 ns
messages over time/2 adders, 1 nb taker:
0.08 M/s
time per message/2 adders, 1 taker:
36023.60 ns
messages over time/2 adders, 1 taker:
0.08 M/s
time per message/2 adders, 2 nb takers:
44880.89 ns
messages over time/2 adders, 2 nb takers:
0.09 M/s
time per message/2 adders, 2 takers:
46593.01 ns
messages over time/2 adders, 2 takers:
0.09 M/s
Kcas_data Queue:
time per message/one domain:
132.40 ns
messages over time/one domain:
7.55 M/s
time per message/1 nb adder, 1 nb taker:
130.20 ns
messages over time/1 nb adder, 1 nb taker:
15.36 M/s
time per message/1 nb adder, 1 taker:
118.00 ns
messages over time/1 nb adder, 1 taker:
16.95 M/s
time per message/1 nb adder, 2 nb takers:
126.20 ns
messages over time/1 nb adder, 2 nb takers:
23.77 M/s
time per message/1 nb adder, 2 takers:
211.36 ns
messages over time/1 nb adder, 2 takers:
14.19 M/s
time per message/2 nb adders, 1 nb taker:
190.50 ns
messages over time/2 nb adders, 1 nb taker:
15.75 M/s
time per message/2 nb adders, 1 taker:
185.03 ns
messages over time/2 nb adders, 1 taker:
16.21 M/s
time per message/2 nb adders, 2 nb takers:
292.96 ns
messages over time/2 nb adders, 2 nb takers:
13.65 M/s
time per message/2 nb adders, 2 takers:
538.77 ns
messages over time/2 nb adders, 2 takers:
7.42 M/s
Kcas_data Stack:
time per message/one domain:
108.59 ns
messages over time/one domain:
9.21 M/s
time per message/1 nb adder, 1 nb taker:
125.82 ns
messages over time/1 nb adder, 1 nb taker:
15.90 M/s
time per message/1 nb adder, 1 taker:
145.52 ns
messages over time/1 nb adder, 1 taker:
13.74 M/s
time per message/1 nb adder, 2 nb takers:
138.85 ns
messages over time/1 nb adder, 2 nb takers:
21.61 M/s
time per message/1 nb adder, 2 takers:
201.59 ns
messages over time/1 nb adder, 2 takers:
14.88 M/s
time per message/2 nb adders, 1 nb taker:
161.54 ns
messages over time/2 nb adders, 1 nb taker:
18.58 M/s
time per message/2 nb adders, 1 taker:
168.56 ns
messages over time/2 nb adders, 1 taker:
17.80 M/s
time per message/2 nb adders, 2 nb takers:
296.33 ns
messages over time/2 nb adders, 2 nb takers:
13.50 M/s
time per message/2 nb adders, 2 takers:
278.26 ns
messages over time/2 nb adders, 2 takers:
14.38 M/s
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `LM2T2J9S'.
[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.114s. 2 tests run.
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 383824002793588003
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.2s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1521952869975162853
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 2.6s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1623909414072467114
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 4.6s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 626229987809703544
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Stack sequential
[✓] 256 0 0 256 / 256 8.5s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 4224761821659613652
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Stack sequential
[✓] 512 0 0 512 / 512 15.3s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1992526161538762635
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 0.7s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 4202154668108492113
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 1.4s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1892848749404809261
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 3.2s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2461925117683064447
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 3.5s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1858710267210934366
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Queue sequential
[✓] 256 0 0 256 / 256 8.6s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 815569883609661514
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Queue sequential
[✓] 512 0 0 512 / 512 21.5s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 928767661207206633
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 1.8s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 4195420166635251476
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 1.2s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 599090133222673054
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 2.7s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2077922511162599189
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 4.7s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3198706817029926335
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Accumulator sequential
[✓] 256 0 0 256 / 256 9.5s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 1295926905414254241
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Accumulator sequential
[✓] 512 0 0 512 / 512 21.8s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3679963245679421544
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 1.2s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 2702240336964875142
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 2.3s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2942325840565802352
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 2.4s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 488629262762312469
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 4.3s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2370299921119683579
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl sequential
[✓] 256 0 0 256 / 256 11.1s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4005733710713304777
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Hashtbl sequential
[✓] 512 0 0 512 / 512 25.0s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 552903338321055306
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 0.8s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 3057044187532575391
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 1.6s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2577950697361242905
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 3.0s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1757357185075253370
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[ ] 55 0 0 55 / 128 2.
[✓] 128 0 0 128 / 128 5.7s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 2772510342271743247
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Dllist sequential
[✓] 256 0 0 256 / 256 10.0s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 277267375766318976
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Dllist sequential
[✓] 512 0 0 512 / 512 27.5s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3170564917548072303
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 1.2s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 1427286654544574596
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 1.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 4202137209746452671
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 2.7s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3757060320633663413
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 5.9s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2272794407957151984
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl_with_order sequential
[✓] 256 0 0 256 / 256 12.0s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 877072942707602342
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Hashtbl_with_order sequential
[✓] 512 0 0 512 / 512 28.2s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2654885469085953779
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 1.9s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-09-18 16:53.28 ---> saved as "3cba579734e6eac19fdbefed87b9cb716a42891332ab96a808b1a1157243937b"
Job succeeded
2024-09-18 16:53.28: Job succeeded