Read the results
Throughput counts completions per second. p99
is the time within which about 99% of exchanges completed.
Read both together and compare results under the same workload, protocol
and concurrency. The published tables show p99 in ms, alongside CPU usage,
memory and temperature.
Measure your CoAkka Runtime application to size a deployment.
Run the benchmarks on a Raspberry Pi 5
Start with the C and C++ services. Check the board, download the code and run
a short smoke check before measuring. The load generator and service
run on the same Pi.
Prepare the Raspberry Pi 5
The published results used a physical Raspberry Pi 5 on Debian 13
arm64 with the Raspberry Pi kernel. Stop other CPU-intensive work and
let the board cool. Run as a regular user with administrator-authorized
noninteractive sudo for the isolated network and CPU governor steps.
tr -d '\000' < /proc/device-tree/model
printf '\n'
uname -m
vcgencmd measure_temp
vcgencmd get_throttled
cat /sys/class/thermal/cooling_device0/cur_state
cat /proc/sys/kernel/sched_schedstats
Check for Raspberry Pi 5, aarch64,
throttled=0x0 and fan state 4. Start CoAkka
Runtime at 42°C or below and CoAkka HTTP Runtime normally at 43°C or
below. Both reject runs that reach 49.60°C. CoAkka Runtime also
requires the last line, kernel.sched_schedstats, to be
0. If it is 1, ask the administrator
to set it to 0 on the benchmark Pi and restore
the previous value afterward.
On Debian 13 arm64, install the shared tools and then those for the
selected benchmark. These commands keep installed package versions.
sudo apt install --no-upgrade git curl python3 iproute2 nftables util-linux
sudo apt install --no-upgrade clang-19 libssl-dev
sudo apt install --no-upgrade build-essential cmake nghttp2-client=1.64.0-1.1+deb13u1
See the fan,
permission and scheduler checks.
Download the two benchmark fixtures
These commands fetch the reproduction directories from coakka-publish
and leave the shell in the coakka-publish checkout root.
Start the selected benchmark from that directory.
git clone --depth 1 --filter=blob:none --sparse https://github.com/phuong-tran/coakka-publish.git
cd coakka-publish
git sparse-checkout set coakka-runtime/benchmark/reproduction coakka-http-runtime/benchmark/reproduction
Run CoAkka Runtime 3.3 with C and C++
After preparing the Pi and
downloading the fixtures, run this from
the coakka-publish checkout root. It verifies the source,
prepares SDK 3.3 and smoke-tests a short exchange at C8 and C64
before measuring.
(
set -eu
cd coakka-runtime/benchmark/reproduction
sha256sum --strict --check inputs.sha256
python3 -B prepare.py
flock -n "$HOME/.coakka-pi-performance.lock" \
bash run-isolated.sh --smoke --output "$PWD/first-smoke"
flock -n "$HOME/.coakka-pi-performance.lock" \
bash run-isolated.sh --output "$PWD/first-results"
python3 -B summarize.py first-results > first-results/summary.md
cat first-results/summary.md
)
In the reproduction directory, open first-results/summary.md.
Expect rows for C and C++ at C8 and C64, with 3 accepted runs per row.
Throughput is shown in round trips per second and the replay summary
gives p99 in µs.
Run CoAkka HTTP Runtime 2.3.1 with C and C++
After preparing the Pi and
downloading the fixtures, run this from
the coakka-publish checkout root. It verifies the source
and prepares SDK 2.3.0. The smoke check covers startup, the response
body, persistent connections and shutdown.
(
set -eu
cd coakka-http-runtime/benchmark/reproduction
sha256sum --strict --check source.sha256
bash prepare.sh
bash run-isolated.sh --check --out "$PWD/first-smoke"
bash run-isolated.sh --out "$PWD/first-results"
python3 -B summarize.py --lane native-c --lane native-cpp --complete first-results \
> first-results/summary.json
cat first-results/summary.json
)
In the reproduction directory, open first-results/summary.json.
"complete": true confirms 3 accepted runs for C and 3
for C++. Look for requests_per_second and p99_ms.
Measure a Python service
Use the same Pi preparation and load generator as the selected
benchmark. Run one benchmark at a time. Debian 13 arm64 may require
python3.13-venv. The fixture guides select and verify
the matching Python package.
Keep host.json and the receipt.json files with
the report. If a run is rejected, read the receipt and restore the
required conditions. Keep the prepared fixtures. Retry the failed step
with a fresh output directory, then pass that directory to the report
command.
Read the full guide on coakka-publish.