2024-09-17 16:00.44: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/port-to-picos (7b5a606b2285cc9e638e9e27515f621df36a7ca5) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.2)
Base: macos-homebrew-ocaml-4.14
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 7b5a606b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_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 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 ./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-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.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 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.3 qcheck-stm.0.3 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-17 16:00.44: Using cache hint "ocaml-multicore/kcas-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.2-bdb42fbf47af514bc35d792e1bdb36b1"
2024-09-17 16:00.44: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_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 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 ./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-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.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 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.3 qcheck-stm.0.3 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-17 16:00.44: Waiting for resource in pool OCluster
2024-09-17 16:00.45: Waiting for worker…
2024-09-17 16:00.45: Got resource from pool OCluster
Building on m1-worker-01
HEAD is now at 35fb956 Change to use Picos instead of DLA and DLT
HEAD is now at 7b5a606 Change to use Picos instead of DLA and DLT
(from macos-homebrew-ocaml-4.14)
2024-09-17 16:00.46 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_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-17 16:00.46 ---> using "0fc88bc096429f8087d29338c802b1e4d45e761b825e45695066961067369beb" 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-17 16:00.46 ---> using "73ba886e49c62b39892c1961565fafbc649da382428721fca289ffcf0b892673" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.2.0
2024-09-17 16:00.46 ---> using "07fa1eab191e27fa6a90116da06eed20ebaaf79e4c99d1f9adbbe0baf8e3f1a3" 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 12d7650ba97ec7883fa001a001e0433e54eb4e53 || git fetch origin master) && git reset -q --hard 12d7650ba97ec7883fa001a001e0433e54eb4e53 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
c635641299..12d7650ba9 master -> origin/master
12d7650ba9 Merge pull request #26569 from polytypic/release-multicore-bench-0.1.5
<><> 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
- ocaml-config.3
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-17 16:00.46 ---> using "2c69cc35f734f55b442b1e5562864b0f531e8cf103025be897ddaca0c7905494" from cache
/: (copy (src kcas_data.opam kcas.opam) (dst ./src/./))
2024-09-17 16:00.46 ---> using "1a731e795b72d464dd6e61d64b4af599182e58446ad1874418ac4809482fc533" 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-17 16:00.47 ---> using "ac5a95da52f13b1eff4d63c5dc84c051966cf638571d9cc8ebfb94ac36d9cefa" from cache
/: (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_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.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 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.3 qcheck-stm.0.3 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...
- ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:ce5c135bf98da783bf5964e89aab587e3341c8adc379f36ace17ae7881f53e8c
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/portable-ruby-3.3.4_1.arm64_big_sur.bottle.tar.gz
- ==> Pouring portable-ruby-3.3.4_1.arm64_big_sur.bottle.tar.gz
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
- https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
-
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
- https://github.com/Homebrew/brew#donations
-
- 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 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-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-bigarray is already installed (current version is base).
2024-09-17 16:00.47 ---> using "e589951f6e44151798b0debec17874d892caec9a0a212efeba9fb3d92639fe03" 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 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-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-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.3
- install qcheck-stm 0.3
- 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 alcotest.1.8.0 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved multicore-bench.0.1.5 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.8 (cached)
-> retrieved ocamlfind.1.9.6 (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 ocamlbuild.0.15.0 (cached)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved qcheck-multicoretests-util.0.3, qcheck-stm.0.3 (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 ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> 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 csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed backoff.0.1.0
-> installed multicore-magic.2.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed psq.0.2.1
-> installed ocaml-version.3.6.8
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed cppo.1.7.0
-> installed picos_aux.0.5.0
-> installed thread-table.1.0.0
-> installed thread-local-storage.0.2
-> installed domain-local-await.1.0.1
-> installed re.1.12.0
-> installed picos.0.5.0
-> installed qcheck-core.0.22
-> installed yojson.2.2.2
-> installed picos_std.0.5.0
-> installed qcheck-multicoretests-util.0.3
-> installed alcotest.1.8.0
-> installed multicore-bench.0.1.5
-> installed qcheck-stm.0.3
-> installed picos_io.0.5.0
-> installed picos_mux.0.5.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-17 16:00.47 ---> using "19f17d9e8aa97a0b294c98f62605d3ab88f780886d8765d155f0e09efac4309a" from cache
/: (copy (src .) (dst ./src))
2024-09-17 16:00.48 ---> saved as "1c53cdaa1c1c7f31bf89d4c29fb7a2b1eefbef6fe36ea2a159c02d83e1f8c237"
/: (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 `UCS31ERR'.
[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 && ./dllist_test.exe)
Testing `Dllist'.
This run has ID `4TA9B3HK'.
[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 && ./queue_test.exe)
Testing `Queue'.
This run has ID `KFN75X3K'.
[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/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
2.16 ns
ops over time/get:
463.82 M/s
time per op/incr:
8.69 ns
ops over time/incr:
115.07 M/s
time per op/push & pop:
9.15 ns
ops over time/push & pop:
109.29 M/s
time per op/cas int:
7.71 ns
ops over time/cas int:
129.73 M/s
time per op/xchg int:
8.23 ns
ops over time/xchg int:
121.51 M/s
time per op/swap:
29.36 ns
ops over time/swap:
34.07 M/s
Kcas Xt:
time per transaction/0 loc tx:
5.06 ns
transactions over time/0 loc tx:
197.56 M/s
time per transaction/1 loc tx:
20.02 ns
transactions over time/1 loc tx:
49.96 M/s
time per transaction/2 loc tx:
57.79 ns
transactions over time/2 loc tx:
17.31 M/s
time per transaction/4 loc tx:
100.80 ns
transactions over time/4 loc tx:
9.92 M/s
time per transaction/8 loc tx:
184.75 ns
transactions over time/8 loc tx:
5.41 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
15.26 ns
transactions over time/0 loc tx:
65.51 M/s
time per transaction/1 loc tx:
13.62 ns
transactions over time/1 loc tx:
73.42 M/s
time per transaction/2 loc tx:
54.24 ns
transactions over time/2 loc tx:
18.44 M/s
time per transaction/4 loc tx:
99.05 ns
transactions over time/4 loc tx:
10.10 M/s
time per transaction/8 loc tx:
240.67 ns
transactions over time/8 loc tx:
4.16 M/s
Kcas parallel CMP:
time per transaction/1 worker:
62.66 ns
transactions over time/1 worker:
15.96 M/s
time per transaction/2 workers:
169.64 ns
transactions over time/2 workers:
11.79 M/s
time per transaction/4 workers:
238.15 ns
transactions over time/4 workers:
16.80 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
22.12 ns
operations over time/1 worker, 0% reads:
45.21 M/s
time per operation/2 workers, 0% reads:
21.20 ns
operations over time/2 workers, 0% reads:
94.35 M/s
time per operation/4 workers, 0% reads:
40.59 ns
operations over time/4 workers, 0% reads:
98.54 M/s
Kcas_data Dllist:
time per message/one domain:
205.42 ns
messages over time/one domain:
4.87 M/s
time per message/1 nb adder, 1 nb taker:
783.94 ns
messages over time/1 nb adder, 1 nb taker:
2.55 M/s
time per message/1 nb adder, 2 nb takers:
1742.65 ns
messages over time/1 nb adder, 2 nb takers:
1.72 M/s
time per message/2 nb adders, 1 nb taker:
1457.83 ns
messages over time/2 nb adders, 1 nb taker:
2.06 M/s
time per message/2 nb adders, 2 nb takers:
1642.13 ns
messages over time/2 nb adders, 2 nb takers:
2.44 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
29.59 ns
operations over time/1 worker, 90% reads:
33.80 M/s
time per operation/2 workers, 90% reads:
88.44 ns
operations over time/2 workers, 90% reads:
22.61 M/s
time per operation/4 workers, 90% reads:
145.49 ns
operations over time/4 workers, 90% reads:
27.49 M/s
time per operation/1 worker, 50% reads:
65.63 ns
operations over time/1 worker, 50% reads:
15.24 M/s
time per operation/2 workers, 50% reads:
169.29 ns
operations over time/2 workers, 50% reads:
11.81 M/s
time per operation/4 workers, 50% reads:
381.15 ns
operations over time/4 workers, 50% reads:
10.49 M/s
time per operation/1 worker, 10% reads:
79.06 ns
operations over time/1 worker, 10% reads:
12.65 M/s
time per operation/2 workers, 10% reads:
222.05 ns
operations over time/2 workers, 10% reads:
9.01 M/s
time per operation/4 workers, 10% reads:
376.37 ns
operations over time/4 workers, 10% reads:
10.63 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
60316.66 ns
messages over time/1 nb adder, 1 nb taker:
0.03 M/s
time per message/1 nb adder, 1 taker:
128161.04 ns
messages over time/1 nb adder, 1 taker:
0.02 M/s
time per message/1 nb adder, 2 nb takers:
87131.46 ns
messages over time/1 nb adder, 2 nb takers:
0.03 M/s
time per message/1 nb adder, 2 takers:
81330.83 ns
messages over time/1 nb adder, 2 takers:
0.04 M/s
time per message/1 adder, 1 nb taker:
90024.58 ns
messages over time/1 adder, 1 nb taker:
0.02 M/s
time per message/1 adder, 1 taker:
57837.50 ns
messages over time/1 adder, 1 taker:
0.03 M/s
time per message/1 adder, 2 nb takers:
109210.41 ns
messages over time/1 adder, 2 nb takers:
0.03 M/s
time per message/1 adder, 2 takers:
147030.83 ns
messages over time/1 adder, 2 takers:
0.02 M/s
time per message/2 nb adders, 1 nb taker:
62056.67 ns
messages over time/2 nb adders, 1 nb taker:
0.05 M/s
time per message/2 nb adders, 1 taker:
15988.33 ns
messages over time/2 nb adders, 1 taker:
0.19 M/s
time per message/2 nb adders, 2 nb takers:
12728.12 ns
messages over time/2 nb adders, 2 nb takers:
0.31 M/s
time per message/2 nb adders, 2 takers:
50582.91 ns
messages over time/2 nb adders, 2 takers:
0.08 M/s
time per message/2 adders, 1 nb taker:
58544.80 ns
messages over time/2 adders, 1 nb taker:
0.05 M/s
time per message/2 adders, 1 taker:
69970.43 ns
messages over time/2 adders, 1 taker:
0.04 M/s
time per message/2 adders, 2 nb takers:
22304.37 ns
messages over time/2 adders, 2 nb takers:
0.18 M/s
time per message/2 adders, 2 takers:
19968.33 ns
messages over time/2 adders, 2 takers:
0.20 M/s
Kcas_data Queue:
time per message/one domain:
111.61 ns
messages over time/one domain:
8.96 M/s
time per message/1 nb adder, 1 nb taker:
79.24 ns
messages over time/1 nb adder, 1 nb taker:
25.24 M/s
time per message/1 nb adder, 1 taker:
55.67 ns
messages over time/1 nb adder, 1 taker:
35.93 M/s
time per message/1 nb adder, 2 nb takers:
104.67 ns
messages over time/1 nb adder, 2 nb takers:
28.66 M/s
time per message/1 nb adder, 2 takers:
91.67 ns
messages over time/1 nb adder, 2 takers:
32.73 M/s
time per message/2 nb adders, 1 nb taker:
64.28 ns
messages over time/2 nb adders, 1 nb taker:
46.67 M/s
time per message/2 nb adders, 1 taker:
89.68 ns
messages over time/2 nb adders, 1 taker:
33.45 M/s
time per message/2 nb adders, 2 nb takers:
104.99 ns
messages over time/2 nb adders, 2 nb takers:
38.10 M/s
time per message/2 nb adders, 2 takers:
135.83 ns
messages over time/2 nb adders, 2 takers:
29.49 M/s
Kcas_data Stack:
time per message/one domain:
61.67 ns
messages over time/one domain:
16.21 M/s
time per message/1 nb adder, 1 nb taker:
47.00 ns
messages over time/1 nb adder, 1 nb taker:
42.65 M/s
time per message/1 nb adder, 1 taker:
62.22 ns
messages over time/1 nb adder, 1 taker:
32.14 M/s
time per message/1 nb adder, 2 nb takers:
140.64 ns
messages over time/1 nb adder, 2 nb takers:
21.33 M/s
time per message/1 nb adder, 2 takers:
115.95 ns
messages over time/1 nb adder, 2 takers:
25.87 M/s
time per message/2 nb adders, 1 nb taker:
88.99 ns
messages over time/2 nb adders, 1 nb taker:
33.75 M/s
time per message/2 nb adders, 1 taker:
91.21 ns
messages over time/2 nb adders, 1 taker:
33.61 M/s
time per message/2 nb adders, 2 nb takers:
179.62 ns
messages over time/2 nb adders, 2 nb takers:
22.27 M/s
time per message/2 nb adders, 2 takers:
107.27 ns
messages over time/2 nb adders, 2 takers:
37.33 M/s
(cd _build/default/test/kcas_data && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `SN6N3EN1'.
[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 && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `PJ7NCUCX'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `~/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 23.289s. 2 tests run.
(cd _build/default/test/kcas_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `LRREKSP3'.
[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 && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `IZKVP000'.
[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.003s. 4 tests run.
(cd _build/default/test/kcas_data && ./stack_test.exe)
Testing `Stack'.
This run has ID `A13NZBIB'.
[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 && ./lru_cache_example.exe)
LRU Cache OK!
File "src/kcas/kcas.mli", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/default/src/kcas/kcas.mli _build/default/src/kcas/.mdx/kcas.mli.corrected
diff --git a/_build/default/src/kcas/kcas.mli b/_build/default/src/kcas/.mdx/kcas.mli.corrected
index 21fb617..c782e9b 100644
--- a/_build/default/src/kcas/kcas.mli
+++ b/_build/default/src/kcas/.mdx/kcas.mli.corrected
@@ -75,7 +75,8 @@
Scheduler.run @@ fun () ->
let x = Loc.get_as (fun x -> Retry.unless (x <> 0); x) x in
Printf.sprintf "The answer is %d!" x
- val a_domain : string Domain.t = <abstr>
+ Line 1, characters 16-28:
+ Error: Unbound module Domain
]}
Perform transactions over locations:
@@ -95,7 +96,8 @@
{[
# Domain.join a_domain
- - : string = "The answer is 42!"
+ Line 1, characters 1-12:
+ Error: Unbound module Domain
]}
The main repository includes a longer introduction with many examples and
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `53G6AUVR'.
[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 25.809s. 17 tests run.
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 3933358699542686937
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: 2315171982806363167
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 1.0s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 3858207544752344684
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 concurrent
================================================================================
success (ran 2 tests)
random seed: 1656536649539287059
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Stack sequential
[✓] 256 0 0 256 / 256 6.1s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 971739921301449802
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Stack sequential
[✓] 512 0 0 512 / 512 13.3s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 1655914722643395668
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 0.9s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 1431668722989702706
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 0.9s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 4151616466488130060
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 1.8s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 4545799632578133293
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 5.2s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 348010009819917685
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Accumulator sequential
[✓] 256 0 0 256 / 256 6.8s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 4088817463660047527
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Accumulator sequential
[✓] 512 0 0 512 / 512 15.0s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 1573451914782177925
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 concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 613155747415762697
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 0.5s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 89132099388027159
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 2.5s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 2629000245477900585
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[✓] 128 0 0 128 / 128 3.2s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 664990198899890720
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Queue sequential
[✓] 256 0 0 256 / 256 8.3s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 719975803295901957
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Queue sequential
[✓] 512 0 0 512 / 512 15.5s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1091773006350701016
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 0.5s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 1309821159351282565
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 1.1s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 862486972541383807
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 concurrent
================================================================================
success (ran 2 tests)
random seed: 3911746516947844629
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.1s Hashtbl sequential
[✓] 128 0 0 128 / 128 3.2s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3279732456859974975
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Hashtbl sequential
[✓] 256 0 0 256 / 256 9.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3693085260917792960
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.3s Hashtbl sequential
[✓] 512 0 0 512 / 512 14.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 522217149593326746
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 0.4s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 3776638193683716502
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 0.9s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 606044692729682620
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 2.1s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1466153465395275062
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Dllist sequential
[✓] 128 0 0 128 / 128 4.2s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1717888824769284793
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Dllist sequential
[✓] 256 0 0 256 / 256 7.7s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1673747670151532431
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Dllist sequential
[✓] 512 0 0 512 / 512 16.6s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3462509328938305048
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 concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 3421747169519931543
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.6s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 1156045596907647390
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.0s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3045362833953414639
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 7.7s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2796530824052617822
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Hashtbl_with_order sequential
[✓] 256 0 0 256 / 256 13.2s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3413296458525184367
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Hashtbl_with_order sequential
[✓] 512 0 0 512 / 512 11.2s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 366395386417332739
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.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-09-17 16:01.33: Job failed: Failed: Build failed