Repository navigation
Add xtask branding command and correct CI CLI test target - #1410
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - name: Run CLI version tests without ACL/iconv support | ||
| if: steps.install_nextest.outcome == 'success' | ||
| run: cargo test -p oc-rsync-cli --test version --no-default-features --features "xattr zlib zstd" | ||
| run: cargo test -p rsync-cli --test version --no-default-features --features "xattr zlib zstd" |
There was a problem hiding this comment.
Remove unsupported zlib/zstd features from rsync-cli test
The updated CLI version test now targets rsync-cli, but the command still passes --features "xattr zlib zstd". The rsync-cli crate only declares xattr and acl features, so Cargo will immediately fail with “package rsync-cli does not have a feature named zlib/zstd” and the step never runs. Drop the unknown flags or expose matching features so the version tests can execute.
Useful? React with 👍 / 👎.
Tracks task #1410 with a benchmark plan for promoting the receiver hot path off per-file io_uring rings. Surveys the lifecycle in crates/fast_io/src/io_uring/, quantifies io_uring_setup, mmap, and SQPOLL costs at 100K-file scale, and lays out throughput / latency metrics for the per-file vs disk_batch vs session-pool topologies.
Adds a Criterion bench that synthesises the two ring lifecycles called out in docs/audits/per-file-vs-shared-uring-ring.md (#1410): the current per-file ring (one io_uring_setup per output file) and a long-lived shared ring that re-registers each new fd into the same fixed-file table. Each topology writes 100,000 4 KiB files and reports throughput in elements/second so the rows compare directly. The bench is Linux-only (gated by target_os = "linux" with a stub main for macOS / Windows), requires the io_uring feature, and is gated by the OC_RSYNC_BENCH_IOURING_RING=1 env var so casual cargo bench runs do not pick up multi-minute work. It skips cleanly when io_uring_setup is blocked by the kernel or container runtime.
…1410) (#4197) * bench(fast_io): io_uring per-file vs shared ring on 100K small files Adds a Criterion bench that synthesises the two ring lifecycles called out in docs/audits/per-file-vs-shared-uring-ring.md (#1410): the current per-file ring (one io_uring_setup per output file) and a long-lived shared ring that re-registers each new fd into the same fixed-file table. Each topology writes 100,000 4 KiB files and reports throughput in elements/second so the rows compare directly. The bench is Linux-only (gated by target_os = "linux" with a stub main for macOS / Windows), requires the io_uring feature, and is gated by the OC_RSYNC_BENCH_IOURING_RING=1 env var so casual cargo bench runs do not pick up multi-minute work. It skips cleanly when io_uring_setup is blocked by the kernel or container runtime. * style(fast_io): apply rustfmt to iouring_per_file_vs_shared bench
Tracks task #1410 with a benchmark plan for promoting the receiver hot path off per-file io_uring rings. Surveys the lifecycle in crates/fast_io/src/io_uring/, quantifies io_uring_setup, mmap, and SQPOLL costs at 100K-file scale, and lays out throughput / latency metrics for the per-file vs disk_batch vs session-pool topologies.
…1410) (#4197) * bench(fast_io): io_uring per-file vs shared ring on 100K small files Adds a Criterion bench that synthesises the two ring lifecycles called out in docs/audits/per-file-vs-shared-uring-ring.md (#1410): the current per-file ring (one io_uring_setup per output file) and a long-lived shared ring that re-registers each new fd into the same fixed-file table. Each topology writes 100,000 4 KiB files and reports throughput in elements/second so the rows compare directly. The bench is Linux-only (gated by target_os = "linux" with a stub main for macOS / Windows), requires the io_uring feature, and is gated by the OC_RSYNC_BENCH_IOURING_RING=1 env var so casual cargo bench runs do not pick up multi-minute work. It skips cleanly when io_uring_setup is blocked by the kernel or container runtime. * style(fast_io): apply rustfmt to iouring_per_file_vs_shared bench
…1410) (#4197) * bench(fast_io): io_uring per-file vs shared ring on 100K small files Adds a Criterion bench that synthesises the two ring lifecycles called out in docs/audits/per-file-vs-shared-uring-ring.md (#1410): the current per-file ring (one io_uring_setup per output file) and a long-lived shared ring that re-registers each new fd into the same fixed-file table. Each topology writes 100,000 4 KiB files and reports throughput in elements/second so the rows compare directly. The bench is Linux-only (gated by target_os = "linux" with a stub main for macOS / Windows), requires the io_uring feature, and is gated by the OC_RSYNC_BENCH_IOURING_RING=1 env var so casual cargo bench runs do not pick up multi-minute work. It skips cleanly when io_uring_setup is blocked by the kernel or container runtime. * style(fast_io): apply rustfmt to iouring_per_file_vs_shared bench
Tracks task #1410 with a benchmark plan for promoting the receiver hot path off per-file io_uring rings. Surveys the lifecycle in crates/fast_io/src/io_uring/, quantifies io_uring_setup, mmap, and SQPOLL costs at 100K-file scale, and lays out throughput / latency metrics for the per-file vs disk_batch vs session-pool topologies.
…1410) (#4197) * bench(fast_io): io_uring per-file vs shared ring on 100K small files Adds a Criterion bench that synthesises the two ring lifecycles called out in docs/audits/per-file-vs-shared-uring-ring.md (#1410): the current per-file ring (one io_uring_setup per output file) and a long-lived shared ring that re-registers each new fd into the same fixed-file table. Each topology writes 100,000 4 KiB files and reports throughput in elements/second so the rows compare directly. The bench is Linux-only (gated by target_os = "linux" with a stub main for macOS / Windows), requires the io_uring feature, and is gated by the OC_RSYNC_BENCH_IOURING_RING=1 env var so casual cargo bench runs do not pick up multi-minute work. It skips cleanly when io_uring_setup is blocked by the kernel or container runtime. * style(fast_io): apply rustfmt to iouring_per_file_vs_shared bench
Summary
cargo xtask brandingcommand that prints the central branding metadata and document it in the xtask usage text, with parsing testsTesting