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) (freebsd-x86_64:freebsd-4.14_opam-2.2)
Base: freebsd-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 freebsd-ocaml-4.14
# freebsd-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.2 /usr/local/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-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-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 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 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-freebsd-ocaml-4.14-freebsd-4.14_opam-2.2-3aff2f9fe904268d59eff7ebc6513db4"
2024-09-17 16:00.44: Using OBuilder spec:
((from freebsd-ocaml-4.14)
(comment freebsd-4.14_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.2 /usr/local/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-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-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 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 /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-09-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 summer
All commits already cached
HEAD is now at 7b5a606 Change to use Picos instead of DLA and DLT
(from freebsd-ocaml-4.14)
2024-09-17 15:51.40 ---> using "57eeeabfec88366322a66f228a693df277d348dc99f1cc2a63749102c5e1e405" from cache
/: (comment freebsd-4.14_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.2 /usr/local/bin/opam"))
2024-09-17 15:51.40 ---> using "331cb54c56ba47239b6522558e6295f68ba679de6d38a5ddae6e1282bd4c3227" from cache
/src: (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 /home/opam/.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:///home/opam/opam-repository
2024-09-17 15:51.40 ---> using "0ea397e38f2ed580c996b50aedfdb35f589fe8d5328e4d5701e3485ad0ee7d31" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p6
The OCaml toplevel, version 4.14.2
2.2.0
2024-09-17 15:51.41 ---> using "e6ed3443f91a45dc3e2b2fd8eca0fa438601ccaf0a656f5e040e0ef7ec1bf353" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-17 15:51.41 ---> using "a8768039a9919ab7082a771b4ea48607524661cf72600917c57416f2763555c6" from cache
/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"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
e2171914dc..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:///home/opam/opam-repository
default (at git+file:///home/opam/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.
2024-09-17 15:51.41 ---> using "b174a87f2b8f3efd429fdcfc47b8384bc59d6fbacda5b928622cc4f3025c4bf1" from cache
/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2024-09-17 15:51.41 ---> using "62990a8fff095a6fa223269a13184b6d4a18c4558d6d8c287c5635767a2e4242" from cache
/src: (run (network host)
(shell "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
[kcas_data.dev] synchronised (file:///src)
kcas_data is now pinned to file:///src (version dev)
[kcas.dev] synchronised (file:///src)
kcas is now pinned to file:///src (version dev)
2024-09-17 15:51.41 ---> using "0964ee264ecb23f953a65129ff8e6944f34180898925f7c88741789a857d38a7" from cache
/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-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 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")
/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"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas.dev] synchronised (no changes)
[kcas_data.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-09-17 15:51.42 ---> using "89884cfc49e577bda54428cf251beca0c4dff69c12e202633d1b22712bfa7008" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 38 packages
∗ alcotest 1.8.0
∗ astring 0.8.5
∗ backoff 0.1.0
∗ 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
∗ logs 0.7.0
∗ mdx 2.4.1
∗ mtime 2.1.0
∗ multicore-bench 0.1.5
∗ multicore-magic 2.3.0
∗ 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
<><> 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 ocaml-syntax-shims.1.0.0 (cached)
⬇ retrieved mdx.2.4.1 (cached)
⬇ retrieved ocaml-version.3.6.8 (cached)
⬇ retrieved ocamlbuild.0.15.0 (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 ocamlfind.1.9.6 (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 stdlib-shims.0.3.0 (cached)
⬇ retrieved result.1.5 (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 fmt.0.9.0
∗ installed mtime.2.1.0
∗ installed astring.0.8.5
∗ installed logs.0.7.0
∗ installed dune.3.16.0
∗ installed psq.0.2.1
∗ installed thread-table.1.0.0
∗ installed thread-local-storage.0.2
∗ installed stdlib-shims.0.3.0
∗ installed result.1.5
∗ installed re.1.12.0
∗ installed qcheck-core.0.22
∗ installed domain-local-await.1.0.1
∗ installed ocaml-version.3.6.8
∗ installed ocaml-syntax-shims.1.0.0
∗ installed multicore-magic.2.3.0
∗ installed domain_shims.0.1.0
∗ installed csexp.1.5.2
∗ installed cppo.1.7.0
∗ installed camlp-streams.5.0.1
∗ installed backoff.0.1.0
∗ installed qcheck-multicoretests-util.0.3
∗ installed picos_aux.0.5.0
∗ installed picos.0.5.0
∗ installed yojson.2.2.2
∗ installed qcheck-stm.0.3
∗ installed picos_std.0.5.0
∗ installed multicore-bench.0.1.5
∗ installed alcotest.1.8.0
∗ installed picos_io.0.5.0
∗ installed picos_mux.0.5.0
∗ installed mdx.2.4.1
Done.
2024-09-17 15:51.42 ---> using "77ffe0e5db464ecb8806b061b608c8edcd4dc59848810f9094e05c10a86463aa" from cache
/src: (copy (src .) (dst /src))
2024-09-17 15:51.42 ---> saved as "b6956f9f75e85514219ee843307c3a86874da551de13bb021fb8fcd673459ff7"
/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_data && ./xt_test.exe)
Testing `Transactions'.
This run has ID `94C8S7DK'.
[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 `3KI0Y5GK'.
[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 && ./stack_test.exe)
Testing `Stack'.
This run has ID `XLBZH7SU'.
[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 && ./mvar_test.exe)
Testing `Mvar'.
This run has ID `YWPV881R'.
[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 `74J0Y0QH'.
[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 && ./hashtbl_test.exe)
Testing `Hashtbl'.
This run has ID `RYG5OA3O'.
[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.009s. 4 tests run.
(cd _build/default/test/kcas && ./loc_modes.exe)
Loc modes OK!
(cd _build/default/test/kcas && ./threads.exe)
Testing `Threads'.
This run has ID `JZPS9F5F'.
[OK] await between threads 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/Threads'.
Test Successful in 0.001s. 1 test run.
File "src/kcas/kcas.mli", line 1, characters 0-0:
/usr/local/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 && ./ms_queue_test.exe)
Testing `MS queue'.
This run has ID `XZ9MNQZZ'.
[OK] write skew 0
[OK] tail leak 0
Full test results in `/src/_build/default/test/kcas/_build/_tests/MS queue'.
Test Successful in 11.046s. 2 tests run.
(cd _build/default/bench && ./main.exe -brief)
Kcas Loc:
time per op/get:
8.91 ns
ops over time/get:
112.20 M/s
time per op/incr:
35.13 ns
ops over time/incr:
28.46 M/s
time per op/push & pop:
38.06 ns
ops over time/push & pop:
26.28 M/s
time per op/cas int:
21.84 ns
ops over time/cas int:
45.78 M/s
time per op/xchg int:
30.54 ns
ops over time/xchg int:
32.74 M/s
time per op/swap:
34.79 ns
ops over time/swap:
28.74 M/s
Kcas Xt:
time per transaction/0 loc tx:
27.25 ns
transactions over time/0 loc tx:
36.69 M/s
time per transaction/1 loc tx:
91.51 ns
transactions over time/1 loc tx:
10.93 M/s
time per transaction/2 loc tx:
150.80 ns
transactions over time/2 loc tx:
6.63 M/s
time per transaction/4 loc tx:
277.69 ns
transactions over time/4 loc tx:
3.60 M/s
time per transaction/8 loc tx:
588.41 ns
transactions over time/8 loc tx:
1.70 M/s
Kcas Xt read-only:
time per transaction/0 loc tx:
24.12 ns
transactions over time/0 loc tx:
41.46 M/s
time per transaction/1 loc tx:
64.39 ns
transactions over time/1 loc tx:
15.53 M/s
time per transaction/2 loc tx:
126.21 ns
transactions over time/2 loc tx:
7.92 M/s
time per transaction/4 loc tx:
217.98 ns
transactions over time/4 loc tx:
4.59 M/s
time per transaction/8 loc tx:
379.87 ns
transactions over time/8 loc tx:
2.63 M/s
Kcas parallel CMP:
time per transaction/1 worker:
178.79 ns
transactions over time/1 worker:
5.59 M/s
time per transaction/2 workers:
462.87 ns
transactions over time/2 workers:
4.32 M/s
time per transaction/4 workers:
1060.48 ns
transactions over time/4 workers:
3.77 M/s
Kcas_data Accumulator:
time per operation/1 worker, 0% reads:
39.68 ns
operations over time/1 worker, 0% reads:
25.20 M/s
time per operation/2 workers, 0% reads:
79.48 ns
operations over time/2 workers, 0% reads:
25.17 M/s
time per operation/4 workers, 0% reads:
1130.12 ns
operations over time/4 workers, 0% reads:
3.54 M/s
Kcas_data Dllist:
time per message/one domain:
746.14 ns
messages over time/one domain:
1.34 M/s
time per message/1 nb adder, 1 nb taker:
1345.69 ns
messages over time/1 nb adder, 1 nb taker:
1.49 M/s
time per message/1 nb adder, 2 nb takers:
2314.37 ns
messages over time/1 nb adder, 2 nb takers:
1.30 M/s
time per message/2 nb adders, 1 nb taker:
2072.96 ns
messages over time/2 nb adders, 1 nb taker:
1.45 M/s
time per message/2 nb adders, 2 nb takers:
3180.07 ns
messages over time/2 nb adders, 2 nb takers:
1.26 M/s
Kcas_data Hashtbl:
time per operation/1 worker, 90% reads:
155.20 ns
operations over time/1 worker, 90% reads:
6.44 M/s
time per operation/2 workers, 90% reads:
348.96 ns
operations over time/2 workers, 90% reads:
5.73 M/s
time per operation/4 workers, 90% reads:
1536.06 ns
operations over time/4 workers, 90% reads:
2.60 M/s
time per operation/1 worker, 50% reads:
354.52 ns
operations over time/1 worker, 50% reads:
2.82 M/s
time per operation/2 workers, 50% reads:
890.27 ns
operations over time/2 workers, 50% reads:
2.25 M/s
time per operation/4 workers, 50% reads:
1831.67 ns
operations over time/4 workers, 50% reads:
2.18 M/s
time per operation/1 worker, 10% reads:
440.88 ns
operations over time/1 worker, 10% reads:
2.27 M/s
time per operation/2 workers, 10% reads:
960.37 ns
operations over time/2 workers, 10% reads:
2.08 M/s
time per operation/4 workers, 10% reads:
1745.08 ns
operations over time/4 workers, 10% reads:
2.29 M/s
Kcas_data Mvar:
time per message/1 nb adder, 1 nb taker:
35177.12 ns
messages over time/1 nb adder, 1 nb taker:
0.06 M/s
time per message/1 nb adder, 1 taker:
85139.73 ns
messages over time/1 nb adder, 1 taker:
0.02 M/s
time per message/1 nb adder, 2 nb takers:
170165.71 ns
messages over time/1 nb adder, 2 nb takers:
0.02 M/s
time per message/1 nb adder, 2 takers:
174163.11 ns
messages over time/1 nb adder, 2 takers:
0.02 M/s
time per message/1 adder, 1 nb taker:
62667.64 ns
messages over time/1 adder, 1 nb taker:
0.03 M/s
time per message/1 adder, 1 taker:
64315.12 ns
messages over time/1 adder, 1 taker:
0.03 M/s
time per message/1 adder, 2 nb takers:
241951.80 ns
messages over time/1 adder, 2 nb takers:
0.01 M/s
time per message/1 adder, 2 takers:
480870.65 ns
messages over time/1 adder, 2 takers:
0.01 M/s
time per message/2 nb adders, 1 nb taker:
86026.36 ns
messages over time/2 nb adders, 1 nb taker:
0.03 M/s
time per message/2 nb adders, 1 taker:
186035.64 ns
messages over time/2 nb adders, 1 taker:
0.02 M/s
time per message/2 nb adders, 2 nb takers:
190614.89 ns
messages over time/2 nb adders, 2 nb takers:
0.02 M/s
time per message/2 nb adders, 2 takers:
176845.75 ns
messages over time/2 nb adders, 2 takers:
0.02 M/s
time per message/2 adders, 1 nb taker:
187632.18 ns
messages over time/2 adders, 1 nb taker:
0.02 M/s
time per message/2 adders, 1 taker:
579942.92 ns
messages over time/2 adders, 1 taker:
0.01 M/s
time per message/2 adders, 2 nb takers:
120353.54 ns
messages over time/2 adders, 2 nb takers:
0.03 M/s
time per message/2 adders, 2 takers:
121000.85 ns
messages over time/2 adders, 2 takers:
0.03 M/s
Kcas_data Queue:
time per message/one domain:
154.37 ns
messages over time/one domain:
6.48 M/s
time per message/1 nb adder, 1 nb taker:
167.21 ns
messages over time/1 nb adder, 1 nb taker:
11.96 M/s
time per message/1 nb adder, 1 taker:
156.87 ns
messages over time/1 nb adder, 1 taker:
12.76 M/s
time per message/1 nb adder, 2 nb takers:
296.28 ns
messages over time/1 nb adder, 2 nb takers:
10.13 M/s
time per message/1 nb adder, 2 takers:
298.04 ns
messages over time/1 nb adder, 2 takers:
10.07 M/s
time per message/2 nb adders, 1 nb taker:
297.13 ns
messages over time/2 nb adders, 1 nb taker:
10.10 M/s
time per message/2 nb adders, 1 taker:
226.68 ns
messages over time/2 nb adders, 1 taker:
13.23 M/s
time per message/2 nb adders, 2 nb takers:
446.85 ns
messages over time/2 nb adders, 2 nb takers:
8.95 M/s
time per message/2 nb adders, 2 takers:
461.45 ns
messages over time/2 nb adders, 2 takers:
8.67 M/s
Kcas_data Stack:
time per message/one domain:
121.72 ns
messages over time/one domain:
8.22 M/s
time per message/1 nb adder, 1 nb taker:
177.00 ns
messages over time/1 nb adder, 1 nb taker:
11.30 M/s
time per message/1 nb adder, 1 taker:
192.07 ns
messages over time/1 nb adder, 1 taker:
10.41 M/s
time per message/1 nb adder, 2 nb takers:
316.73 ns
messages over time/1 nb adder, 2 nb takers:
9.47 M/s
time per message/1 nb adder, 2 takers:
2247.65 ns
messages over time/1 nb adder, 2 takers:
1.33 M/s
time per message/2 nb adders, 1 nb taker:
258.85 ns
messages over time/2 nb adders, 1 nb taker:
11.59 M/s
time per message/2 nb adders, 1 taker:
370.74 ns
messages over time/2 nb adders, 1 taker:
8.09 M/s
time per message/2 nb adders, 2 nb takers:
428.06 ns
messages over time/2 nb adders, 2 nb takers:
9.34 M/s
time per message/2 nb adders, 2 takers:
1064.41 ns
messages over time/2 nb adders, 2 takers:
3.76 M/s
(cd _build/default/test/kcas && ./test.exe)
Testing `Kcas'.
This run has ID `OM5I0EVX'.
[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 27.440s. 17 tests run.
(cd _build/default/test/kcas_data && ./accumulator_test_stm.exe)
random seed: 909414395244285264
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Accumulator sequential
[✓] 32 0 0 32 / 32 10.0s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2893742838375705486
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Accumulator sequential
[✓] 64 0 0 64 / 64 7.4s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 851599782568615376
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Accumulator sequential
[✓] 128 0 0 128 / 128 8.0s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 1295718859590180186
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Accumulator sequential
[✓] 256 0 0 256 / 256 8.1s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 3525493878556797062
generated error fail pass / total time test name
[✓] 374 0 0 374 / 374 0.1s Accumulator sequential
[✓] 374 0 0 374 / 374 11.7s Accumulator concurrent
================================================================================
success (ran 2 tests)
random seed: 2566405952986603211
generated error fail pass / total time test name
[✓] 146 0 0 146 / 146 0.0s Accumulator sequential
[✓] 146 0 0 146 / 146 4.9s Accumulator concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./stack_test_stm.exe)
random seed: 2627920213885665312
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Stack sequential
[✓] 32 0 0 32 / 32 10.6s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 2633500553330179718
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Stack sequential
[✓] 64 0 0 64 / 64 6.8s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 2623190735496680355
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Stack sequential
[✓] 128 0 0 128 / 128 8.9s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 4217430671690826330
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Stack sequential
[✓] 256 0 0 256 / 256 8.4s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 279931723752613581
generated error fail pass / total time test name
[✓] 348 0 0 348 / 348 0.1s Stack sequential
[✓] 348 0 0 348 / 348 11.5s Stack concurrent
================================================================================
success (ran 2 tests)
random seed: 276066446113283339
generated error fail pass / total time test name
[✓] 172 0 0 172 / 172 0.0s Stack sequential
[✓] 172 0 0 172 / 172 5.4s Stack concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./hashtbl_test_stm.exe)
random seed: 2292483499849328791
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl sequential
[✓] 32 0 0 32 / 32 10.6s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2159094467560804643
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl sequential
[✓] 64 0 0 64 / 64 6.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 11050111893919251
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Hashtbl sequential
[✓] 128 0 0 128 / 128 9.4s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3415742998640137270
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Hashtbl sequential
[✓] 256 0 0 256 / 256 10.5s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 694259838081467527
generated error fail pass / total time test name
[✓] 287 0 0 287 / 287 0.1s Hashtbl sequential
[✓] 287 0 0 287 / 287 10.9s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 2196693008006368840
generated error fail pass / total time test name
[✓] 180 0 0 180 / 180 0.1s Hashtbl sequential
[✓] 180 0 0 180 / 180 6.3s Hashtbl concurrent
================================================================================
success (ran 2 tests)
random seed: 109527474270923508
generated error fail pass / total time test name
[✓] 53 0 0 53 / 53 0.0s Hashtbl sequential
[✓] 53 0 0 53 / 53 2.3s Hashtbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./queue_test_stm.exe)
random seed: 1292180606342104273
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 9.6s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3089664761510341167
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Queue sequential
[✓] 64 0 0 64 / 64 7.4s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 682153906238586515
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Queue sequential
[ ] 7 0
[✓] 128 0 0 128 / 128 10.8s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3552213419819991336
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Queue sequential
[✓] 256 0 0 256 / 256 11.5s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 1111410640399790652
generated error fail pass / total time test name
[✓] 248 0 0 248 / 248 0.0s Queue sequential
[✓] 248 0 0 248 / 248 10.1s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3849700808808392688
generated error fail pass / total time test name
[✓] 151 0 0 151 / 151 0.0s Queue sequential
[✓] 151 0 0 151 / 151 5.3s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3645942161443399471
generated error fail pass / total time test name
[✓] 79 0 0 79 / 79 0.0s Queue sequential
[✓] 79 0 0 79 / 79 2.5s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3873008841607388179
generated error fail pass / total time test name
[✓] 41 0 0 41 / 41 0.0s Queue sequential
[✓] 41 0 0 41 / 41 0.9s Queue concurrent
================================================================================
success (ran 2 tests)
random seed: 3964843422392366045
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Queue sequential
[✓] 32 0 0 32 / 32 0.8s Queue concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./dllist_test_stm.exe)
random seed: 2230508141261755204
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Dllist sequential
[✓] 32 0 0 32 / 32 10.4s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1961127101299965860
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Dllist sequential
[✓] 64 0 0 64 / 64 7.6s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1338208778791111270
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.1s Dllist sequential
[✓] 128 0 0 128 / 128 10.2s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1438744375889947898
generated error fail pass / total time test name
[✓] 250 0 0 250 / 250 0.2s Dllist sequential
[✓] 250 0 0 250 / 250 11.8s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 3756064587946270813
generated error fail pass / total time test name
[✓] 232 0 0 232 / 232 0.2s Dllist sequential
[✓] 232 0 0 232 / 232 9.9s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 806185274966495001
generated error fail pass / total time test name
[✓] 136 0 0 136 / 136 0.1s Dllist sequential
[✓] 136 0 0 136 / 136 5.1s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 1892590840094849294
generated error fail pass / total time test name
[✓] 69 0 0 69 / 69 0.0s Dllist sequential
[✓] 69 0 0 69 / 69 2.0s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 577980217478392179
generated error fail pass / total time test name
[✓] 40 0 0 40 / 40 0.0s Dllist sequential
[✓] 40 0 0 40 / 40 2.0s Dllist concurrent
================================================================================
success (ran 2 tests)
random seed: 516074174758863080
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 concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test/kcas_data && ./linearizable_chaining_example.exe)
random seed: 1131815705585880185
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Hashtbl_with_order sequential
[✓] 32 0 0 32 / 32 10.8s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 1756535045510829733
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Hashtbl_with_order sequential
[✓] 64 0 0 64 / 64 10.9s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 2762847532372476141
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.1s Hashtbl_with_order sequential
[✓] 128 0 0 128 / 128 10.2s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3067049808125421904
generated error fail pass / total time test name
[✓] 194 0 0 194 / 194 0.1s Hashtbl_with_order sequential
[✓] 194 0 0 194 / 194 12.8s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 4175138334289330029
generated error fail pass / total time test name
[✓] 138 0 0 138 / 138 0.1s Hashtbl_with_order sequential
[✓] 138 0 0 138 / 138 7.0s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3032039372474805237
generated error fail pass / total time test name
[✓] 83 0 0 83 / 83 0.0s Hashtbl_with_order sequential
[✓] 83 0 0 83 / 83 4.5s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 4338513658203694474
generated error fail pass / total time test name
[✓] 37 0 0 37 / 37 0.0s Hashtbl_with_order sequential
[✓] 37 0 0 37 / 37 1.1s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 4302268631995758648
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.0s Hashtbl_with_order concurrent
================================================================================
success (ran 2 tests)
random seed: 3071415503129496878
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 concurrent
================================================================================
success (ran 2 tests)
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' 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-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 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' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build': failed
"jail" "-c" "name=obuilder_708_34397" "mount.devfs" "path=/obuilder/result/bfbafa1034ab4cdcfdf4284148305a854b5033d946205ac5ec601b0ef0393d02/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' 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-x86_64.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 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' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build'" failed with exit status 1
2024-09-17 16:01.54: Job failed: Failed: Build failed