Skip to content

E6 knee detector is noise-sensitive: use multi-sample rungs / warm baseline #62

Closed

Description

@pdettori

From the P3 OCP authoritative run (PR for OCP results, epic #49). deploy/knative/e6-saturation.sh + experiments/src/sharing.ts detectKnee require throughput to rise strictly vs the previous rung. Per-leaf model-latency and Knative cold-start variance make a single rung's throughput dip below its predecessor (observed on OCP: c=4 0.213 < c=2 0.245), tripping the knee break early and failing the sanity floor — a measurement-noise artifact, not a real saturation knee.

Fix ideas: run each ladder rung N times and use the median/best throughput; and/or pre-warm the harness (min-scale=1) to remove cold-start noise from the C=1 baseline and the sweep; and/or smooth throughput (only break on a sustained multi-rung decline). Goal: a stable, representative per-sandbox knee. The duty-cycle/derived-N result is already robust (~2-4%, N ~29-48:1 across Kind+OCP); this is specifically about the knee.

Activity

  1. added a commit that references this issue on Jul 4, 2026
  2. pdettori commented on Jul 6, 2026

    @pdettori
    MemberAuthor

    Verified addressed on main by PR #63. detectKnee no longer requires a strict rise vs the previous rung — it compares against the running-max throughput and breaks only after patience (default 2) consecutive unhealthy rungs (sustained decline). e6-saturation.sh adds median-of-N sampling (E6_SAMPLES=3) per rung and a warm min-scale=1 pinned baseline to remove cold-start noise. All three fix ideas landed. Closing.

    Assisted-By: Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions