Windowed ACK: 88 KB/s write (96% line efficiency)#36
Merged
Conversation
Send W blocks (16 × 16KB = 256KB) back-to-back without waiting for ACKs, then read all W ACKs. Pipelines round-trips, approaching line speed. Falls back to single-block retry on failure. Benchmark (hi3516ev300, 921600 baud, 16MB): Per-packet ACK: 30 KB/s, 9.0 min (33%) Streaming: 77 KB/s, 3.5 min (84%) Windowed (W=16): 88 KB/s, 3.1 min (96%) Theoretical max: 90 KB/s, 3.0 min Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
37 tasks
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.
Summary
Windowed ACK write: send W blocks (16 × 16KB = 256KB) back-to-back without waiting for ACKs, then read all W ACKs. Pipelines round-trips to approach line speed. Falls back to single-block retry on failure.
Benchmark (hi3516ev300, 921600 baud, 16MB, CRC verified)
Test plan
🤖 Generated with Claude Code