2024-09-19 12:56.08: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/port-to-picos (b77e4d316f7db91d4c4a0eeb2ca2360d79b712bd) (macos-arm64:macos-homebrew-5.2_arm64_opam-2.2)
Base: macos-homebrew-ocaml-5.2
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "port-to-picos" && cd "kcas" && git reset --hard b77e4d31
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.2
# macos-homebrew-5.2_arm64_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.2 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
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 ./src/./
RUN opam pin add -yn kcas_data.dev './src/./' && \
opam pin add -yn kcas.dev './src/./'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm64.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 picos.0.5.0 picos_aux.0.5.0 picos_io.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 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-local-storage.0.2 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 cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-09-19 12:56.08: Using cache hint "ocaml-multicore/kcas-macos-homebrew-ocaml-5.2-macos-homebrew-5.2_arm64_opam-2.2-fdc4e2bc1663a94edf9a1cae282eaa65"
2024-09-19 12:56.08: Using OBuilder spec:
((from macos-homebrew-ocaml-5.2)
(comment macos-homebrew-5.2_arm64_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 ./src/./))
(run (network host)
(shell "opam pin add -yn kcas_data.dev './src/./' && \
\nopam pin add -yn kcas.dev './src/./'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm64.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 picos.0.5.0 picos_aux.0.5.0 picos_io.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 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-local-storage.0.2 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-09-19 12:56.08: Waiting for resource in pool OCluster
2024-09-19 12:56.08: Waiting for worker…
2024-09-19 12:58.48: Got resource from pool OCluster
Building on m1-worker-01
HEAD is now at 9d44108 Change to use Picos instead of DLA and DLT
HEAD is now at b77e4d3 The `Effect.Unhandled` mystery
(from macos-homebrew-ocaml-5.2)
2024-09-19 12:58.49 ---> using "9b46fe3d2429f2b9195a02468cb57ac45cfa11fb4a87cb32b5e5375232223327" from cache
/: (comment macos-homebrew-5.2_arm64_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam"))
2024-09-19 12:58.50 ---> using "b003627c18f5d873361872ecfa38a9a8b5c86cc26245bef1d152887064c98071" from cache
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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 version of opam requires an update to the layout of /Users/mac1000/.opam from version 2.1 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 1 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=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2024-09-19 12:58.50 ---> using "408d2cc158c17e89759cf51b146539f00642e287086d5c54f85c33dae9e6a1f9" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 5.2.0
2.2.0
2024-09-19 12:58.50 ---> using "80c5626e56c363c9237b2d67b74b9ac64751c52cd041543c0fda73b45b911c9a" from cache
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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
c635641299..45f961713f master -> origin/master
45f961713f Merge pull request #26585 from dra27/trunk-tweaks
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository
default (at git+file:///Users/mac1000/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.4.0
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-19 12:58.50 ---> using "e741b1b0654b57a245f3c9eb31b5f47bd9ac932e8def5542224f2dc57745b5cd" from cache
/: (copy (src kcas_data.opam kcas.opam) (dst ./src/./))
2024-09-19 12:58.50 ---> using "03aa51157f5cb9586df4f68f7ea65c6e279a907672bb37766e4781bd2ae25d6c" from cache
/: (run (network host)
(shell "opam pin add -yn kcas_data.dev './src/./' && \
\nopam pin add -yn kcas.dev './src/./'"))
[kcas_data.dev] synchronised (file:///Users/mac1000/src)
kcas_data is now pinned to file:///Users/mac1000/src (version dev)
[kcas.dev] synchronised (file:///Users/mac1000/src)
kcas is now pinned to file:///Users/mac1000/src (version dev)
2024-09-19 12:58.51 ---> using "6b96564bcb01845e3e7673c67f63c79832a88b0eed8e61f84f939596015064f9" from cache
/: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm64.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 picos.0.5.0 picos_aux.0.5.0 picos_io.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 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-local-storage.0.2 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas.dev] synchronised (no changes)
[kcas_data.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-09-19 12:58.51 ---> using "98ac1b6aada234a4f31217f2885c0550eae637e6fa633d3147b884038f8dd992" from cache
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 38 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_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 picos 0.5.0
- install picos_aux 0.5.0
- install picos_io 0.5.0
- install picos_mux 0.5.0
- install picos_std 0.5.0
- 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-local-storage 0.2
- 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 cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved alcotest.1.8.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 ocamlfind.1.9.6 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved picos.0.5.0, picos_aux.0.5.0, picos_io.0.5.0, picos_mux.0.5.0, picos_std.0.5.0 (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-local-storage.0.2 (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 uutf.1.0.3
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed domain_shims.0.1.0
-> installed backoff.0.1.0
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed multicore-magic.2.3.0
-> installed ocaml-version.3.6.8
-> installed psq.0.2.1
-> installed ocaml-syntax-shims.1.0.0
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed cppo.1.7.0
-> installed picos_aux.0.5.0
-> installed thread-local-storage.0.2
-> installed thread-table.1.0.0
-> installed re.1.12.0
-> installed domain-local-await.1.0.1
-> installed picos.0.5.0
-> installed qcheck-core.0.22
-> installed picos_std.0.5.0
-> installed qcheck-multicoretests-util.0.4
-> installed yojson.2.2.2
-> installed alcotest.1.8.0
-> installed picos_io.0.5.0
-> installed qcheck-stm.0.4
-> installed multicore-bench.0.1.5
-> installed picos_mux.0.5.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-19 12:58.51 ---> using "ae4ce4a572a032d4062d37b50420c12df9af47c9e677899465347a0aa8179ec4" from cache
/: (copy (src .) (dst ./src))
2024-09-19 12:58.52 ---> saved as "344488bd0824ffa54cbfd4094a9f3fe55757f4f9eaa0d8ccfba343f8993f75b0"
/: (run (shell "cd ./src && 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 && ./threads.exe)
Testing `Threads'.
This run has ID `2U58GVY5'.
[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 && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `X6NSE82T'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `~/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 0.019s. 2 tests run.
(cd _build/default/test/kcas_data && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `0X7JT12D'.
[OK] basics 0
[OK] add 0
[OK] move 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Dllist'.
Test Successful in 0.000s. 3 tests run.
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `69UYH0R4'.
[OK] basics 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Mvar'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test/kcas_data && ./queue_test.exe)
Testing `Queue'.
This run has ID `NQZM2AU1'.
[OK] basics 0
Full test results in `~/src/_build/default/test/kcas_data/_build/_tests/Queue'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `G5R1ZQ70'.
[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/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
2.84 ns
ops over time/get:
352.35 M/s
time per op/incr:
9.74 ns
ops over time/incr:
102.66 M/s
time per op/push & pop:
14.60 ns
ops over time/push & pop:
68.50 M/s
time per op/cas int:
12.38 ns
ops over time/cas int:
80.78 M/s
time per op/xchg int:
16.13 ns
ops over time/xchg int:
62.01 M/s
time per op/swap:
16.78 ns
ops over time/swap:
59.60 M/s
Kcas Xt:
time per transaction/0 loc tx:
5.88 ns
transactions over time/0 loc tx:
170.08 M/s
time per transaction/1 loc tx:
30.95 ns
transactions over time/1 loc tx:
32.31 M/s
time per transaction/2 loc tx:
190.33 ns
transactions over time/2 loc tx:
5.25 M/s
time per transaction/4 loc tx:
149.73 ns
transactions over time/4 loc tx:
6.68 M/s
time per transaction/8 loc tx:
212.80 ns
transactions over time/8 loc tx:
4.70 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
14.87 ns
transactions over time/0 loc tx:
67.27 M/s
time per transaction/1 loc tx:
31.38 ns
transactions over time/1 loc tx:
31.87 M/s
time per transaction/2 loc tx:
54.69 ns
transactions over time/2 loc tx:
18.29 M/s
time per transaction/4 loc tx:
92.52 ns
transactions over time/4 loc tx:
10.81 M/s
time per transaction/8 loc tx:
201.78 ns
transactions over time/8 loc tx:
4.96 M/s
Kcas parallel CMP:
time per transaction/1 worker:
67.70 ns
transactions over time/1 worker:
14.77 M/s
time per transaction/2 workers:
106.29 ns
transactions over time/2 workers:
18.82 M/s
time per transaction/4 workers:
148.96 ns
transactions over time/4 workers:
26.85 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
12.44 ns
operations over time/1 worker, 0% reads:
80.37 M/s
time per operation/2 workers, 0% reads:
13.67 ns
operations over time/2 workers, 0% reads:
146.28 M/s
time per operation/4 workers, 0% reads:
26.65 ns
operations over time/4 workers, 0% reads:
150.08 M/s
Kcas_data Dllist:
time per message/one domain:
479.74 ns
messages over time/one domain:
2.08 M/s
time per message/1 nb adder, 1 nb taker:
776.25 ns
messages over time/1 nb adder, 1 nb taker:
2.58 M/s
time per message/1 nb adder, 2 nb takers:
1228.51 ns
messages over time/1 nb adder, 2 nb takers:
2.44 M/s
time per message/2 nb adders, 1 nb taker:
1012.25 ns
messages over time/2 nb adders, 1 nb taker:
2.96 M/s
time per message/2 nb adders, 2 nb takers:
4097.06 ns
messages over time/2 nb adders, 2 nb takers:
0.98 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
44.18 ns
operations over time/1 worker, 90% reads:
22.63 M/s
time per operation/2 workers, 90% reads:
73.63 ns
operations over time/2 workers, 90% reads:
27.16 M/s
time per operation/4 workers, 90% reads:
93.85 ns
operations over time/4 workers, 90% reads:
42.62 M/s
time per operation/1 worker, 50% reads:
98.30 ns
operations over time/1 worker, 50% reads:
10.17 M/s
time per operation/2 workers, 50% reads:
216.67 ns
operations over time/2 workers, 50% reads:
9.23 M/s
time per operation/4 workers, 50% reads:
508.88 ns
operations over time/4 workers, 50% reads:
7.86 M/s
time per operation/1 worker, 10% reads:
234.81 ns
operations over time/1 worker, 10% reads:
4.26 M/s
time per operation/2 workers, 10% reads:
178.26 ns
operations over time/2 workers, 10% reads:
11.22 M/s
time per operation/4 workers, 10% reads:
717.63 ns
operations over time/4 workers, 10% reads:
5.57 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
374.96 ns
messages over time/1 nb adder, 1 nb taker:
5.33 M/s
time per message/1 nb adder, 1 taker:
27513.00 ns
messages over time/1 nb adder, 1 taker:
0.07 M/s
time per message/1 nb adder, 2 nb takers:
517.98 ns
messages over time/1 nb adder, 2 nb takers:
5.79 M/s
time per message/1 nb adder, 2 takers:
96410.52 ns
messages over time/1 nb adder, 2 takers:
0.03 M/s
time per message/1 adder, 1 nb taker:
37288.33 ns
messages over time/1 adder, 1 nb taker:
0.05 M/s
time per message/1 adder, 1 taker:
15282.46 ns
messages over time/1 adder, 1 taker:
0.13 M/s
time per message/1 adder, 2 nb takers:
25089.50 ns
messages over time/1 adder, 2 nb takers:
0.12 M/s
time per message/1 adder, 2 takers:
64764.52 ns
messages over time/1 adder, 2 takers:
0.05 M/s
time per message/2 nb adders, 1 nb taker:
1041.42 ns
messages over time/2 nb adders, 1 nb taker:
2.88 M/s
time per message/2 nb adders, 1 taker:
7506.94 ns
messages over time/2 nb adders, 1 taker:
0.40 M/s
time per message/2 nb adders, 2 nb takers:
1074.69 ns
messages over time/2 nb adders, 2 nb takers:
3.82 M/s
time per message/2 nb adders, 2 takers:
24257.06 ns
messages over time/2 nb adders, 2 takers:
0.16 M/s
time per message/2 adders, 1 nb taker:
14112.65 ns
messages over time/2 adders, 1 nb taker:
0.21 M/s
time per message/2 adders, 1 taker:
22660.58 ns
messages over time/2 adders, 1 taker:
0.13 M/s
time per message/2 adders, 2 nb takers:
24468.36 ns
messages over time/2 adders, 2 nb takers:
0.16 M/s
time per message/2 adders, 2 takers:
65406.73 ns
messages over time/2 adders, 2 takers:
0.06 M/s
Kcas_data Queue:
time per message/one domain:
41.78 ns
messages over time/one domain:
23.93 M/s
time per message/1 nb adder, 1 nb taker:
86.30 ns
messages over time/1 nb adder, 1 nb taker:
23.17 M/s
time per message/1 nb adder, 1 taker:
136.18 ns
messages over time/1 nb adder, 1 taker:
14.69 M/s
time per message/1 nb adder, 2 nb takers:
225.51 ns
messages over time/1 nb adder, 2 nb takers:
13.30 M/s
time per message/1 nb adder, 2 takers:
221.60 ns
messages over time/1 nb adder, 2 takers:
13.54 M/s
time per message/2 nb adders, 1 nb taker:
145.70 ns
messages over time/2 nb adders, 1 nb taker:
20.59 M/s
time per message/2 nb adders, 1 taker:
112.48 ns
messages over time/2 nb adders, 1 taker:
26.67 M/s
time per message/2 nb adders, 2 nb takers:
226.50 ns
messages over time/2 nb adders, 2 nb takers:
17.66 M/s
time per message/2 nb adders, 2 takers:
189.58 ns
messages over time/2 nb adders, 2 takers:
21.10 M/s
Kcas_data Stack:
time per message/one domain:
33.80 ns
messages over time/one domain:
29.58 M/s
time per message/1 nb adder, 1 nb taker:
104.90 ns
messages over time/1 nb adder, 1 nb taker:
19.06 M/s
time per message/1 nb adder, 1 taker:
95.37 ns
messages over time/1 nb adder, 1 taker:
20.97 M/s
time per message/1 nb adder, 2 nb takers:
416.33 ns
messages over time/1 nb adder, 2 nb takers:
7.21 M/s
time per message/1 nb adder, 2 takers:
398.75 ns
messages over time/1 nb adder, 2 takers:
7.52 M/s
time per message/2 nb adders, 1 nb taker:
648.84 ns
messages over time/2 nb adders, 1 nb taker:
4.62 M/s
time per message/2 nb adders, 1 taker:
508.07 ns
messages over time/2 nb adders, 1 taker:
5.90 M/s
time per message/2 nb adders, 2 nb takers:
919.05 ns
messages over time/2 nb adders, 2 nb takers:
4.35 M/s
time per message/2 nb adders, 2 takers:
277.33 ns
messages over time/2 nb adders, 2 takers:
14.42 M/s
(cd _build/default/test/kcas_data && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `DH1SUOYY'.
[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.008s. 4 tests run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `20457ZPS'.
[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 && ./lru_cache_example.exe)
LRU Cache OK!
File "README.md", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/default/README.md _build/default/.mdx/README.md.corrected
diff --git a/_build/default/README.md b/_build/default/.mdx/README.md.corrected
index a6ae0df..2a6a2e6 100644
--- a/_build/default/README.md
+++ b/_build/default/.mdx/README.md.corrected
@@ -164,7 +164,7 @@ And now we have it:
```ocaml
# Domain.join a_domain
-- : string = "The answer is 42!"
+Exception: Stdlib.Effect.Unhandled(Picos_ocaml.Trigger.Await(_))
```
## Introduction
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 2169914923795545968
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.4s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 2182130751706114590
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 3.2s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 4037460377331301726
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 3.7s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 2645955058625978261
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Stack sequential
[✓] 256 0 0 256 / 256 5.7s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 652908826706219008
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Stack sequential
[✓] 512 0 0 512 / 512 9.9s Stack parallel
================================================================================
success (ran 2 tests)
random seed: 3378973821505119211
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 1.0s Stack parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 3000310345951130420
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 0.9s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 3467946406599428648
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 2.6s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 3596796082259220202
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 3.9s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 921138307780424326
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl sequential
[✓] 256 0 0 256 / 256 6.2s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 2360127624139809660
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Hashtbl sequential
[✓] 512 0 0 512 / 512 12.3s Hashtbl parallel
================================================================================
success (ran 2 tests)
random seed: 1074963474966457361
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 parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 2908918573520534549
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 parallel
================================================================================
success (ran 2 tests)
random seed: 3911695970788007537
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 parallel
================================================================================
success (ran 2 tests)
random seed: 2624200893458994679
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 parallel
================================================================================
success (ran 2 tests)
random seed: 4040363092291663530
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Accumulator sequential
[✓] 256 0 0 256 / 256 5.7s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 3753690641971178205
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Accumulator sequential
[✓] 512 0 0 512 / 512 12.0s Accumulator parallel
================================================================================
success (ran 2 tests)
random seed: 4407304155666683147
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 0.7s Accumulator parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 2172736088683661163
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 1.2s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 3703505201931782162
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 2.8s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 460426722090203539
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 4.1s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 3599339306311427580
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Queue sequential
[✓] 256 0 0 256 / 256 6.2s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 3165523927963041303
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Queue sequential
[✓] 512 0 0 512 / 512 11.9s Queue parallel
================================================================================
success (ran 2 tests)
random seed: 2411369846287899296
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 0.7s Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 2918734565609996834
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 1.0s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 1755776277559335322
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 2.8s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 634758823643609197
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 4.6s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 4594374539669950713
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Dllist sequential
[✓] 256 0 0 256 / 256 6.7s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 927081021594670992
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Dllist sequential
[ ] 276 0 0 276 / 512 7
[✓] 512 0 0 512 / 512 12.8s Dllist parallel
================================================================================
success (ran 2 tests)
random seed: 3649056241836771355
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 0.4s Dllist parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 2495916205381998356
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.8s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 1953321635877133214
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 3.5s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 2351769803474059091
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.4s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 859648787131357805
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Hashtbl_with_order sequential
[✓] 256 0 0 256 / 256 7.8s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 2624847643780188319
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Hashtbl_with_order sequential
[✓] 512 0 0 512 / 512 12.7s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
random seed: 1010831049055686754
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 0.7s Hashtbl_with_order parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `AC4Q6JXP'.
[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
[OK] readme_starter 0
Full test results in `~/src/_build/default/test/kcas/_build/_tests/Kcas'.
Test Successful in 33.448s. 18 tests run.
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-09-19 12:59.33: Job failed: Failed: Build failed