Roll out event-path CPU fixes (R1 worker pin/drain thread, R2 gateway relay) vd03 → QA → PROD #236
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Deploy gate for the ~240 ev/s worker CPU fix. Plan:
docs/plans/2026-11-21-worker-perf-rollout.md(onfeat/worker-perf-prototype).R1
feat/worker-perf-prototype(659bb831,30ac3f32):UnfairSemaphoreSpinLimit=10;WorkerReady.record_info_pin_status(field 5, additive), logged by the gateway and shown on the dashboard session page.windev: worker 67% → 6.2% of a core, gateway 8.1% → 6.9%.
R2
feat/gateway-relay-hops: #235 (inline hand-off, lazy dashboard mirror, read-ahead reader). windev: gateway −17.5% on top of R1.Baseline (vd03, 2026-11-21): hot worker 44.5% of one core (15.7 user + 28.8 kernel), ≈11% of the box, at ~240 ev/s.
Merge
mainmain(after the R1 vd03 soak)Ring 0: windev
pinned {77e896ec-…} v3.2for each sessionperfload30 min at ~242 ev/s: no faults, no backlog overflow, no sequence gaps; worker ≈6% of a coreRing 1: DEV vd03 (owner deploy approval)
pinnedon both sessionstypeperf(same as baseline, no WPR) or an on-box Task Manager reading. Pass: hot worker ≤10% of a core at a comparable ratecsagentcost: raise the CrowdStrike exclusion request forMxGateway.Worker.exeRing 2: QA vq03 → vq04
Ring 3: PROD vp03 / vp04 (change window, downstream owners notified)
Close-out
docs/deploy/with the vd03 before/after numbersNote: WinRM on the wonder boxes is deploy-only; the post-deploy counter capture needs explicit approval.
Deploy worker perf fixes to vd03 and re-measure 240 ev/s CPUto Roll out event-path CPU fixes (R1 worker pin/drain thread, R2 gateway relay) vd03 → QA → PRODRing 1 (DEV vd03): R1 then R2 deployed 2026-11-21, no rollback. vd03 now runs
9a4bc1df. Deploy note:docs/deploy/2026-11-21-vd03-perf-r1-r2.md(branchfeat/gateway-relay-hops).e74918ccpinnedafter each deploy.dashboard.pfxwere carried. Downtime was about 13 s per deploy, and ScadaBridge re-subscribed its 810 tags.Blocks QA: the event rate dropped from 355 to 242/s at the R1 restart and has not recovered.
AdviseSupervisoryis still 810.Checklist: Ring 1 R1 deployed ✅, CPU re-measure ✅ (pass), R2 deployed and re-measured ✅. Open: explain the event-rate drop; 48 h soak.
The 2026-12-02 bug + perf review (MXA-002 / WIP-002) confirmed that none of the event-path CPU fixes are on
mainat54367e74. They live only onfeat/worker-perf-prototype→feat/gateway-relay-hops→fix/readbulk-subscription-teardown, each 2 commits behind main. Landing them is Phase 1 of the fix plan: #252.Merged to
mainat68043411(pushed 2026-12-03). Gateway suite 1610 passed / 0 failed (macOS); windev worker CI 836 passed / 0 failed on that SHA.The R1/R2 code is now on
main(Phase 1, #252), withperf.mdasdocs/WorkerEventPathPerformance.md. Left open for the QA/PROD rollout, which hasn't been requested yet.