mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2834] [CLOSED] docs: --prompt-cache-every is not a piece-size dial here (the fork's is) #4290
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#4290
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/2834
Author: @gopinath87607
Created: 10/17/2026
Status: ❌ Closed
Base:
main← Head:docs-ckpt-cadence📝 Commits (1)
4a5fa03docs: --prompt-cache-every is not a piece-size dial here (the Maya checkout's is)📊 Changes
1 file changed (+14 additions, -0 deletions)
View changed files
📝
docs/DETAILS.md(+14 -0)📄 Description
What this changes
A docs bullet for
--prompt-cache-every, indocs/DETAILS.md: the knob is not a piece-size dial in this engine.In the Maya checkout it is also a wall-time dial because there its marks bound the segments the prompt path
reads, and every segment pays a fill and a drain of the part chain.
What the bullet records:
STRATA_GLM_CKPT_EVERY(same 16384 default), local commit3095719(2026-10-15), on a 100,535-token fresh read (Maya-L split, 8192-token chunks, one 580-token warm prompt before each
arm, engine restarted between arms):
16384cut the read into 5 pieces read in 148.8 s,32768into 4 in 134.9 s(-9.3%),
0into one of 13 chunks in 93.2 s (-37.4%) — that checkout's numbers on its rig, a piece fitting~14.6 s + 6.5 s a chunk there.
ends at it. What cuts this engine's read into runs is the cut list — a re-read (
STRATA_CKPT_REREAD), thesystem-prompt root, a message boundary (
STRATA_CACHE_MESSAGE_BOUNDARY), the start of the last turn and a pinnedprefix — and each of those is one fill and drain.
--prompt-cache-every 0here skips the periodic marks and the near-tail one (a--prompt-cache-tailmark needs--prompt-cache-everyabove 0), while the root, the last turn, a message boundary and a pin are still saved — thesame trade the Maya checkout documents for its
0: a client that rewrote a turn before the last one mounts afarther mark. The lever for a fresh long read here is those cuts, not this cadence.
What it leaves alone
Documentation only: not one line of code or default changes. Every name and flag the bullet cites was checked against
the tree it documents (
--prompt-cache-every,--prompt-cache-tail,STRATA_CKPT_REREAD,STRATA_CACHE_MESSAGE_BOUNDARY).Measurements
The numbers above are quoted with what they were measured on (the Maya checkout's rig, Maya-L split, the warm prompt,
the restarts between arms). No number is claimed for this engine.
Checks
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.