Skip to content

docs(design): Windows TransmitFile zero-copy network send (#2130) - #4253

Merged
oferchen merged 1 commit into
masterfrom
docs/windows-transmitfile-zerocopy-2130
May 17, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/windows-transmitfile-zerocopy-2130

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Adds docs/design/windows-transmitfile-zerocopy.md complementing the existing docs/design/windows-transmitfile.md API survey.
  • Focuses on the runtime integration questions the original doc left open: where the user-space hop lives today, how the rsync multiplex envelope rides TRANSMIT_FILE_BUFFERS.Head, the quantitative hypothesis (30-50% wall time on 10 GbE / 1 GiB / warm cache), failure modes + fallbacks, an explicit defer recommendation with trigger conditions, and a five-step implementation plan.
  • Cites the exact lines being optimised: crates/transfer/src/generator/delta.rs:245-263, crates/protocol/src/multiplex/writer.rs:179-195, crates/protocol/src/multiplex/io/send.rs:16-22, crates/fast_io/src/iocp/socket.rs:284-335.

Test plan

  • Doc renders correctly on GitHub
  • No code or CI changes; design-only PR

Complements docs/design/windows-transmitfile.md with the runtime
integration analysis: where the user-space hop lives today
(generator/delta.rs:245-263), how the multiplex envelope rides
the TRANSMIT_FILE_BUFFERS.Head iovec, the quantitative hypothesis
(30-50% wall time on 10 GbE / 1 GiB warm cache), failure modes
with fallbacks, explicit defer recommendation with trigger
conditions, and a five-step implementation plan.
@oferchen
oferchen merged commit b8f493a into master May 17, 2026
8 checks passed
@oferchen
oferchen deleted the docs/windows-transmitfile-zerocopy-2130 branch May 17, 2026 20:13
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 17, 2026
oferchen added a commit that referenced this pull request May 18, 2026
)

Complements docs/design/windows-transmitfile.md with the runtime
integration analysis: where the user-space hop lives today
(generator/delta.rs:245-263), how the multiplex envelope rides
the TRANSMIT_FILE_BUFFERS.Head iovec, the quantitative hypothesis
(30-50% wall time on 10 GbE / 1 GiB warm cache), failure modes
with fallbacks, explicit defer recommendation with trigger
conditions, and a five-step implementation plan.
oferchen added a commit that referenced this pull request May 18, 2026
)

Complements docs/design/windows-transmitfile.md with the runtime
integration analysis: where the user-space hop lives today
(generator/delta.rs:245-263), how the multiplex envelope rides
the TRANSMIT_FILE_BUFFERS.Head iovec, the quantitative hypothesis
(30-50% wall time on 10 GbE / 1 GiB warm cache), failure modes
with fallbacks, explicit defer recommendation with trigger
conditions, and a five-step implementation plan.
oferchen added a commit that referenced this pull request Aug 24, 2026
)

Complements docs/design/windows-transmitfile.md with the runtime
integration analysis: where the user-space hop lives today
(generator/delta.rs:245-263), how the multiplex envelope rides
the TRANSMIT_FILE_BUFFERS.Head iovec, the quantitative hypothesis
(30-50% wall time on 10 GbE / 1 GiB warm cache), failure modes
with fallbacks, explicit defer recommendation with trigger
conditions, and a five-step implementation plan.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant