Skip to content

bench: isolate resident delivery with matched native CSI controls - #48

Merged
gspark-etri merged 9 commits into
integration/onggi-prepared-servingfrom
exp/47-resident-delivery
Nov 2, 2026
Merged

gspark-etri merged 9 commits into
integration/onggi-prepared-servingfrom
exp/47-resident-delivery

Conversation

@gspark-etri

@gspark-etri gspark-etri commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

The earlier delivery/restart benchmark mixed file delivery with runtime residency. This experiment keeps the same RNGD owner, shared weights and base programs while comparing four delivery paths from a base-only graph cache. It also checks ownership with the owner's actual CSI-published checkpoint and tests S512 capacity against an independent fresh target.

Five alternating main cohorts (20 transitions; 10,200 native calls) give validated demand-to-first-token medians [inclusive IQR] of:

Delivery path Seconds
Graph-only local copy 0.402495 [0.008617]
Graph-only CSI fallback 0.416117 [0.002011]
Whole bundle, CSI reconstruction 67.576389 [0.307710]
Whole bundle, CSI rebase 9.881452 [0.289921]

Whole-bundle delivery drops from 57.891s to 0.315s, with complete target SHA validation inside the endpoint. The graph-only local-copy baseline is already fast; CSI is slightly slower here. Default graph reuse admission refuses 22.3% same-offset content, so that result is fallback, not successful rebase. Donor preparation costs are recorded separately and cannot be ignored for a one-off deployment.

The package preserves 262 exact cohort files and 141 operational records, including source/binary pins, configs, failed CPU preparations, Job/Pod UIDs, actual CSI RPC/log/lease/mount/inode evidence and cleanup receipts. All eight native Jobs used one card with deadlines/TTL and were UID-cleaned. Separate n=1 controls establish active-checkpoint refusal and P257/O8 fresh-target parity (9,231 capacity native calls); these are not latency distributions.

Pre-merge review found that failed owner close could release CSI leases. The reusable harness now retains mounts/leases and partial evidence until process exit on that branch. A regression executes its real cleanup block with actual temporary lease files. The measured source pins and accepted raw observations remain unchanged; the native core has no diff.

Validation: independent native/evidence review and focused cleanup re-review have no remaining Important findings. Exact-head Linux CI41387459660 at91c7de5 was read: 727 passed, 2 skipped, 4 subtests, plus all binding and native-package verifiers and exact n5 summary reproduction. Local focused tests:21 passed/1 skipped. Full local Windows collection is unavailable because httpx is absent; Linux CI runs the full suite. The annotated resident-delivery-20261102-raw-v1 tag preserves measured-source ancestry across squash merge.

Scope: colocated POSIX CSI, shared uncontrolled OS cache, explicit zero-inflight caller, reconstructed native first-token endpoint. This is not a stock production FXB comparison, HTTP/Pod readiness result, network/cold-cache result or loaded-service drain study. Model payloads/vendor binaries are absent from Git; offline verification checks recorded hash witnesses. CPU same-cache/chunking and loaded-service studies remain separate work.

Closes #47.

@gspark-etri gspark-etri changed the title bench: isolate resident delivery with CSI ownership controls bench: isolate resident delivery with matched native CSI controls Nov 2, 2026
@gspark-etri
gspark-etri marked this pull request as ready for review November 2, 2026 04:18
@gspark-etri
gspark-etri merged commit d5da9d1 into integration/onggi-prepared-serving Nov 2, 2026
1 check passed
@gspark-etri
gspark-etri deleted the exp/47-resident-delivery branch November 2, 2026 04:18
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