Skip to content

test(benchmarks): concurrency and interference lanes#205

Merged
NathanFlurry merged 1 commit into
mainfrom
stack/test-benchmarks-concurrency-and-interference-lanes-qvxlntmx
Jul 2, 2026
Merged

test(benchmarks): concurrency and interference lanes#205
NathanFlurry merged 1 commit into
mainfrom
stack/test-benchmarks-concurrency-and-interference-lanes-qvxlntmx

Conversation

@NathanFlurry

Copy link
Copy Markdown
Member

Three focused lanes measuring the multi-tenant behavior the single-op matrix
cannot see, wired as BENCH_ONLY lanes with JSON regression rows:

  • concurrency-vms: N in {1,4,8} prewarmed VMs running a sustained echo loop.
    Result: near-ideal isolation — 7.06x aggregate at N=8 (0.88 of ideal),
    p95 5.5 -> 8.4ms.
  • interference: busy VM (cpu+fs churn) beside a latency-probe VM. Result:
    no measurable cross-VM tax on this host (p50 tax ~1.0).
  • concurrent-processes: N in {1,4,8} guest processes in ONE VM. Result: the
    per-VM single-threaded servicing ceiling — 2.18x at N=8 (0.27 of ideal),
    p95 0.09 -> 0.21ms. This is the number the Phase 5 concurrency work moves.

Lanes self-assert N=1 agreement with the matrix ballpark and verify their
work; note: a persistent-listener TCP variant hits the sync-bridge deferred
message queue cap, so the TCP loop is connect/echo/close-shaped (cap noted
for follow-up).

Three focused lanes measuring the multi-tenant behavior the single-op matrix
cannot see, wired as BENCH_ONLY lanes with JSON regression rows:

- concurrency-vms: N in {1,4,8} prewarmed VMs running a sustained echo loop.
  Result: near-ideal isolation — 7.06x aggregate at N=8 (0.88 of ideal),
  p95 5.5 -> 8.4ms.
- interference: busy VM (cpu+fs churn) beside a latency-probe VM. Result:
  no measurable cross-VM tax on this host (p50 tax ~1.0).
- concurrent-processes: N in {1,4,8} guest processes in ONE VM. Result: the
  per-VM single-threaded servicing ceiling — 2.18x at N=8 (0.27 of ideal),
  p95 0.09 -> 0.21ms. This is the number the Phase 5 concurrency work moves.

Lanes self-assert N=1 agreement with the matrix ballpark and verify their
work; note: a persistent-listener TCP variant hits the sync-bridge deferred
message queue cap, so the TCP loop is connect/echo/close-shaped (cap noted
for follow-up).
@NathanFlurry

Copy link
Copy Markdown
Member Author

Stack for rivet-dev/secure-exec

Get stack: forklift get 205
Push local edits: forklift submit
Merge when ready: forklift merge 205

@railway-app railway-app Bot temporarily deployed to secure-exec / secure-exec-pr-205 July 2, 2026 13:39 Destroyed
@NathanFlurry NathanFlurry merged commit 7ac1f0d into main Jul 2, 2026
0 of 2 checks passed
@NathanFlurry NathanFlurry deleted the stack/test-benchmarks-concurrency-and-interference-lanes-qvxlntmx branch July 2, 2026 13:39
@railway-app railway-app Bot temporarily deployed to secure-exec / preview July 2, 2026 13:39 Inactive
@railway-app railway-app Bot temporarily deployed to secure-exec / production July 2, 2026 13:39 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant