#1 [high] Related work: #633 duplicates the roce_proxy.c hunk already in open PR #576
PR #633 (author original-el8 / commit author "Jason Cook", commit 70c811bd) changes exactly one file, helios/native/roce_proxy.c (+71/-0): adds pin_high_capacity_cpus() (lines ~1505-1569) and, in proxy_main, pthread_setname_np(pthread_self(), "flare-roce") + pin_high_capacity_cpus() (lines ~1573-1577), all under #ifdef __linux__.
Open PR #576 ("Pin Helios execution and RoCE proxy threads to high-capacity CPUs on asymmetric Linux topologies", fordbmorris, FIRST_TIME_CONTRIBUTOR, opened 2026-11-28, +230/-1 over 8 files) contains the same hunk as one of its 8 files: helios/native/roce_proxy.c (modified, +71 -0) — identical line count. #576's description says it "vendors the exact pin_high_capacity_cpus() and \"flare-roce\" thread-naming hunk merged in https://github.com/local-inference-lab/flashinfer/pull/156 (335459b2)".
So #633 is a subset-extraction of #576's RoCE portion, split out into its own PR by a different author, without mentioning #576 anywhere in the description. Reviewer question: is #633 meant to land before/instead of #576's C hunk, and does #576 then need to drop that file? Neither description says.
#2 [high] Related work: #576 review history on this same hunk (vendoring, child-thread affinity)
#576 review history is directly relevant to #633 because the reviewed C hunk is the same code.
- 2026-11-28 22:12 review by original-el8 (CHANGES_REQUESTED on #576) blocker 2: "Vendored
helios/native/roce_proxy.cfork and duplicate C logic (helios/native/roce_proxy.c:186-258):helios/native/roce_proxy.cmust remain identical to FlashInfer's pinnedflashinfer/experimental/b12x/comm/roce/_roce_proxy.c(lines 6-8), and this duplicates 66 lines of untested C capacity-selection logic alongsideeos/src/unix.rs. Either sync the change through FlashInfer PR #156 first, or applyflare_eos::prefer_high_capacity_cpus()from Rust around proxy thread creation without modifying the vendored C file." - 2026-11-30 00:39 fordbmorris reply:
local-inference-lab/flashinfer#156has merged into FlashInfer main at335459b2, and "theroce_proxy.chunk here is byte-for-byte identical to335459b2". - Autobot review rounds on #576 (2026-11-29 04:15 and 2026-11-30 03:13) treated the C hunk as a blocker while FlashInfer #156 was unmerged; after the sync claim it was dropped (Round 2 text: "
helios/native/roce_proxy.cnow syncs the exact hunk merged upstream inlocal-inference-lab/flashinfer#156(335459b2)"). - #576 Round 2 remaining blocker is Rust-side (
selene::shared::codec::cpu_pool()lazy OnceLock halvingflare-kv-codec-*on--prefix-cache-memory) — not present in #633 since #633 has no Rust changes. - #577 (also fordbmorris, opened same minute as #576) edits the same vendored file for ring window 16 and its Autodot review notes: "edits the same vendored
helios/native/roce_proxy.cas open sibling PR #576 (which tracks merged FlashInfer #156 at335459b2)".
Connection: the C code in #633 was authored upstream (FlashInfer #156 / 335459b2) per #576, not by #633's author; #633 gives no provenance note or upstream reference.
#3 [high] The change: what the +71 lines actually do, and what the description omits
Diff is 1 file, +71/-0, helios/native/roce_proxy.c at head 70c811bd: pin_high_capacity_cpus() at roce_proxy.c:1505-1570 (inside #ifdef __linux__) and two calls at the top of proxy_main (roce_proxy.c:1572-1577): pthread_setname_np(pthread_self(), "flare-roce") and pin_high_capacity_cpus(). Inserted between run_varlen_op (ends :1503) and proxy_main — i.e. mid-file, not appended.
Verified behaviour (read at pr/633):
sched_getaffinity(0, ...)at :1513 reads the calling thread's mask (0 = current thread), so it starts from the inherited process/taskset mask, as described.- Loop :1521-1542 over every CPU in the mask; on the FIRST CPU whose
/sys/devices/system/cpu/cpu<N>/cpu_capacityfails to open (f==NULL, :1528-1530), fails to parse, is 0, or exceeds UINT32_MAX (:1534-1536) the function returns — it does not skip that CPU. So a partially visible sysfs (e.g. a container/cpuset where only some allowed CPUs expose cpu_capacity) is a total no-op, not a partial pin. This "fail-closed on first unreadable file" behaviour is not stated in #633's description ("If sysfs cpu_capacity is absent, unparseable... the mask is left unchanged" is stated for the whole mask, which is consistent but the per-CPU abort is the mechanism). - Tier selection :1543-1565: bails if count<2 or min==max; selects capacity10 >= max9 (>=90% of max); if fewer than 2 selected, rescales to capacity*2 > min+max (strictly above midpoint); applies sched_setaffinity only if 2 <= selected < count (:1566-1568). Note: with the >=90% rule
selectedcan only be < 2 if there are CPUs under 90% of max, i.e. multiple tiers; the midpoint fallback is only reachable in that case. - Nothing logs, returns a status, or is configurable; result is silently discarded (
(void)). "flare-roce"is 10 bytes, withinpthread_setname_np's 16-byte (TASK_COMM_LEN) limit; it uses the glibcpthread_setname_npform, which is POSIX-ish on Linux but the function is glibc-specific — guarded by__linux__, so musl/other-Linux builds are not considered (untested; project ships glibc builds per #589).- No allocation, no failure path that can poison the transport:
pin_high_capacity_cpusreturns void andproxy_mainignores it, so affinity/naming can never fail a rank. - Insertion point and the vendored header: roce_proxy.c:6-8 says "Keep the source below identical so preparation and serving share the transport ABI"; roce_proxy_dlopen.c:9 says the dlopen shim exists while "keeping the vendored roce_proxy.c byte-for-byte identical to FlashInfer"; docs/roce-ring.md:360-364 repeats the invariant. #633's description does not mention that the file is vendored or where the code came from.
What the description says that the diff does not do: nothing material — every claim in "What changed (before -> after)" matches the code. The description's claim that ROCE_SEND_DEPTH / 6 in reserve() is "preserved" is accurate (roce_proxy.c:784 untouched; also :920 uses /4 in ring_service_slot), and ROCE_ABI_VERSION 14 (roce_proxy.c:134) and helios/src/execution/roce.rs:23 PROXY_ABI = 14 are untouched.
Scope check: #633 contains ONLY the C hunk. #576's Rust-side flare_eos::prefer_high_capacity_cpus for execution threads (eos/src/unix.rs, helios/src/{replay,execution/*,server/runtime}.rs) is NOT here. So on its own, #633 pins only the RoCE proxy thread; every other Helios thread keeps the full mask.
#4 [high] Why: the problem statement, its origin in #576, and that no issue tracks it
#633's stated problem: on asymmetric Linux hosts (ARM big.LITTLE / Grace), proxy_main spins on the doorbell and the scheduler may place/migrate it onto low-capacity cores, adding CPU-side latency and jitter to doorbell polling, completion draining, and ring relay forwarding. Naming the thread flare-roce makes it identifiable in profilers.
Origin of the numbers: the concrete evidence for this problem is in #576, not in #633. #576 states GB10/DGX Spark has 10 Cortex-A725 efficiency cores (cpu_capacity 718-731) and 10 Cortex-X925 performance cores (997-1024), and that the OS placed Helios execution threads and the busy-polling RoCE proxy on efficiency cores on some launches: 48/48 critical threads on X925 over 6 launches vs 4/4 unpinned launches landing on A725; RoceOneshotLaunch C1 width-1 2.77 -> 1.91 ms (-31.0%); p90 inter-graph host wake gap 1,880 -> 30.9 us (61x). #576 also documents flare-roce appearing in /proc/<pid>/task/*/status with Cpus_allowed_list=5-9,15-19.
The proxy thread really is a pure spin loop while ops flow: roce_proxy.c:1586-1657 busy-polls ctrl[CTRL_SEQ], only calling nanosleep(20 us) after ROCE_IDLE_SPINS (20000000, roce_proxy.c:172) idle polls (:1605-1607), which corroborates the "latency-sensitive busy-poller" premise.
Recency of the problem: the multi-host RoCE transport itself is recent — helios/native history shows the proxy landed 2026-10-13 ("Serve packages whose ranks run on separate hosts over native RoCEnante"), ring relay 2026-10-16 (#a36480c7), ABI 7/11/14 syncs 2026-10-13/11-10/11-13. DGX Spark ARM64 focus is the project's stated target (charter Vision: "SM120/SM121 workstations and DGX Spark").
No issue tracks "proxy thread on E-cores": search_items for "affinity pin CPU efficiency cores scheduler jitter" returns no matches other than the two PRs. #633 lists no linked issue and no "Fixes" reference.
#6 [high] Recent activity: #589's dlopen shim depends on roce_proxy.c staying byte-identical; base is current
- #589 (merged 2026-11-28, Luke Alonso, ba3afb13) created helios/native/roce_proxy_dlopen.c, which
#include "roce_proxy.c"at roce_proxy_dlopen.c:236, and changed helios/build.rs:67-77 to compile only the dlopen shim and linkdl+pthread(noibverbs). Comment at roce_proxy_dlopen.c:7-9: the shim exists "while keeping the vendored roce_proxy.c byte-for-byte identical to FlashInfer". So #633's edit lands in a file whose entire reason for the include-shim split (#589) was to keep it untouched, and it also confirms the#ifdef __linux__guard is the only OS gating — roce_proxy.c is compiled only under--features roce, which in turn is what flare-cli/Cargo.toml:44 always enables for the CLI. - #589 also touched
eos/src/unix.rs(the file #576 adds its Rust helper to), which is why #576's Autobot round noted a rebase collision; #633 has no such collision (it only touches native/). - Commits on main since #633 branched (0a8c20f) touching its changed files: none (per orientation packet). #633 is based on current main (0a8c20f, 2026-11-29 "Allow speculative reasoning for grammar-constrained requests (#626)"), so it is not stale.
- helios/native commit history (search_history path=helios/native): 70c811bd (#633, Jason Cook), ba3afb13 (#589 Luke Alonso), dc0d40e0 (RoCE/TP lifecycle hardening), 999c6159 (#325 Iein Valdez), a5b3b2b0 (#279 jetnet), e774a468 (#251 Jason Cook), e350914a, e063d4b6, a36480c7, fd8a8ebf, 40a24b6f — i.e. the file's owners-of-record are Jason Cook/jetnet/Iein Valdez/Luke Alonso.
git logshows commit 70c811bd authored by "Jason Cook" while the PR is filed by original-el8; #251's merge commit e774a468 is also attributed to Jason Cook while its PR is original-el8's. So original-el8 ≡ Jason Cook is the standing pattern in this file (not an anomaly for #633).
#7 [high] People: original-el8 is the priority contributor who blocked #576 on this hunk, and now lands it
- original-el8's GitHub association on this repo: COLLABORATOR; a Priority contributor named explicitly in the charter ("Priority contributors (
@voipmonitor,@original-el8,@lukealonso) carry extra weight—we never close their PRs out of hand as 'low value'"). The charter's "Respect contributors" section names them twice. - Last 180 days: 24 merged, 27 closed, 7 open PRs/issues. Merged areas: docs (14), helios/src (13), helios (5), ignition/preparation (5), ignition/recipes (4). So the author's merged work is mostly scheduler/helios-runtime + docs, with RoCE work specifically: #251 (vendored ABI 11 proxy, merged 15 min after opening) and the earlier ABI-7/ABI-sync/ring commits (e350914a, e063d4b6, a36480c7, fd8a8ebf, e774a468).
- The author is also the reviewer who blocked #576 twice on this very hunk: original-el8's 2026-11-28 CHANGES_REQUESTED review of #576 blocker 2 demanded the vendored C file either be synced through FlashInfer #156 "or apply
flare_eos::prefer_high_capacity_cpus()from Rust around proxy thread creation without modifying the vendored C file." This is the single most important people-level fact: #633 is that reviewer landing the hunk themselves, after the upstream sync landed — a maintainer-side resolution of #576's blocker, but #633 does not say so. - Same-day siblings from the same author (both opened 2026-11-30 08:24, i.e. within minutes of #633): #632 (scheduler calibration ceiling, +216/-33) and #633 itself. Two PRs opened at the same timestamp suggests a batch of split-out work. #632 and #633 share a verbatim "Combined-stack TP4 serving verification" evidence block (same 4x DGX Spark hardware paragraph, same 12-cell geomean
126.61 vs 124.96 tok/s, same Coding Peak109.0/110.7/118.0), which is exactly the "combined stack" caveat #633 discloses. - People who normally work in helios/native (last 180 days commits): Jason Cook (4), Luke Alonso (3), jasonc (2). Reviewers engaged in the area: original-el8, lukealonso, jetnet, iein.
- Discord identity given in the PR: el8. Autobot/case-file infrastructure exists on this repo (flare-autobot comments on #576/#577/#632), but #633 has no Autobot comment yet — it is 0 comments, 0 reviews.
- fordbmorris (FIRST_TIME_CONTRIBUTOR, Discord woooflet) is the author of #576/#577 whose C hunk this duplicates; they are not mentioned anywhere in #633, so they have had no chance to react to their hunk being carried elsewhere.
#9 [high] Claims and evidence: code claims verified; every performance number is the combined stack's, none isolates this hunk
Claims → what backs them (from #633's description; verified against code where possible):
BACKED BY CODE:
- "narrows the mask to CPUs with capacity >= 0.9*max, falling back to capacity > (min+max)/2 if fewer than 2 qualify, applies sched_setaffinity only when 2 <= selected < count" — verified at roce_proxy.c:1543-1568.
- "Preserved ROCE_SEND_DEPTH / 6 in reserve(), its world = 16 ACK safety bound, and ROCE_ABI_VERSION 14 unchanged" — verified: roce_proxy.c:784 still
/6, :134 still 14, :920 still/4, and the diff is +71/-0 so nothing was removed. - "No model core format, Protobuf schema, or RoCE wire/shared-memory ABI changes" — verified: only C code inside proxy_main/pin function;
roce_blob_bytes()/ABI untouched. - Strict compile claim
cc -std=gnu11 -Wall -Wextra -Werror -c helios/native/roce_proxy.c— plausible: all includes present (roce_proxy.c:113-124 has_GNU_SOURCE,pthread.h,sched.h,stdio.h,stdint.h),CPU_SETSIZEneedssched.h(present),UINT32_MAXneedsstdint.h(present). Not independently run here (no toolchain in this environment) — claimed, not verified. - "warnings: 0" / test counts (
42 passedunder-- roce,30 passedunder-- execution::roce, 1,738 passed/6 failed) — claimed, not reproducible in the case file. Note all of these are CPU tests that never executepin_high_capacity_cpus(it needs a RoCE transport + a live proxy thread) and, on x86_64 CI hosts,/sys/devices/system/cpu/cpu<N>/cpu_capacitydoes not exist, so even a live run on CI would return at roce_proxy.c:1528.
CLAIMED BUT NOT EVIDENCED FOR THIS PR:
6. The entire "Claimed benefit and measured results" block (8K/32K/128K decode, prefill, Coding Peak, 46,766-token long-form, geomean 126.61 vs 124.96) is self-declared non-attributable: the PR's own scope note says it "integrates the combined SM121/RoCE kernel, recipe, and scheduler optimization set; isolated single-PR TP4 serving A/B was not run separately", and the Limitations say "direct cpu_capacity sysfs pinning ablation were not run separately". The same benchmark table appears verbatim in #632 (a scheduler PR), which is the strongest single sign the numbers belong to the combined stack, not to this C hunk. Net: there is NO measurement in #633 that isolates either (a) thread naming or (b) cpu_capacity narrowing.
7. "Prevents the RoCE proxy polling thread from running on lower-capacity cores" — no Cpus_allowed_list / /proc/<pid>/task/*/status evidence in #633 (unlike #576, which does present exactly that: flare-roce threads with Cpus_allowed_list=5-9,15-19 vs 0-19). The mechanism is inspected, not observed.
8. The claimed benefit is asserted as "without changing ... homogeneous-host scheduling" — true by inspection (min_cap==max_cap returns at :1543), but on x86_64 it is only a no-op because the sysfs file is absent, which the PR does not say.
9. Charter requirement "Bring real evidence. Performance PRs need benchmarks showing an actual speedup over main on a served workload (#210)" — #633 asserts a served-workload result but explicitly disclaims it for this PR in isolation. That is an honest disclosure (charter principle 12 rewards disclosure) but leaves the charter's speedup requirement unmet for the isolated change.
10. Validation the charter docs require and that this PR does cite: flare run multi-GPU execution (docs/design-review.md:252-259 requires "live multi-GPU execution of real collective graphs (for example, serving a multi-GPU exported core through flare run)" for TP transport changes) — #633 says the TP4 run happened, but under the combined-stack caveat, so it partially satisfies the requirement.
#10 [high] Project fit: vendored parity invariant vs the edit; otherwise well aligned with the charter
Points where the repo's documented rules bear on #633, as facts (no verdict):
IN TENSION:
a) Vendored-source invariant. helios/native/roce_proxy.c:6-8 ("Keep the source below identical so preparation and serving share the transport ABI"), helios/native/roce_proxy_dlopen.c:7-9 ("keeping the vendored roce_proxy.c byte-for-byte identical to FlashInfer"), docs/roce-ring.md:360-364 ("Flare vendors the serving proxy ... When changing the protocol, keep the vendored source identical to the dependency after its provenance header and verify their ABI and collective-region layouts together"). #633 edits the file with no upstream reference. Per #576's author the identical hunk was merged upstream in local-inference-lab/flashinfer#156 at 335459b2, so the edit MAY be a legitimate re-vendor; #633 does not state that, and its commit message does not either (commit subject only). NOTICE:16-19 still names flashinfer f5f5341d... and says "Its implementation is unchanged from that revision" — false after this change whichever way the sync question resolves, and #633 does not touch NOTICE.
b) Aliasing/precedents on this exact question: original-el8's own review of #576 called editing this file a blocker; #251 (also original-el8) re-vendored rather than patched; Automat review of #577 keeps raising "vendored parity" as the recurring blocker. So the repo's established practice for this file is: land in FlashInfer first, then copy.
c) docs/prefix-cache-offload.md:927-928: "Adding CPU affinity requires a serving-latency measurement that shows a benefit." That clause is scoped to offload threads, not the RoCE proxy (Autobot's #576 round 2 explicitly dropped that reading: "That doc governs prefix-cache offload threads, not the RoCE TP collective proxy"), but it is the only in-repo statement about affinity needing measurement, and #633 has no isolated measurement.
d) charter "Bring real evidence" (#210) — see claims entry.
ALIGNED:
e) Target hardware. Charter Vision: "squeeze the most out of workstation and compact hardware—specifically SM120/SM121 workstations and DGX Spark" — DGX Spark GB10 is the asymmetric-ARM host this change is for. Goals list SM103/SM120/SM121 serving and cross-node serving with Orbit.
f) No per-model branches, no new flags/env switches (charter "No per-model special cases or flags"; docs/design-review.md:89-92 prohibits env-var behavior switches) — #633 adds no config surface at all, which fits.
g) "Be explicit and pin everything" / #215 — the change pins nothing new and depends on sysfs; neutral, but the un-updated NOTICE pin (f5f5341d vs 335459b2) is the reverse of "pin everything".
h) STAYS OUT of the Rust/Helios scheduler layers that #576 touches, so it does not trip the formal/TLA+/Kani requirements in docs/design-review.md:232-251 (which apply to scheduler, admission, speculation, cancellation, cache ownership, completion validation, readiness, rank coordination). By touching only native/, #633 avoids the mandatory simulator/formal work entirely — worth flagging as a scope difference from #576.
i) Contribution standards require PR descriptions in four parts (why / what / claimed result / evidence) — #633 has all four.
j) docs/design-review.md "Commit self-review" flow: the .githooks/commit-msg hook requires a Design-Signed-Off-By: <identity>; design-review=<sha256[:4]> trailer (docs/design-review.md:294-318, .githooks/commit-msg:14-15,56-63). #576's author had to redo trailers twice for a stale digest and a missing model name; #633's commit is a single line subject with no visible trailer in the case file. Whether the trailer exists is worth checking on the commit object (not visible through these tools).
#12 [high] Process: ready for review, CI failed, no review, and #576/#633 merge order is unresolved
- State: open, "ready for review" per orientation packet, not draft. Opened and last updated 2026-11-30 08:24 — same minute as sibling #632, hours old at snapshot. Base main @ 0a8c20f, head 70c811bd ("helios/roce: pin proxy polling thread to high-capacity CPUs and name thread", attributed to Jason Cook). Branch
perf/roce-proxy-high-capacity-cpus. - CI: failed on head (orientation packet). No log in case file. In-repo candidate jobs: native-serving.yml (all PRs; native job on ubuntu-24.04 + windows-2022; its Linux
cargo test --features runtime-core,serverat :63 excludesroce, so this C file is never compiled-and-run there except by therdmajob at :101-113 which onlycargo checks--features roce,rdma), helios-lifecycle.yml (paths helios/** → TLA+ conformance + Kani), python-cpu.yml. So no CI job exercisespin_high_capacity_cpusorpthread_setname_npat runtime, and no CI runner is aarch64/multi-tier. Author's local test claims are the only functional evidence. - Review state: 0 reviews, 0 comments, no labels, no Autobot intake comment (by contrast #576/#577/#632 all got one). Nothing has been requested from the author and no maintainer has acknowledged it.
- No stacked-PR markers, no "depends on" or lockstep note (unlike #577, which explicitly says "merge
local-inference-lab/flashinfer#157first"). #633 requires nothing to land first in its own account. - Merge-order question for the decision: #576 (Ford B. Morris) carries the identical hunk plus Rust-side pinning; if #633 merges first, #576's author must drop the C file and rebase (their branch would otherwise conflict on the same 71 lines). If #576 merges first, #633 is empty. Neither PR mentions the other.
#14 [high] Research summary
Case file prepared for PR #633 (helios/roce: pin proxy polling thread to high-capacity CPUs and name thread), 13 scratchpad entries covering all nine angles.
What a reader could not learn from the description, in short: (1) The entire +71/−0 diff is the same hunk already carried in open PR #576 by fordbmorris (+230/−1 over 8 files), which states the hunk was vendored byte-for-byte from merged FlashInfer PR local-inference-lab/flashinfer#156 (335459b2); #633 mentions neither #576 nor any upstream, and the two PRs' merge order is unresolved. (2) #633's author original-el8 is the reviewer who twice blocked #576 on this exact C hunk, demanding it be synced through FlashInfer first or done from Rust without touching the vendored file — #633 is that reviewer landing it themselves after the upstream merge, undisclosed. (3) The vendored-byte-identity invariant (roce_proxy.c:6-8, roce_proxy_dlopen.c:7-9 added by #589, docs/roce-ring.md:360-364) is untouched by the PR, and NOTICE:16-19 still pins f5f5341d and asserts "its implementation is unchanged from that revision". (4) Every performance number is the combined SM121/RoCE/recipe/scheduler stack's — the same table appears verbatim in scheduler PR #632 — and the PR itself disclaims isolated A/B and any cpu_capacity ablation, so nothing isolates thread naming or pinning. (5) CI failed on head 70c811bd, no CI job runs aarch64 or executes this code, and there are zero reviews, comments, labels or Autobot intake. (6) Implementation detail reviewers will want: the read loop fails closed to a complete no-op on the first unreadable/zero cpu_capacity file, the affinity result is silently discarded with no log and no opt-out, and the change is x86_64/Windows-inert. Charter-wise the target hardware (DGX Spark/SM121) aligns, the no-new-flags shape aligns, "bring real evidence" (#210) is only partially met, and by touching only native/ the PR sidesteps the TLA+/Kani obligations #576's Rust-side change triggers.
All scratchpad entries carry file:line and PR/issue citations, with verified facts kept separate from the PR's own claims.
#16 [high] Project fit: the vendored byte-identity invariant is convention-only — no test or CI check enforces it
Searched for any enforcement of the byte-identity rule asserted at helios/native/roce_proxy.c:6-8, helios/native/roce_proxy_dlopen.c:7-9, docs/roce-ring.md:360-364 and NOTICE:16-19:
search_codeforroce_proxy\.cacross*.rsreturns only helios/build.rs:69 (cargo:rerun-if-changed=native/roce_proxy.c) and a doc comment at helios/src/execution/roce.rs:11.search_codeforNOTICE|roce_proxy\.cundertests/returns no matches, so no pytest or Rust test compares the vendored file (or its digest) against the FlashInfer dependency pinned in pyproject.toml:47.- The only tests that touch the proxy are ABI/layout tests in helios/src/execution/roce.rs (
native_proxy_abi_matches_core_contractat :403-406,peer_records_require_one_native_ring_protocolat :433-454), which checkPROXY_ABI == 14and record size — not source identity.
Consequence for the decision: #633 would silently diverge main from its own declared vendoring contract with no red test, and NOTICE:16-19 would keep asserting "Its implementation is unchanged from that revision" while the file differs. Whether the divergence is legitimate turns entirely on the unverifiable-from-this-repo fact that FlashInfer #156 merged at 335459b2 (asserted in #576 by fordbmorris; #633 asserts nothing). No CI job rebuilds or diffs the upstream file.
#5 [medium] Related work: #577 and merged #325/#279/#251/#215 on the same vendored file
related_items for #633 lists these as changing the same file:
- #577 (open, fordbmorris) — RING_WINDOW 8->16, blob 1168->1176, drain_all in run_pipe_op,
ROCE_SEND_DEPTH / 8. Its Autobot review explicitly notes it "edits the same vendoredhelios/native/roce_proxy.cas open sibling PR #576". #577 and #576 were opened 2026-11-28 19:22 (same minute) by the same author and rebased together onto 3801ff1d on 2026-11-30 00:39. If both #576 and #633 land, three PRs touch the same vendored file; #633 is the only one whose hunk is already upstream (FlashInfer #156 / 335459b2). - #325 (merged, iein, 2026-11-18) — ring relay stripe ordering; edited the same file, so vendoring churn is routine here.
- #279 (merged, jetnet, 2026-11-13) — vendored the ABI 14 proxy "unchanged below its vendoring header" (roce_proxy.c:6-8). Precedent: every prior change to this file was a verbatim re-vendor from FlashInfer, not a local edit.
- #251 (merged, original-el8 — the author of #633, 2026-11-10) — vendored ABI 11, "unchanged below its vendoring header". Notably #633's author previously enforced exactly the byte-identity convention this PR now departs from (unless the upstream sync is claimed, which #633's description never does). #251's evidence paragraph claimed source identity against three FlashInfer revisions; #633 claims no such identity.
- #215 (closed, brandonmmusic-max) — "Track FlashInfer main in the preparation dependency instead of a pinned commit"; the charter cites #215 under "Be explicit and pin everything", and pyproject.toml:47 still pins flashinfer via
branch = "main". Search/items_touchingdid not surface any other affinity/pinning PR: #633 is the only CPU-capacity-affinity change besides #576.
#8 [medium] Community/process: zero engagement, no labels, CI failed on head
- #633 has zero comments and zero reviews as of the case-file snapshot (pr_comments: "No comments"; read_item Discussion (0)). No reactions, no labels (orientation packet: "Labels: none"; #576/#577 by contrast carry
area:orbit, performance, triage:review). - No one has reviewed it, including the author of the duplicated #576 (fordbmorris), and no Autobot review has been posted (unlike #576, #577, #632 which each got an intake comment within ~20 min of opening). #633 opened 2026-11-30 08:24 and was last updated 08:24 — it is hours old at snapshot time.
- CI on head 70c811bd: failed (orientation packet). No workflow logs available in the case file; the plausible candidates are visible in-repo: .github/workflows/native-serving.yml (runs on every PR; x86_64 Linux + Windows only,
cargo test ... --features runtime-core,serverat :63 which does NOT includeroce, plus anrdmajob at :101-114 that onlycargo checks--features roce,rdma), helios-lifecycle.yml (paths helios/** →verification/helios-lifecycle/check.py+ Kani), python-cpu.yml. #633's description reports the 6 heliosruntime-core,serverfailures as pre-existing "frontend template fixture tests that requireFLARE_TEST_TEMPLATE_DIR" — native-serving.yml:59 does set FLARE_TEST_TEMPLATE_DIR, but :64-68 (Windows) sets it too; the 6-failure count appears in #576's and #577's evidence as well, so it is not unique to #633. Because CI failed, the specific failing job should be checked rather than assumed to be the template fixtures. - Interest level so far: none. The change is small, maintainer-authored, and undocumented in any discussion.
#11 [medium] Reach: who is affected, observability, no opt-out knob, and the preparation/serving proxy drift
Who/what is affected:
- Every multi-host RoCE user. The proxy is compiled whenever
--features roceis on, and flare-cli/Cargo.toml:44 enablesflare-helioswithroceunconditionally, so releasedflarebinaries include it.RoceTransport::connectstarts the thread (helios/src/execution/roce.rs:300roce_start), which is routed through the dlopen shim's#include "roce_proxy.c". - Observable change for operators/profilers: a thread named
flare-roceappears inps -T,top -H,perf, and/proc/<pid>/task/*/comm. Nothing in docs/ mentionsflare-roce(search_code forflare-rocefinds only roce_proxy.c:1575); the naming conventionflare-*is otherwise consistent with Rust threads (flare-modelruntime.rs:639,flare-httpserver.rs:342,flare-cudareplay.rs:172,flare-executionworker.rs:69), so it fits, but it is undocumented and could collide conceptually with nothing (no otherflare-roce). - CPU affinity: on multi-tier Linux hosts the proxy thread's
Cpus_allowed_listshrinks to the top capacity tier. That removes it from the efficiency cores, which changes what else can run there: with the proxy now co-resident with the model thread on P-cores, contention betweenflare-model/flare-roceon the same 5 P-cores is possible (this is exactly what #576's round-2 review worried about in the opposite direction). It also reduces the CPUs available to the proxy if an operator runs with a small cpuset: if a taskset restricts to 2 CPUs of equal capacity the function no-ops (min==max), and if it restricts to CPUs which cannot all be read, it no-ops (fail-closed). No operator-facing knob exists to opt out; the only escape istaskset/cpuset at launch. That is arguably consistent with "explicit configuration" (the operator's mask wins), but there is no way to ask for "don't tighten within my mask". - Non-Linux: fully compiled out (
#ifdef __linux__), so Windows builds and the Windows CI job are unaffected; unlike #576, nowindows.rsstub was needed. - x86_64 Linux: no
/sys/devices/system/cpu/*/cpu_capacity(arch_topology sysfs is ARM-only; documented in #576's limitations and in the #576 Autobot review's dropped-finding list: "Linux x86_64 does not exposearch_topologysysfscpu_capacity"), so the function returns at roce_proxy.c:1528 on the first CPU — a guaranteed no-op, but also a guaranteedopen()+fopenfailure path per thread start (one failed syscall per transport, negligible). - Container/cpuset deployments: the fail-closed-on-first-unreadable-CPU behaviour means partial sysfs visibility silently disables pinning; no log, so an operator cannot tell whether it engaged. (Compare #576 which had no logging either and whose reviewer explicitly dropped "no logging" as a finding, citing eos being a low-level crate and docs/design-review.md:91.)
- Compatibility: no ABI/wire/core-format change; previously exported cores load unchanged (description claim, matches the +71/-0 C-only diff). Mixed-build clusters: unaffected — the change is local scheduling only, so an ABI-14 core and either binary interoperate.
- Dependencies: none added (uses glibc pthread/sched and stdio already included).
- Documentation: nothing updated — no docs/roce-ring.md note about
flare-roceor affinity, no NOTICE re-pin, no README. Compare #576 which also updated no docs (its Autobot round flagged the same gap as "should fix"); #577 did update docs/roce-ring.md. - Preparation side: the Python preparation dependency pulls FlashInfer at branch main (pyproject.toml:47), so if FlashInfer #156/335459b2 is on main, preparation's proxy is now newer than the vendored one on Flare
main— i.e. until #633 lands (or #576 lands), serving and preparation proxies differ by exactly this hunk.
#13 [medium] Code path: roce_start → pthread_create → proxy_main, and the Rust-side alternative that was previously suggested
Rust type contract, for reviewers who will ask "does the runtime call it from Rust?": roce_start(roce_ctx_t*) (roce_proxy.c:1661) is what creates the thread (pthread_create(&c->thread, NULL, proxy_main, c) at :1674). It is declared in helios/src/execution/roce.rs:72 and called from RoceTransport::connect at roce_proxy.rs... precisely roce.rs:300, immediately after roce_connect succeeds. So the pinning happens once per transport connect, on a fresh pthread created with default attributes (no explicit affinity in pthread_create, so the new thread inherits the creator's mask via clone semantics — this is what makes sched_getaffinity(0,...) inside the thread see the inherited mask).
Alternative implementation the reviewer already suggested for #576 (relevant as prior art, not a demand): "apply flare_eos::prefer_high_capacity_cpus() from Rust around proxy thread creation without modifying the vendored C file" (original-el8, #576 review 2026-11-28). Also #576's Autobot round 1 proposed applying it "from Rust around proxy thread creation". Because pthread_create is inside the C file and the thread starts immediately, doing it from Rust would race the thread's first polls — which is presumably why the C edit is the chosen route now. Note eos/src/unix.rs at #633's base has NO select_high_capacity_cpus/prefer_high_capacity_cpus (search_code for cpu_capacity across the whole tree returns only roce_proxy.c hits), so the only implementation of this selection logic in the repo is #576's unmerged one plus this PR's C copy; if both land, the code exists twice (C in roce_proxy.c, Rust in eos/src/unix.rs) — the exact duplication original-el8's #576 review objected to.
#15 [medium] Process: which orientation-packet leads were followed and which are not relevant
Leads from the packet and their disposition:
FOLLOWED, MATERIAL:
- #576 (open) — the same C hunk plus Rust-side pinning; the single most important relation (entries 1, 2, 13).
- #577 (open) — same vendored file, different protocol purpose; co-rebased with #576 (entry 5).
- #589 (merged) — created roce_proxy_dlopen.c whose stated purpose is keeping this file byte-identical; also touched eos/src/unix.rs (entry 6).
- #632 (open, same author, opened same minute) — shares the combined-stack evidence block verbatim (entries 7, 9).
- #251 (merged, same author) and #279 (merged, jetnet) — both re-vendored this file "unchanged below its vendoring header", establishing the convention (entry 5).
- #325 (merged, iein) and #215 (closed, brandonmmusic-max) — historical edits to the file / the FlashInfer pinning rule the charter cites (entries 5, 10).
- Commit-author identity: commit 70c811bd is attributed to "Jason Cook" while the PR is original-el8's, matching #251's merge commit e774a468 — the standing pattern for this file, not an anomaly (entry 6).
LEADS CONSIDERED, NOT RELEVANT TO THIS CHANGE:
- #34 (open issue, "RoCE ring: distant ranks have no fabric path — forward 2-hop via flow label 16383") — routing/protocol, not thread scheduling; no overlap with affinity or naming.
- #232 (merged, direct-cable rails), #280 (merged, WFET frame-completion parking on GB10), #324 (closed), #271 (closed, ABI 14 mismatch) — these concern rail selection, serving-loop parking, relay ordering, and proxy ABI, all in the same file's history but none touch thread placement; #279's description explicitly separates ABI sync from #232's routing.
- #614, #496, #497 (merged) — test flakes / Selene disk / offload latency; unrelated code, and #497 only appears because a search hit its "performance" language.
- #554 (open draft, Engram RDMA READ) — different transport consumer; no shared thread or file change.
- #215 (closed) is relevant only as the charter's pinning citation (already recorded in entry 5).
- Side observation: shell/Autobot comments in #576/#577 contain agent-directed boilerplate ("Have your agent review the Full Review", "Call @flare-autobot after push", "Opt-out: Include #autobot:ignore"). This is routine repo tooling text, not an attempt to redirect this review; #633 itself has no comments at all.
#17 [medium] Correction/caveat: what is verified vs unverified in my own impact notes
To keep verified facts apart from claims, these are the soft spots in my earlier entries:
- "Windows builds unaffected" (entry 11) is only partly verified. Verified: the new code sits inside
#ifdef __linux__(roce_proxy.c:1505,1574), so it cannot affect a non-Linux compile. NOT verified: whether therocefeature (which compiles native/roce_proxy_dlopen.c, a file that includes <dlfcn.h>) is actually built in the windows-2022 matrix leg of .github/workflows/native-serving.yml:20-21,43-45. flare-cli/Cargo.toml:44 enables flare-helios withroceunconditionally, but the Windows leg evidently builds onmaintoday, so something pre-existing handles it. This is a pre-existing condition unrelated to #633 and should not be read as a #633-specific risk. - "glibc-specific pthread_setname_np / musl untested" (entry 3) is an inference from the
__linux__guard, not from any build evidence. The repo's release pipeline targets glibc (per #589's GLIBC_2.35 floor work), so no evidence of a musl consumer exists. - "Preparation/serving proxy drift until this lands" (entry 11) relies on pyproject.toml:47 pinning FlashInfer
branch = "main"and on FlashInfer #156 having merged. The first is verified in-repo; the second is the PR-author claim from #576. There is no uv.lock in the tree (searched: no *.lock other than Cargo.lock files, despite docs/model-preparation.md:146-148 and docs/roce-ring.md:333 referring touv.lockrecording the resolved commit) — so the resolved FlashInfer revision cannot be determined from this repository snapshot at all. That documentation gap is itself worth knowing: four docs tell readers to checkuv.lock, and nouv.lockis present. - "Commit message is a single-line subject with no visible trailer" — search_history only reports subject lines, so the presence/absence of the
Design-Signed-Off-Bytrailer (required by .githooks/commit-msg:14-15,56-63 and docs/design-review.md:294-318) must be confirmed against the commit object; I could not read it with the available tools. - No toolchain was available, so the strict-compile claim (
cc -std=gnu11 -Wall -Wextra -Werror) and all Rust test counts in #633 are the author's, not reproduced here; I only checked that the required headers/defines are present (roce_proxy.c:113-124).
#18 [medium] Report skeleton: high-importance entries to lead Key findings
Key findings should lead with what is invisible in the description, in this order (entries in parentheses):
- The diff is the identical hunk already in open #576 by fordbmorris, vendored from merged FlashInfer #156 / 335459b2; #633 cites neither, and #576/#633 merge order is undefined (1, 2, 12).
- #633's author is the reviewer who blocked #576 on this same C hunk, demanding the FlashInfer sync or a Rust-only fix — the PR is the maintainer-side resolution of their own blocker, undisclosed (7).
- Vendored byte-identity invariant + stale NOTICE:16-19, with no automated enforcement anywhere in the repo or CI (10, 15).
- All performance numbers belong to the combined SM121/RoCE/recipe/scheduler stack — the identical table appears in scheduler PR #632 — and the PR disclaims isolated A/B and any cpu_capacity ablation, so nothing isolates this hunk (9).
- CI failed on head 70c811bd; no job runs aarch64 or executes this code; zero reviews/labels/Autobot intake; ready-for-review but effectively unexamined (8, 12).
- Implementation facts reviewers will ask about: fail-closed first unreadable cpu_capacity is a total no-op (3), silent result and no opt-out (11), affinity only within the inherited mask so operator cpusets still win (13), thread started from Rust at roce.rs:300 so no Rust-side alternative without racing the loop (13).
Then the body angles in the required order: change (3), why (4), related work (1, 2, 5, 14), recent activity (6), people (7), community (8, 12), project fit (10, 15), claims and evidence (9, 16), reach (11), process (12). Nothing found for: none of the angles is empty; "why" has no linked issue of its own (recorded in 4).