Repository navigation
Diagnose Store journal time in game-thread hitches - #187
Open
viktor-ferenczi wants to merge 1 commit into
Open
viktor-ferenczi wants to merge 1 commit into
viktor-ferenczi wants to merge 1 commit into
Conversation
viktor-ferenczi
changed the base branch from
main
to
codex/se-1908-release-ownership
November 25, 2026 05:04
viktor-ferenczi
force-pushed
the
codex/se1910-journal-timings
branch
from
November 25, 2026 05:04
25f6921 to
f0d790c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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