Skip to content

Fix RPM artifact paths and cargo xtask alias - #1899

Merged
oferchen merged 1 commit into
masterfrom
fix-build-errors-for-all-platforms
Nov 2, 2025
Merged

oferchen merged 1 commit into
masterfrom
fix-build-errors-for-all-platforms

Conversation

@oferchen

@oferchen oferchen commented Nov 2, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • update Linux and release workflows to collect RPM artifacts from the dist profile output
  • teach the release uploader to scan per-target RPM directories and adjust its test coverage
  • add a cargo xtask alias and make the Windows sccache stats step run under bash

Testing

  • cargo test -p xtask

@oferchen
oferchen merged commit cade506 into master Nov 2, 2025
@oferchen
oferchen deleted the fix-build-errors-for-all-platforms branch November 2, 2025 18:54
oferchen added a commit that referenced this pull request May 1, 2026
Add CompletionPump: a shared completion-port driver that owns a worker
thread looping on GetQueuedCompletionStatusEx and dispatches each
completion entry to a per-operation handler keyed by the OVERLAPPED
pointer. This is the Windows analogue of an io_uring CQE drain and is
the foundational building block for the upcoming batched-write API
(#1898), the concurrent file/socket paths (#1928-#1932), and the IOCP
benchmark harness (#1899).

Existing IocpReader/IocpWriter create a private port and inline-call
GetQueuedCompletionStatus per operation, so the pump introduces a
process-wide proactor without disturbing those single-op paths.

Cross-platform: real implementation lives behind
#[cfg(all(target_os = "windows", feature = "iocp"))]; non-Windows
targets get an Unsupported-returning stub so the crate still compiles
on Linux and macOS.

All unsafe stays inside fast_io per the workspace unsafe-code policy.
oferchen added a commit that referenced this pull request May 5, 2026
Add CompletionPump: a shared completion-port driver that owns a worker
thread looping on GetQueuedCompletionStatusEx and dispatches each
completion entry to a per-operation handler keyed by the OVERLAPPED
pointer. This is the Windows analogue of an io_uring CQE drain and is
the foundational building block for the upcoming batched-write API
(#1898), the concurrent file/socket paths (#1928-#1932), and the IOCP
benchmark harness (#1899).

Existing IocpReader/IocpWriter create a private port and inline-call
GetQueuedCompletionStatus per operation, so the pump introduces a
process-wide proactor without disturbing those single-op paths.

Cross-platform: real implementation lives behind
#[cfg(all(target_os = "windows", feature = "iocp"))]; non-Windows
targets get an Unsupported-returning stub so the crate still compiles
on Linux and macOS.

All unsafe stays inside fast_io per the workspace unsafe-code policy.
oferchen added a commit that referenced this pull request May 7, 2026
Adds a focused plan for benchmarking the IOCP file I/O path
(crates/fast_io/src/iocp/, #1717-#1721) against synchronous
std::fs::File writes. Covers small (4K-64K) and large (1M-100M)
file workloads with 1/4/16/64 concurrent streams, cross-references
matched io_uring workloads (#1868), specifies the windows-latest
runner with --features iocp via xtask windows-bench, and defines
seven decision criteria gating the flip of IocpPolicy::Auto to
IOCP-as-default.

Refs: #1899, #1868, #1717-#1721
oferchen added a commit that referenced this pull request May 7, 2026
…3871)

Document the 10000-file / 32-thread stress workload, completion-port
queue-depth and latency metrics, and disk-full / ENOMEM failure
injection cases that gate the Windows IOCP disk-commit path before it
is declared production-ready. Cites the #1899 IOCP benchmark and the
in-flight #1929 / #1930 hardening work.
oferchen added a commit that referenced this pull request May 17, 2026
Adds a Criterion bench that compares the Windows IOCP writer path
(IocpDiskBatch) against std::fs and BufWriter baselines across 4 KiB,
64 KiB, and 1 MiB payloads. Closes the "wired but never measured"
gap from #1868 with repeatable data on whether the IOCP path actually
helps under typical and high-concurrency loads.

Four cells per payload size:
- iocp_default: IocpDiskBatch with default concurrent_ops (4)
- iocp_concurrent_ops_8: IocpDiskBatch with concurrent_ops = 8
- stdfs: std::fs::File::create + write_all baseline
- bufwriter_64k: BufWriter<File> with a 64 KiB buffer

The bench is cfg-gated to target_os = "windows" + iocp feature; on
Linux and macOS the file compiles to a stub main that prints a skip
line, so cargo bench -p fast_io is cheap on every other host.
oferchen added a commit that referenced this pull request May 17, 2026
)

Adds a Criterion bench that compares the Windows IOCP writer path
(IocpDiskBatch) against std::fs and BufWriter baselines across 4 KiB,
64 KiB, and 1 MiB payloads. Closes the "wired but never measured"
gap from #1868 with repeatable data on whether the IOCP path actually
helps under typical and high-concurrency loads.

Four cells per payload size:
- iocp_default: IocpDiskBatch with default concurrent_ops (4)
- iocp_concurrent_ops_8: IocpDiskBatch with concurrent_ops = 8
- stdfs: std::fs::File::create + write_all baseline
- bufwriter_64k: BufWriter<File> with a 64 KiB buffer

The bench is cfg-gated to target_os = "windows" + iocp feature; on
Linux and macOS the file compiles to a stub main that prints a skip
line, so cargo bench -p fast_io is cheap on every other host.
oferchen added a commit that referenced this pull request May 18, 2026
Adds a focused plan for benchmarking the IOCP file I/O path
(crates/fast_io/src/iocp/, #1717-#1721) against synchronous
std::fs::File writes. Covers small (4K-64K) and large (1M-100M)
file workloads with 1/4/16/64 concurrent streams, cross-references
matched io_uring workloads (#1868), specifies the windows-latest
runner with --features iocp via xtask windows-bench, and defines
seven decision criteria gating the flip of IocpPolicy::Auto to
IOCP-as-default.

Refs: #1899, #1868, #1717-#1721
oferchen added a commit that referenced this pull request May 18, 2026
…3871)

Document the 10000-file / 32-thread stress workload, completion-port
queue-depth and latency metrics, and disk-full / ENOMEM failure
injection cases that gate the Windows IOCP disk-commit path before it
is declared production-ready. Cites the #1899 IOCP benchmark and the
in-flight #1929 / #1930 hardening work.
oferchen added a commit that referenced this pull request May 18, 2026
)

Adds a Criterion bench that compares the Windows IOCP writer path
(IocpDiskBatch) against std::fs and BufWriter baselines across 4 KiB,
64 KiB, and 1 MiB payloads. Closes the "wired but never measured"
gap from #1868 with repeatable data on whether the IOCP path actually
helps under typical and high-concurrency loads.

Four cells per payload size:
- iocp_default: IocpDiskBatch with default concurrent_ops (4)
- iocp_concurrent_ops_8: IocpDiskBatch with concurrent_ops = 8
- stdfs: std::fs::File::create + write_all baseline
- bufwriter_64k: BufWriter<File> with a 64 KiB buffer

The bench is cfg-gated to target_os = "windows" + iocp feature; on
Linux and macOS the file compiles to a stub main that prints a skip
line, so cargo bench -p fast_io is cheap on every other host.
oferchen added a commit that referenced this pull request May 18, 2026
)

Adds a Criterion bench that compares the Windows IOCP writer path
(IocpDiskBatch) against std::fs and BufWriter baselines across 4 KiB,
64 KiB, and 1 MiB payloads. Closes the "wired but never measured"
gap from #1868 with repeatable data on whether the IOCP path actually
helps under typical and high-concurrency loads.

Four cells per payload size:
- iocp_default: IocpDiskBatch with default concurrent_ops (4)
- iocp_concurrent_ops_8: IocpDiskBatch with concurrent_ops = 8
- stdfs: std::fs::File::create + write_all baseline
- bufwriter_64k: BufWriter<File> with a 64 KiB buffer

The bench is cfg-gated to target_os = "windows" + iocp feature; on
Linux and macOS the file compiles to a stub main that prints a skip
line, so cargo bench -p fast_io is cheap on every other host.
oferchen added a commit that referenced this pull request Aug 24, 2026
Adds a focused plan for benchmarking the IOCP file I/O path
(crates/fast_io/src/iocp/, #1717-#1721) against synchronous
std::fs::File writes. Covers small (4K-64K) and large (1M-100M)
file workloads with 1/4/16/64 concurrent streams, cross-references
matched io_uring workloads (#1868), specifies the windows-latest
runner with --features iocp via xtask windows-bench, and defines
seven decision criteria gating the flip of IocpPolicy::Auto to
IOCP-as-default.

Refs: #1899, #1868, #1717-#1721
oferchen added a commit that referenced this pull request Aug 24, 2026
…3871)

Document the 10000-file / 32-thread stress workload, completion-port
queue-depth and latency metrics, and disk-full / ENOMEM failure
injection cases that gate the Windows IOCP disk-commit path before it
is declared production-ready. Cites the #1899 IOCP benchmark and the
in-flight #1929 / #1930 hardening work.
oferchen added a commit that referenced this pull request Aug 24, 2026
)

Adds a Criterion bench that compares the Windows IOCP writer path
(IocpDiskBatch) against std::fs and BufWriter baselines across 4 KiB,
64 KiB, and 1 MiB payloads. Closes the "wired but never measured"
gap from #1868 with repeatable data on whether the IOCP path actually
helps under typical and high-concurrency loads.

Four cells per payload size:
- iocp_default: IocpDiskBatch with default concurrent_ops (4)
- iocp_concurrent_ops_8: IocpDiskBatch with concurrent_ops = 8
- stdfs: std::fs::File::create + write_all baseline
- bufwriter_64k: BufWriter<File> with a 64 KiB buffer

The bench is cfg-gated to target_os = "windows" + iocp feature; on
Linux and macOS the file compiles to a stub main that prints a skip
line, so cargo bench -p fast_io is cheap on every other host.
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