You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(tp2): let pending snapshots run before AR advances - #14
Extends #13’s snapshot handoff to AR and batched advances. A pending capture previously waited 601 ms while 22 new advances acquired the same mutex; capture itself then took 3.9 ms. A thread-local Turn lets nested advances finish inside an active fallback decode without waiting on the snapshot gate and deadlocking.
This branch contains only rebased #13 plus the AR code/test commit 50dc06cb (original 92bf7cb6). The AR follow-up changes three files. Until #13 merges, GitHub’s cumulative diff also includes that prerequisite. Both are rebased onto rdma at 3198893d; test registration follows the current non-Windows CMake layout. No benchmark documentation, measurements, scripts or images are added to this PR.
Results from the earlier integration stack: eight balanced AR pairs matched all 80 outputs, with C2 throughput +5.415% (95% CI +0.886 to +12.644%). Adaptive-MTP results were inconclusive. Fair admission can delay the first request while improving combined progress; this is not a uniform latency or general speedup claim. Those measurements use the revisions and configurations recorded in the evidence, not this fresh rebase.
Fresh rebase validation: focused CPU gate, TP executor, control and disk-store tests; gate ASan/UBSan; repository formatting. No fresh two-node performance claim. Remains draft for review.
November 5 integration check
The requested rebase is superseded by the maintainer’s integration into rdma: prerequisite #13 is included through merge a7fa41d6 and the AR follow-up through f070a179. The AR range-diff is identical; gate/test files match our review head. No duplicate patch was pushed or PR closed. Fresh validation of integrated f070a179: gate, TP executor, control and disk-store CPU tests pass; gate ASan/UBSan and repository formatting pass. This is a code/integration check, not a new two-node performance measurement.
Thanks, the AR follow-up itself looks right to me: the thread-local Turn keeps the nested Advance inside a fallback DecodeStep from waiting at the gate, which is the deadlock I was looking for.
I'd like to take only the code commit (92bf7cb6, on top of #13), not the rest of this PR. The other commits add about 40 data, script and image files under docs/patches/ar-snapshot-turn/ and edit BENCHMARKS.md, EXPERIMENTS.md and QUALITY.md, which record measurements from my pair. Could you split it so that this PR carries just 92bf7cb6 and a short summary of the results in the description, and keep the evidence on your fork's branch with a link? I'm testing #11, #12, #13 and 92bf7cb6 together on my TP2 pair against the current rdma now. Both #13 and this PR conflict with it in CMakeLists.txt/cmake/Checks.cmake (test registration only), so a rebase would help as well.
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
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.
Extends #13’s snapshot handoff to AR and batched advances. A pending capture previously waited 601 ms while 22 new advances acquired the same mutex; capture itself then took 3.9 ms. A thread-local
Turnlets nested advances finish inside an active fallback decode without waiting on the snapshot gate and deadlocking.This branch contains only rebased #13 plus the AR code/test commit
50dc06cb(original92bf7cb6). The AR follow-up changes three files. Until #13 merges, GitHub’s cumulative diff also includes that prerequisite. Both are rebased ontordmaat3198893d; test registration follows the current non-Windows CMake layout. No benchmark documentation, measurements, scripts or images are added to this PR.Results from the earlier integration stack: eight balanced AR pairs matched all 80 outputs, with C2 throughput +5.415% (95% CI +0.886 to +12.644%). Adaptive-MTP results were inconclusive. Fair admission can delay the first request while improving combined progress; this is not a uniform latency or general speedup claim. Those measurements use the revisions and configurations recorded in the evidence, not this fresh rebase.
Full retained evidence, raw data, scripts and qualification limits on our fork.
Fresh rebase validation: focused CPU gate, TP executor, control and disk-store tests; gate ASan/UBSan; repository formatting. No fresh two-node performance claim. Remains draft for review.
November 5 integration check
The requested rebase is superseded by the maintainer’s integration into
rdma: prerequisite #13 is included through mergea7fa41d6and the AR follow-up throughf070a179. The AR range-diff is identical; gate/test files match our review head. No duplicate patch was pushed or PR closed. Fresh validation of integratedf070a179: gate, TP executor, control and disk-store CPU tests pass; gate ASan/UBSan and repository formatting pass. This is a code/integration check, not a new two-node performance measurement.