mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1702] [CLOSED] bench: validate 128K-1M live, RAM and disk cache reuse #3622
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3622
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1702
Author: @CC-David-CC
Created: 10/9/2026
Status: ❌ Closed
Base:
main← Head:bench/long-context-checkpoint-tiers📝 Commits (5)
8a6318bfeat: extend native sessions with branch history and checkpoint retention219dff9bench: compare existing RoPE and YaRN at 512K and 1Mb81e7c8docs: clarify saving and restarting YaRN configuration3732447bench: validate 128K through 1M live, RAM and disk cache reuse0bca799docs: normalize inherited chart whitespace📊 Changes
136 files changed (+25093 additions, -49 deletions)
View changed files
➕
bench/results/2026-10-09-long-context-cache/README.md(+174 -0)➕
bench/results/2026-10-09-long-context-cache/capacity.png(+0 -0)➕
bench/results/2026-10-09-long-context-cache/capacity.svg(+3314 -0)➕
bench/results/2026-10-09-long-context-cache/latency.png(+0 -0)➕
bench/results/2026-10-09-long-context-cache/latency.svg(+3905 -0)➕
bench/results/2026-10-09-long-context-cache/plot.py(+138 -0)➕
bench/results/2026-10-09-long-context-cache/raw/context-1048576/COMPLETE(+1 -0)➕
bench/results/2026-10-09-long-context-cache/raw/context-1048576/disk/config.json(+57 -0)➕
bench/results/2026-10-09-long-context-cache/raw/context-1048576/disk/disk-restore-after-restart-native.log(+9 -0)➕
bench/results/2026-10-09-long-context-cache/raw/context-1048576/disk/engine.log(+85 -0)➕
bench/results/2026-10-09-long-context-cache/raw/context-1048576/disk/execution-identity.json(+84 -0)➕
bench/results/2026-10-09-long-context-cache/raw/context-1048576/disk/seed-prefill-native.log(+8 -0)➕
bench/results/2026-10-09-long-context-cache/raw/context-1048576/disk/server.log(+159 -0)➕
bench/results/2026-10-09-long-context-cache/raw/context-1048576/live/config.json(+57 -0)➕
bench/results/2026-10-09-long-context-cache/raw/context-1048576/live/distraction-native.log(+1 -0)➕
bench/results/2026-10-09-long-context-cache/raw/context-1048576/live/engine.log(+44 -0)➕
bench/results/2026-10-09-long-context-cache/raw/context-1048576/live/execution-identity.json(+84 -0)➕
bench/results/2026-10-09-long-context-cache/raw/context-1048576/live/fresh-replay-native.log(+1 -0)➕
bench/results/2026-10-09-long-context-cache/raw/context-1048576/live/live-reuse-native.log(+1 -0)➕
bench/results/2026-10-09-long-context-cache/raw/context-1048576/live/seed-prefill-native.log(+7 -0)...and 80 more files
📄 Description
Summary
Validate #1667 checkpoint persistence with the existing RoPE/YaRN configurations covered by #1692. This integration branch includes those dependency commits; the new work is the benchmark harness, raw evidence and charts. Native inference code is unchanged; no cache converter is used.
At 1M, disk restore cuts first-token latency from 236.48s to 40.53s (5.8x). Including checkpoint writeback, the full request drops from 236.84s to 106.89s (2.2x faster; 130 seconds saved).
At 1M: 27.73 GiB disk checkpoint; 28.29 GiB parked RAM snapshot; peak server RAM 71.6 GiB, VRAM 73.9 GiB, temporary disk growth 83.3 GiB. Parking the outgoing 1M conversation itself costs 10.90s.
Validation and reproduction
RTX PRO 6000 96 GB; ISTA IQ3_XXS; FP16 KV; MTP width 4; 128-token output cap. Ordinary RoPE at 128K/256K, YaRN 2x at 512K and 4x at 1M.
All 16 continuations recovered three codes placed near the beginning, middle and end. Example follow-up: "Return the three verification codes in order." Answer:
CEDAR-731 | MARBLE-482 | QUARTZ-956. Identical continuation token hashes and execution identities across tiers; native RAM restores and bookmarked disk restores after restart verified. Focused regression tests: 56 passed, one optional SDK test skipped.One observation per condition, not percentile or general quality evidence. Startup excluded; OS page cache not flushed. RAM restore follows a tiny unrelated request, not a second equally large conversation. Cache tiers are isolated for comparison.
Commands, cache-budget settings, raw answers and measurements. The larger FP16 snapshots require raising the default 4 GiB snapshot limit.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.