Skip to content

Diagnose Store journal time in game-thread hitches - #187

Open
viktor-ferenczi wants to merge 1 commit into
codex/se-1908-release-ownershipfrom
codex/se1910-journal-timings
Open

viktor-ferenczi wants to merge 1 commit into
codex/se-1908-release-ownershipfrom
codex/se1910-journal-timings

Conversation

@viktor-ferenczi

Copy link
Copy Markdown
Contributor

Store journal hitch records now show how long the game thread waited for the journal lock, prepared and wrote the entry, and waited in the durable flush. The existing total includes all three. This gives operators a way to investigate multi-node game-thread stalls. Each append still flushes to disk before returning.

On Linux, holding the actual journal lock for 80 ms produced a single 81.8 ms total on main. With this change, the trace showed 80.9 ms waiting for the lock, 0.1 ms writing, and 0.9 ms in the durable flush (81.9 ms total).

The quiet and busy-disk arms of P2-STORE-BURST both failed the new attribution check on main. Both passed with this change. In the busy-disk arm the game thread spent 229.0 ms across 200 appends, including 3.0 ms waiting for the lock, 6.0 ms writing and 219.1 ms in the durable flush. In a separate full-size archive replay the slow production journal event did not recur. The backup correlation remains under investigation. SE-1910

@viktor-ferenczi
viktor-ferenczi changed the base branch from main to codex/se-1908-release-ownership November 25, 2026 05:04
@viktor-ferenczi
viktor-ferenczi force-pushed the codex/se1910-journal-timings branch from 25f6921 to f0d790c Compare November 25, 2026 05:04
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