GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — docs(id): record fallback latency budgets for #5797 by dezren39 · Pull Request #7861 · developing-today/code Conversation
|
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 71e0d44f43
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| | ID | Tier | GOODPUT floor (p50) | Completion p95 | Notes | | ||
| |---|---|---|---|---| | ||
| | LB-12 | T0 direct UDP | ≥ 5 MiB/s | ≤ 30 s for 128 MiB | absolute baseline floor at P2 only | |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Make the P2 throughput budgets achievable in both directions
For client-to-peer transfers, P2's 20 Mbps uplink (§3.2) permits at most about 2.38 MiB/s before protocol overhead, so this 5 MiB/s floor and 30 s completion target are impossible: 128 MiB takes at least 53.7 s. LB-7's 4 MiB/s and 3 s ordinary-sync targets are likewise unreachable. W3/W4 do not restrict transfers to downloads, and §4.4 invalidates the baseline when T0 misses this floor, so a correct upload implementation cannot produce a passing reference run. Specify transfer direction and direction-specific budgets, or raise P2's uplink rate to support the stated targets.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in commit 422d0c2: section 4.4 now states direction explicitly — the LB-12..LB-16a floors and the LB-7 sync target are download-direction; the upload direction at P2 (20 Mbps uplink, ~2.38 MiB/s ceiling) gets its own budgets (T0 >= 2 MiB/s, 128 MiB <= 64 s; LB-7 upload >= 2 MiB/s / <= 6 s), W3/W4 run in both directions, and the profile-invalidation rule applies per direction.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| | **W2** | ID query mix | 1 KiB request / ≤ 4 KiB response, 10 req/s for 3 min | IRTT, TTFB, error rate | | ||
| | **W3** | Ordinary sync | 8 MiB in 64 KiB logical chunks, split into ≤ 16 KiB wire DATA payloads; acknowledged | SYNC, goodput | | ||
| | **W4** | Bulk | 128 MiB sequential in 1 MiB logical chunks, split into ≤ 16 KiB wire DATA payloads | GOODPUT, completion | | ||
| | **W5** | Mixed | W4 saturates the test tier (target 90% of its measured maximum goodput) + W1 concurrently on the same tier | interactive IRTT under load, HOL bound | |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sustain bulk load throughout the mixed-load sampling interval
W5 combines a single 128 MiB W4 transfer with W1's five-minute interactive workload, but does not repeat the transfer or restrict latency samples to the overlap. On P1's 100 Mbps path, the transfer can finish in roughly 11 seconds, leaving over 95% of the interactive samples unloaded. The pooled p95 can therefore pass G6 even when interactive latency during saturation exceeds the mixed-load p95 bound; the separate, looser p99 bound does not prevent that false pass. Repeat bulk transfers throughout the measured interval, or compute mixed-load percentiles only from samples taken while bulk is active.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in commit 422d0c2: W5 now repeats bulk transfers back-to-back for the whole W1 sampling interval, and the section 4.4 mixed-load rule computes its percentiles only from interactive samples taken while bulk load is active — an unloaded tail can no longer dilute the measurement into a false pass.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| network floor is 2×RTT = 60 ms at P2 (one request and one response leg). | ||
| "Broker hop" is an extra RTT when the path traverses a relay; the | ||
| polling row uses the poll interval instead. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Count the request-response network delay as one RTT
P2 specifies 15 ms one-way delay and 30 ms RTT, so the request and matching response used to define IRTT incur 30 ms of network delay, not 60 ms. For relayed paths, §3.2 also explicitly splits that same delay across the two legs, so traversing the relay does not itself introduce the additional 30 ms network RTT allocated here. These duplicated network costs distort every component allocation and can hide processing or queueing overruns in the diagnostic decomposition required by §6.6. Account for the shaped path once, measure broker processing separately, and reallocate the remaining budget explicitly.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in commit 422d0c2: section 4.3 network floor is now 1xRTT = 30 ms at P2 (a request and its matching response incur one RTT of network delay); the broker-hop column is broker processing only (10 ms), since section 3.2 splits the same shaped delay across relay legs — no second network RTT. Headroom reallocated so every row still sums to its LB budget, and the broker/framing bullet now budgets processing (<= 10 ms) instead of 1 RTT + 10 ms.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| every attempt consumes the same shared NEG budget, which is never extended | ||
| to fit additional candidates. | ||
|
|
||
| | Parent tier / carrier shape | LB-31 SETUP p95 at P2 | Per-attempt hard deadline P2 | Per-attempt hard deadline P4 | |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Define negotiation deadlines for the P1 and P3 profiles
The per-attempt deadlines are specified only for P2 and P4, and LB-25–LB-27 likewise provide interactive negotiation bounds only for those two profiles. However, §6.4 requires W9 negotiations per profile, G3 checks these deadlines, and §6.7 explicitly includes P1 in the PR gate and P3 in the pre-release matrix. Those required runs therefore have no defined negotiation pass/fail bounds, forcing the harness implementer to invent timeout policy. Supply P1/P3 values or explicitly state which existing bounds each profile must use.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in commit 422d0c2: section 5 now defines P1 and P3 negotiation bounds explicitly — P1 uses the P2 per-attempt deadlines, LB-25 NEG bounds, and the 1.5 s LB-27 cap; P3 uses the P4 per-attempt deadlines, LB-26 NEG values (p95 <= 9 s, hard 12 s), and the 3.5 s LB-27 cap — so the section 6.4 W9 runs and the section 6.7 P1/P3 gates have defined pass/fail bounds.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
agent-note:v1 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
agent-note:v1 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
id: design: latency budget & measurement plan per fallback tier (from #5671)
There was an error while loading. Please reload this page.