◈ Passerelle

Project

ADR-004 — performance is measured in server round trips, starting with a published Linux baseline

Context

Under QEMU, wall-clock timings depend mostly on the host hardware, the runner load and the cache mode: two honest runs on two machines do not compare, and a judging panel cannot reproduce either. The specification (§6.5) therefore asks for performance to be formulated <em>comparatively</em> and in <strong>server round trips</strong>.

Two options were on the table for the reference:

  1. publish throughput numbers (MiB/s, IOPS) as the headline;
  2. publish the number of protocol requests a POSIX call costs, read from a QEMU trace, and keep wall-clock as a secondary column.

Decision

<strong>Option 2, and publish the reference first.</strong> The unit of account is the round trip — one request sent, one reply received — counted from a real QEMU trace, and the first published table is the <strong>Linux guest baseline</strong> of spec §7.5, not our own driver:

python3 tests/qemu/run_share_check.py --protos 9p --workload 30 \
        --trace baseline.log --workdir /tmp/passerelle-baseline

Recorded on 11 November 2026: QEMU 8.2.2, virtio-9p-pci with security_model=mapped-xattr, a minimal Alpine guest, <strong>30 create/stat/read/unlink cycles</strong>. The trace carried <strong>1 643 events → 822 requests, 822 replies, 63 errors</strong>, and every POSIX operation costs <strong>1.00 round trip per call</strong>.

Two rules make the table trustworthy:

Consequences