Skip to content

Reorder limiter test support exports#1861

Merged
oferchen merged 1 commit into
masterfrom
fix-formatting-issues-in-limiter/mod.rs
Nov 1, 2025
Merged

Reorder limiter test support exports#1861
oferchen merged 1 commit into
masterfrom
fix-formatting-issues-in-limiter/mod.rs

Conversation

@oferchen
Copy link
Copy Markdown
Owner

@oferchen oferchen commented Nov 1, 2025

Summary

  • reorder the test-support re-export in the bandwidth limiter module so it follows cargo fmt's preferred grouping

Testing

  • cargo fmt --all -- --check

https://chatgpt.com/codex/tasks/task_e_69057f9b5a948323b4697f857cf4d143

@oferchen oferchen merged commit 1b0490a into master Nov 1, 2025
@oferchen oferchen deleted the fix-formatting-issues-in-limiter/mod.rs branch November 1, 2025 03:36
oferchen added a commit that referenced this pull request Apr 29, 2026
* docs(transport): investigate splice()/vmsplice() for SSH stdio (#1860)

Audit confirms upstream rsync 3.4.1 does not use splice. Identifies the
file-to-pipe (sender) and pipe-to-file (receiver) edges as the only
realistic targets for zero-copy on the SSH stdio path, since the parent
does not own the SSH child's TCP socket. Documents the multiplex envelope
constraint (4-byte header + 24-bit payload) and proposes a three-phase
plan: payload splice on the sender, payload splice on the receiver, and
vmsplice for the header ring. Risks cover vmsplice page lifetime,
SPLICE_F_NONBLOCK semantics, EPIPE on closed peers, and interaction with
--bwlimit. Adds docs/perf-roadmap.md as the index.

* bench(fast_io): add splice_pipe benchmark skeleton (#1860)

Provides the criterion baseline for the SSH-stdio splice investigation.
The Linux body runs a real read+write_all loop from a temp file through a
drained pipe at three sizes (64 KiB, 1 MiB, 16 MiB), establishing the
comparison point for the future splice driver. The splice_baseline slot
is a placeholder that records a constant for now; follow-up #1861 wires
the real fast_io::splice_pipe driver into that slot. Non-Linux targets
compile to a no-op group so cargo bench succeeds on macOS and Windows.
oferchen added a commit that referenced this pull request May 1, 2026
* docs(transport): investigate splice()/vmsplice() for SSH stdio (#1860)

Audit confirms upstream rsync 3.4.1 does not use splice. Identifies the
file-to-pipe (sender) and pipe-to-file (receiver) edges as the only
realistic targets for zero-copy on the SSH stdio path, since the parent
does not own the SSH child's TCP socket. Documents the multiplex envelope
constraint (4-byte header + 24-bit payload) and proposes a three-phase
plan: payload splice on the sender, payload splice on the receiver, and
vmsplice for the header ring. Risks cover vmsplice page lifetime,
SPLICE_F_NONBLOCK semantics, EPIPE on closed peers, and interaction with
--bwlimit. Adds docs/perf-roadmap.md as the index.

* bench(fast_io): add splice_pipe benchmark skeleton (#1860)

Provides the criterion baseline for the SSH-stdio splice investigation.
The Linux body runs a real read+write_all loop from a temp file through a
drained pipe at three sizes (64 KiB, 1 MiB, 16 MiB), establishing the
comparison point for the future splice driver. The splice_baseline slot
is a placeholder that records a constant for now; follow-up #1861 wires
the real fast_io::splice_pipe driver into that slot. Non-Linux targets
compile to a no-op group so cargo bench succeeds on macOS and Windows.
oferchen added a commit that referenced this pull request May 5, 2026
* docs(transport): investigate splice()/vmsplice() for SSH stdio (#1860)

Audit confirms upstream rsync 3.4.1 does not use splice. Identifies the
file-to-pipe (sender) and pipe-to-file (receiver) edges as the only
realistic targets for zero-copy on the SSH stdio path, since the parent
does not own the SSH child's TCP socket. Documents the multiplex envelope
constraint (4-byte header + 24-bit payload) and proposes a three-phase
plan: payload splice on the sender, payload splice on the receiver, and
vmsplice for the header ring. Risks cover vmsplice page lifetime,
SPLICE_F_NONBLOCK semantics, EPIPE on closed peers, and interaction with
--bwlimit. Adds docs/perf-roadmap.md as the index.

* bench(fast_io): add splice_pipe benchmark skeleton (#1860)

Provides the criterion baseline for the SSH-stdio splice investigation.
The Linux body runs a real read+write_all loop from a temp file through a
drained pipe at three sizes (64 KiB, 1 MiB, 16 MiB), establishing the
comparison point for the future splice driver. The splice_baseline slot
is a placeholder that records a constant for now; follow-up #1861 wires
the real fast_io::splice_pipe driver into that slot. Non-Linux targets
compile to a no-op group so cargo bench succeeds on macOS and Windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant