interplane.Get Omega
Read in your language

synapse

A component of the AienOS ecosystem.

Brought by drakestapleton

branch main Branches Tags History

synapse / evidence / swarm-board / RULE.md

61 lines · 3440 bytes Raw Blame History Source

Swarm board bench: the rule (fixed before the measurement run)

Committed before scripts/board-bench.sh is run for the record. Changing this file after the run invalidates the run.

Question

How long does a message take from "a writer starts sending it" to "the addressed agent has it in hand", on the board versus on our own pre-board flow, at 1, 4, 8 and 32 concurrent writers? How close is the board to the disk's fsync floor?

Only our own two flows are compared. No outside system is measured or cited.

Flows (same host, same disk, same workload)

Workload

128 messages per run, split evenly over W writers: W=1 (128 each), 4 (32), 8 (16), 32 (4). Each writer sends its messages one after another; all writers start together. Every message carries a unique key w<writer>-<n>. One run per (flow, W).

Measurements (all host-observed)

Verdict rule

The board PASSES when, at every W in {1, 4, 8, 32}:

  1. it delivers 128 of 128 messages with no duplicate, and
  2. its p50 latency is at most the pre-board flow's p50 latency.

Otherwise it FAILS, and the failing W and numbers are reported as they are. p95, the fraction of the fsync floor and energy are reported but do not decide the verdict. The pre-board flow does not fsync its mail files, so it is not durable; the board is. That difference is reported, not corrected for.