2024-10-01 14:13.45: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/add-xt-leftist-heap-benchmark (609c614dc8b898e02df72fb1a791d20aeaeb6c48) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.13@sha256:8d31da453d3048b9f72c9eb8a37b00ff5fc1ce58b38561a3e7c8c1677d78c332
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-12-ocaml-4.13@sha256:8d31da453d3048b9f72c9eb8a37b00ff5fc1ce58b38561a3e7c8c1677d78c332
# debian-12-4.13_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 12d7650ba97ec7883fa001a001e0433e54eb4e53 || git fetch origin master) && git reset -q --hard 12d7650ba97ec7883fa001a001e0433e54eb4e53 && 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-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.2.0 cppo.1.6.1 csexp.1.3.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.14.0 fmt.0.8.7 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta20.1 logs.0.7.0 mdx.2.4.1 mtime.2.0.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.2.4.0 ocamlbuild.0.14.0 ocamlfind.1.9.1 psq.0.2.1 qcheck-core.0.21.2 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.7.2 result.1.5 seq.0.2.2 stdlib-shims.0.1.0 thread-table.1.0.0 topkg.1.0.3 uchar.0.0.2 uutf.1.0.1 yojson.2.1.0"
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-01 14:13.45: Using cache hint "ocaml-multicore/kcas-ocaml/opam:debian-12-ocaml-4.13@sha256:8d31da453d3048b9f72c9eb8a37b00ff5fc1ce58b38561a3e7c8c1677d78c332-debian-12-4.13_opam-2.2-63bc8ae7edb843e521dd3d3d28808989"
2024-10-01 14:13.45: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:8d31da453d3048b9f72c9eb8a37b00ff5fc1ce58b38561a3e7c8c1677d78c332)
(comment debian-12-4.13_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 12d7650ba97ec7883fa001a001e0433e54eb4e53 || git fetch origin master) && git reset -q --hard 12d7650ba97ec7883fa001a001e0433e54eb4e53 && 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-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.2.0 cppo.1.6.1 csexp.1.3.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.14.0 fmt.0.8.7 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta20.1 logs.0.7.0 mdx.2.4.1 mtime.2.0.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.2.4.0 ocamlbuild.0.14.0 ocamlfind.1.9.1 psq.0.2.1 qcheck-core.0.21.2 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.7.2 result.1.5 seq.0.2.2 stdlib-shims.0.1.0 thread-table.1.0.0 topkg.1.0.3 uchar.0.0.2 uutf.1.0.1 yojson.2.1.0")
(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-01 14:13.45: Waiting for resource in pool OCluster
2024-10-01 14:59.44: Waiting for worker…
2024-10-01 15:03.01: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
HEAD is now at 609c614 Add a transaction benchmark using a naïve unscalable leftist heap
(from ocaml/opam:debian-12-ocaml-4.13@sha256:8d31da453d3048b9f72c9eb8a37b00ff5fc1ce58b38561a3e7c8c1677d78c332)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.13@sha256:8d31da453d3048b9f72c9eb8a37b00ff5fc1ce58b38561a3e7c8c1677d78c332' locally
docker.io/ocaml/opam@sha256:8d31da453d3048b9f72c9eb8a37b00ff5fc1ce58b38561a3e7c8c1677d78c332: Pulling from ocaml/opam
df8420cb3118: Pulling fs layer
df8420cb3118: Verifying Checksum
df8420cb3118: Download complete
df8420cb3118: Pull complete
Digest: sha256:8d31da453d3048b9f72c9eb8a37b00ff5fc1ce58b38561a3e7c8c1677d78c332
Status: Downloaded newer image for ocaml/opam@sha256:8d31da453d3048b9f72c9eb8a37b00ff5fc1ce58b38561a3e7c8c1677d78c332
2024-10-01 15:04.57 ---> saved as "dcbd03964b9b7d7f1d7e60e18cf5feaf28a246dfe0bf7f8c8e8707051ded5518"
/: (comment debian-12-4.13_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-01 15:04.57 ---> saved as "d0202970d3d5e31331f34f721716f1284192059e7e5a7437e20b875fccd9cbc7"
/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 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-01 15:06.36 ---> saved as "b6380e889b42658c563f017a9e266bf57d45eb26b5f131d678d54e226f58941b"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.13.1
2.2.1
2024-10-01 15:06.36 ---> saved as "70c53b1db23aa249b9c2207142014c7be9c8e59692bfa6504d2f4b4e5576fc3e"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-01 15:06.36 ---> saved as "b5e0e70c645742a5e2e06b38b71d3f8fcde7367d2de70f2518eac75635a174c8"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 12d7650ba97ec7883fa001a001e0433e54eb4e53 || git fetch origin master) && git reset -q --hard 12d7650ba97ec7883fa001a001e0433e54eb4e53 && git log --no-decorate -n1 --oneline && opam update -u"))
12d7650ba9 Merge pull request #26569 from polytypic/release-multicore-bench-0.1.5
<><> 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-01 15:07.46 ---> saved as "8d3f736a270ba2d5f590261e4441059c4c8f373ad0d97d3fa29fb9dfd8e694bf"
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-10-01 15:07.46 ---> saved as "7cc87d127a85ac9331b8b8862331b7f333fd01fc081d931072daa62d0a613744"
/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-01 15:07.50 ---> saved as "7b4ca64d594dfa6ac29e1dc643add3d296e596cf300cf075aa318e3a01a1d8b6"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.2.0 cppo.1.6.1 csexp.1.3.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.14.0 fmt.0.8.7 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta20.1 logs.0.7.0 mdx.2.4.1 mtime.2.0.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.2.4.0 ocamlbuild.0.14.0 ocamlfind.1.9.1 psq.0.2.1 qcheck-core.0.21.2 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.7.2 result.1.5 seq.0.2.2 stdlib-shims.0.1.0 thread-table.1.0.0 topkg.1.0.3 uchar.0.0.2 uutf.1.0.1 yojson.2.1.0")
/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 bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [185 kB]
- Fetched 288 kB in 0s (1180 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas.dev] synchronised (no changes)
[kcas_data.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.1).
[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-10-01 15:08.09 ---> saved as "95e330613d24204d50d65da6db07a533156bfcb0a1a50feb8578087a71548ba2"
/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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.1).
[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 36 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install backoff 0.1.0
- install base-bytes base
- install camlp-streams 5.0.1
- install cmdliner 1.2.0
- install cppo 1.6.1
- install csexp 1.3.2
- install domain-local-await 1.0.1
- install domain-local-timeout 1.0.1
- install domain_shims 0.1.0
- install dune 3.14.0
- install fmt 0.8.7
- install jbuilder 1.0+beta20.1
- install logs 0.7.0
- install mdx 2.4.1
- install mtime 2.0.0
- install multicore-bench 0.1.5
- install multicore-magic 2.3.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 2.4.0
- install ocamlbuild 0.14.0
- install ocamlfind 1.9.1
- install psq 0.2.1
- install qcheck-core 0.21.2
- install qcheck-multicoretests-util 0.3
- install qcheck-stm 0.3
- install re 1.7.2
- install result 1.5
- install seq 0.2.2
- install stdlib-shims 0.1.0
- install thread-table 1.0.0
- install topkg 1.0.3
- install uchar 0.0.2
- install uutf 1.0.1
- install yojson 2.1.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cppo.1.6.1 (cached)
-> retrieved cmdliner.1.2.0 (https://erratique.ch/software/cmdliner/releases/cmdliner-1.2.0.tbz)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved backoff.0.1.0 (https://github.com/ocaml-multicore/backoff/releases/download/0.1.0/backoff-0.1.0.tbz)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved csexp.1.3.2 (https://github.com/ocaml-dune/csexp/releases/download/1.3.2/csexp-1.3.2.tbz)
-> retrieved fmt.0.8.7 (https://erratique.ch/software/fmt/releases/fmt-0.8.7.tbz)
-> retrieved domain-local-timeout.1.0.1 (https://github.com/ocaml-multicore/domain-local-timeout/releases/download/1.0.1/domain-local-timeout-1.0.1.tbz)
-> retrieved logs.0.7.0 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved multicore-bench.0.1.5 (cached)
-> retrieved mtime.2.0.0 (https://erratique.ch/software/mtime/releases/mtime-2.0.0.tbz)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved dune.3.14.0 (https://github.com/ocaml/dune/releases/download/3.14.0/dune-3.14.0.tbz)
-> retrieved ocaml-version.2.4.0 (https://github.com/ocurrent/ocaml-version/releases/download/v2.4.0/ocaml-version-v2.4.0.tbz)
-> retrieved ocamlbuild.0.14.0 (https://github.com/ocaml/ocamlbuild/archive/0.14.0.tar.gz)
-> retrieved ocamlfind.1.9.1 (http://download.camlcity.org/download/findlib-1.9.1.tar.gz)
-> retrieved psq.0.2.1 (cached)
-> installed cmdliner.1.2.0
-> retrieved qcheck-core.0.21.2 (https://github.com/c-cube/qcheck/archive/v0.21.2.tar.gz)
-> retrieved result.1.5 (cached)
-> retrieved seq.0.2.2 (cached)
-> retrieved qcheck-multicoretests-util.0.3, qcheck-stm.0.3 (https://github.com/ocaml-multicore/multicoretests/archive/0.3.tar.gz)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved uchar.0.0.2 (cached)
-> retrieved re.1.7.2 (https://github.com/ocaml/ocaml-re/releases/download/1.7.2/re-1.7.2.tbz)
-> retrieved uutf.1.0.1 (http://erratique.ch/software/uutf/releases/uutf-1.0.1.tbz)
-> retrieved topkg.1.0.3 (http://erratique.ch/software/topkg/releases/topkg-1.0.3.tbz)
-> retrieved yojson.2.1.0 (https://github.com/ocaml-community/yojson/releases/download/2.1.0/yojson-2.1.0.tbz)
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed jbuilder.1.0+beta20.1
-> installed ocamlbuild.0.14.0
-> installed uchar.0.0.2
-> installed re.1.7.2
-> installed cppo.1.6.1
-> installed topkg.1.0.3
-> installed uutf.1.0.1
-> installed mtime.2.0.0
-> installed astring.0.8.5
-> installed dune.3.14.0
-> installed domain_shims.0.1.0
-> installed thread-table.1.0.0
-> installed result.1.5
-> installed stdlib-shims.0.1.0
-> installed multicore-magic.2.3.0
-> installed camlp-streams.5.0.1
-> installed backoff.0.1.0
-> installed seq.0.2.2
-> installed ocaml-version.2.4.0
-> installed domain-local-await.1.0.1
-> installed csexp.1.3.2
-> installed psq.0.2.1
-> installed ocaml-syntax-shims.1.0.0
-> installed domain-local-timeout.1.0.1
-> installed qcheck-core.0.21.2
-> installed fmt.0.8.7
-> installed qcheck-multicoretests-util.0.3
-> installed yojson.2.1.0
-> installed qcheck-stm.0.3
-> installed alcotest.1.8.0
-> installed logs.0.7.0
-> installed multicore-bench.0.1.5
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-01 15:09.05 ---> saved as "e76535f2d1b526ef8e9b02451a4caa454a02e2bec749a2ec8c52eeee7cf7e852"
/src: (copy (src .) (dst /src))
2024-10-01 15:09.05 ---> saved as "240a594d401cb030f1c58643f06ade4616e164fa6a7b14ea08197a58e34f3277"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/kcas_data && ./lru_cache_example.exe)
LRU Cache OK!
(cd _build/default/test/kcas && ./loc_modes.exe)
Loc modes OK!
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `V4V448UH'.
[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 && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `ZO0BO468'.
[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.032s. 4 tests run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `S6FP8LPI'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Transactions'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `ZR7FYTNS'.
[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 && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `Z0XDQI4C'.
[OK] basics 0
Full test results in `/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.042s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `5UNT436D'.
[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 && ./threads.exe)
Testing `Threads'.
This run has ID `ZC6VI0ZT'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.007s. 1 test run.
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `C56393GI'.
[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.097s. 17 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
9.55 ns
ops over time/get:
104.72 M/s
time per op/incr:
45.15 ns
ops over time/incr:
22.15 M/s
time per op/push & pop:
61.50 ns
ops over time/push & pop:
16.26 M/s
time per op/cas int:
30.16 ns
ops over time/cas int:
33.25 M/s
time per op/xchg int:
31.60 ns
ops over time/xchg int:
31.65 M/s
time per op/swap:
48.38 ns
ops over time/swap:
20.67 M/s
Kcas Xt:
time per transaction/0 loc tx:
37.36 ns
transactions over time/0 loc tx:
26.77 M/s
time per transaction/1 loc tx:
116.36 ns
transactions over time/1 loc tx:
8.59 M/s
time per transaction/2 loc tx:
306.63 ns
transactions over time/2 loc tx:
3.26 M/s
time per transaction/4 loc tx:
550.38 ns
transactions over time/4 loc tx:
1.82 M/s
time per transaction/8 loc tx:
936.94 ns
transactions over time/8 loc tx:
1.07 M/s
Kcas Xt Leftist_heap (unscalable):
time per operation/1 worker, 10 preload:
2190.64 ns
operations over time/1 worker, 10 preload:
0.46 M/s
time per operation/2 workers, 10 preload:
4230.32 ns
operations over time/2 workers, 10 preload:
0.47 M/s
time per operation/4 workers, 10 preload:
8304.90 ns
operations over time/4 workers, 10 preload:
0.48 M/s
time per operation/1 worker, 100 preload:
5943.21 ns
operations over time/1 worker, 100 preload:
0.17 M/s
time per operation/2 workers, 100 preload:
10442.76 ns
operations over time/2 workers, 100 preload:
0.19 M/s
time per operation/4 workers, 100 preload:
22170.12 ns
operations over time/4 workers, 100 preload:
0.18 M/s
time per operation/1 worker, 1000 preload:
18780.57 ns
operations over time/1 worker, 1000 preload:
0.05 M/s
time per operation/2 workers, 1000 preload:
35150.50 ns
operations over time/2 workers, 1000 preload:
0.06 M/s
time per operation/4 workers, 1000 preload:
68467.78 ns
operations over time/4 workers, 1000 preload:
0.06 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
37.86 ns
transactions over time/0 loc tx:
26.41 M/s
time per transaction/1 loc tx:
82.91 ns
transactions over time/1 loc tx:
12.07 M/s
time per transaction/2 loc tx:
156.05 ns
transactions over time/2 loc tx:
6.41 M/s
time per transaction/4 loc tx:
279.68 ns
transactions over time/4 loc tx:
3.58 M/s
time per transaction/8 loc tx:
505.69 ns
transactions over time/8 loc tx:
1.98 M/s
Kcas parallel CMP:
time per transaction/1 worker:
355.68 ns
transactions over time/1 worker:
2.81 M/s
time per transaction/2 workers:
732.76 ns
transactions over time/2 workers:
2.73 M/s
time per transaction/4 workers:
1480.05 ns
transactions over time/4 workers:
2.70 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
86.09 ns
operations over time/1 worker, 0% reads:
11.62 M/s
time per operation/2 workers, 0% reads:
180.18 ns
operations over time/2 workers, 0% reads:
11.10 M/s
time per operation/4 workers, 0% reads:
363.07 ns
operations over time/4 workers, 0% reads:
11.02 M/s
Kcas_data Dllist:
time per message/one domain:
1517.55 ns
messages over time/one domain:
0.66 M/s
time per message/1 nb adder, 1 nb taker:
2125.59 ns
messages over time/1 nb adder, 1 nb taker:
0.94 M/s
time per message/1 nb adder, 2 nb takers:
7701.54 ns
messages over time/1 nb adder, 2 nb takers:
0.39 M/s
time per message/2 nb adders, 1 nb taker:
3155.73 ns
messages over time/2 nb adders, 1 nb taker:
0.95 M/s
time per message/2 nb adders, 2 nb takers:
4341.18 ns
messages over time/2 nb adders, 2 nb takers:
0.92 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
343.26 ns
operations over time/1 worker, 90% reads:
2.91 M/s
time per operation/2 workers, 90% reads:
606.17 ns
operations over time/2 workers, 90% reads:
3.30 M/s
time per operation/4 workers, 90% reads:
1482.09 ns
operations over time/4 workers, 90% reads:
2.70 M/s
time per operation/1 worker, 50% reads:
827.63 ns
operations over time/1 worker, 50% reads:
1.21 M/s
time per operation/2 workers, 50% reads:
1545.33 ns
operations over time/2 workers, 50% reads:
1.29 M/s
time per operation/4 workers, 50% reads:
3204.27 ns
operations over time/4 workers, 50% reads:
1.25 M/s
time per operation/1 worker, 10% reads:
2805.21 ns
operations over time/1 worker, 10% reads:
0.36 M/s
time per operation/2 workers, 10% reads:
2326.37 ns
operations over time/2 workers, 10% reads:
0.86 M/s
time per operation/4 workers, 10% reads:
3995.86 ns
operations over time/4 workers, 10% reads:
1.00 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
38114.92 ns
messages over time/1 nb adder, 1 nb taker:
0.05 M/s
time per message/1 nb adder, 1 taker:
47328.62 ns
messages over time/1 nb adder, 1 taker:
0.04 M/s
time per message/1 nb adder, 2 nb takers:
80238.01 ns
messages over time/1 nb adder, 2 nb takers:
0.04 M/s
time per message/1 nb adder, 2 takers:
53198.18 ns
messages over time/1 nb adder, 2 takers:
0.06 M/s
time per message/1 adder, 1 nb taker:
45414.06 ns
messages over time/1 adder, 1 nb taker:
0.04 M/s
time per message/1 adder, 1 taker:
45760.69 ns
messages over time/1 adder, 1 taker:
0.04 M/s
time per message/1 adder, 2 nb takers:
55399.23 ns
messages over time/1 adder, 2 nb takers:
0.05 M/s
time per message/1 adder, 2 takers:
61069.35 ns
messages over time/1 adder, 2 takers:
0.05 M/s
time per message/2 nb adders, 1 nb taker:
54187.40 ns
messages over time/2 nb adders, 1 nb taker:
0.06 M/s
time per message/2 nb adders, 1 taker:
58997.87 ns
messages over time/2 nb adders, 1 taker:
0.05 M/s
time per message/2 nb adders, 2 nb takers:
73042.66 ns
messages over time/2 nb adders, 2 nb takers:
0.05 M/s
time per message/2 nb adders, 2 takers:
99537.87 ns
messages over time/2 nb adders, 2 takers:
0.04 M/s
time per message/2 adders, 1 nb taker:
56319.76 ns
messages over time/2 adders, 1 nb taker:
0.05 M/s
time per message/2 adders, 1 taker:
58145.65 ns
messages over time/2 adders, 1 taker:
0.05 M/s
time per message/2 adders, 2 nb takers:
96703.62 ns
messages over time/2 adders, 2 nb takers:
0.04 M/s
time per message/2 adders, 2 takers:
79315.35 ns
messages over time/2 adders, 2 takers:
0.05 M/s
Kcas_data Queue:
time per message/one domain:
254.05 ns
messages over time/one domain:
3.94 M/s
time per message/1 nb adder, 1 nb taker:
184.82 ns
messages over time/1 nb adder, 1 nb taker:
10.82 M/s
time per message/1 nb adder, 1 taker:
187.85 ns
messages over time/1 nb adder, 1 taker:
10.65 M/s
time per message/1 nb adder, 2 nb takers:
309.87 ns
messages over time/1 nb adder, 2 nb takers:
9.68 M/s
time per message/1 nb adder, 2 takers:
323.81 ns
messages over time/1 nb adder, 2 takers:
9.26 M/s
time per message/2 nb adders, 1 nb taker:
309.36 ns
messages over time/2 nb adders, 1 nb taker:
9.70 M/s
time per message/2 nb adders, 1 taker:
259.64 ns
messages over time/2 nb adders, 1 taker:
11.55 M/s
time per message/2 nb adders, 2 nb takers:
456.46 ns
messages over time/2 nb adders, 2 nb takers:
8.76 M/s
time per message/2 nb adders, 2 takers:
402.47 ns
messages over time/2 nb adders, 2 takers:
9.94 M/s
Kcas_data Stack:
time per message/one domain:
198.21 ns
messages over time/one domain:
5.05 M/s
time per message/1 nb adder, 1 nb taker:
211.24 ns
messages over time/1 nb adder, 1 nb taker:
9.47 M/s
time per message/1 nb adder, 1 taker:
212.62 ns
messages over time/1 nb adder, 1 taker:
9.41 M/s
time per message/1 nb adder, 2 nb takers:
364.49 ns
messages over time/1 nb adder, 2 nb takers:
8.23 M/s
time per message/1 nb adder, 2 takers:
353.56 ns
messages over time/1 nb adder, 2 takers:
8.49 M/s
time per message/2 nb adders, 1 nb taker:
291.86 ns
messages over time/2 nb adders, 1 nb taker:
10.28 M/s
time per message/2 nb adders, 1 taker:
267.23 ns
messages over time/2 nb adders, 1 taker:
11.23 M/s
time per message/2 nb adders, 2 nb takers:
450.70 ns
messages over time/2 nb adders, 2 nb takers:
8.88 M/s
time per message/2 nb adders, 2 takers:
397.79 ns
messages over time/2 nb adders, 2 takers:
10.06 M/s
(cd _build/default/test/kcas && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `L9575CXF'.
[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.412s. 2 tests run.
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 3869901355253152706
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 15.4s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3414946222275966083
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 22.0s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3318281138584083894
generated error fail pass / total time test name
[✓] 57 0 0 57 / 57 0.1s Queue sequential
[✓] 57 0 0 57 / 57 24.4s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 4489062532406663137
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.1s Dllist sequential
[✓] 32 0 0 32 / 32 14.8s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1479695062165194765
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.1s Dllist sequential
[✓] 64 0 0 64 / 64 21.2s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3032576856646595247
generated error fail pass / total time test name
[✓] 63 0 0 63 / 63 0.1s Dllist sequential
[✓] 63 0 0 63 / 63 29.3s Dllist concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 407227688333833046
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 13.8s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 233304755664908647
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.1s Stack sequential
[✓] 64 0 0 64 / 64 19.4s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 4231598763480805715
generated error fail pass / total time test name
[✓] 76 0 0 76 / 76 0.0s Stack sequential
[✓] 76 0 0 76 / 76 32.2s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 4123177693158688867
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.1s Hashtbl sequential
[✓] 32 0 0 32 / 32 13.8s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 1538942108480840609
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 16.0s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 359749435505902359
generated error fail pass / total time test name
[✓] 96 0 0 96 / 96 0.1s Hashtbl sequential
[✓] 96 0 0 96 / 96 28.3s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 350289196990655840
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 11.3s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 656720539078624096
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 12.7s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3634547945860542138
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 13.7s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2330832313033828147
generated error fail pass / total time test name
[✓] 121 0 0 121 / 121 0.1s Accumulator sequential
[✓] 121 0 0 121 / 121 32.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2873069119543200871
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 11.0s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 4170684540583979821
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.2s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 14.8s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3963365711442306206
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.1s Hashtbl_with_order sequential
[ ]
[✓] 64 0 0 64 / 64 21.8s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 674913482740806164
generated error fail pass / total time test name
[✓] 59 0 0 59 / 59 0.1s Hashtbl_with_order sequential
[✓] 59 0 0 59 / 59 19.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 1355061500357693598
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.1s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 13.8s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
2024-10-01 15:10.22 ---> saved as "b23e9ea3feb79adb9257d3e761c4ce1cda1199461d40bdcd6eccb68a48243555"
Job succeeded
2024-10-01 15:10.22: Job succeeded