Skip to content

docs(audit): runnable Windows IOCP vs MSYS2 profiling methodology (WPG-1 #2300) - #4442

Merged
oferchen merged 1 commit into
masterfrom
docs/wpg-1-profiling-methodology
May 18, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/wpg-1-profiling-methodology

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Augment existing Windows IOCP profiling doc with operationally complete recipes: workloads, WPR profile, ETW filter, comparison setup against MSYS2 rsync, metrics, baselines.
  • An operator with a Windows host should be able to run the full comparison end-to-end without external references.

Test plan

  • cargo fmt --all clean
  • Doc is self-contained

Closes #2300.

…gy (WPG-1 #2300)

Augment the existing methodology with operationally complete recipes
so a Windows operator can run the full comparison end-to-end without
external references:

- Workloads: five-row matrix (single_huge, large_1gib, small_10000,
  many_small_nested, mixed) with fixture generators.
- ETW: explicit WPR built-in profiles (GeneralProfile + CPU) and an
  xperf recipe targeting Microsoft-Windows-Kernel-IO with stack
  walks on IRP_MJ_WRITE / IRP_MJ_FLUSH_BUFFERS.
- Comparison harness: MSYS2 install steps with rsync version pin,
  release oc-rsync build with --features iocp, hyperfine driver for
  side-by-side wall-clock, PowerShell sidecar for CPU% and peak RSS.
- Metrics to report: wall-clock, throughput MiB/s, CPU% peak/mean,
  peak RSS, syscall count, completion-port wakes.
- Expected baselines: per-workload tables with "tbd by first run"
  cells the first Windows operator populates.
- Appendix A: full WPR profile XML (iocp-deep.wprp) for the deep
  trace combining CPU sampling, file/disk IO, scheduler events, and
  Kernel-IO/File providers.
- Appendix B: end-to-end runbook checklist.

Pure docs; no code changes.
@oferchen
oferchen force-pushed the docs/wpg-1-profiling-methodology branch from bd897ac to b637008 Compare May 18, 2026 01:12
@oferchen
oferchen merged commit 13d0e57 into master May 18, 2026
9 checks passed
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 18, 2026
oferchen added a commit that referenced this pull request May 18, 2026
…gy (WPG-1 #2300) (#4442)

Augment the existing methodology with operationally complete recipes
so a Windows operator can run the full comparison end-to-end without
external references:

- Workloads: five-row matrix (single_huge, large_1gib, small_10000,
  many_small_nested, mixed) with fixture generators.
- ETW: explicit WPR built-in profiles (GeneralProfile + CPU) and an
  xperf recipe targeting Microsoft-Windows-Kernel-IO with stack
  walks on IRP_MJ_WRITE / IRP_MJ_FLUSH_BUFFERS.
- Comparison harness: MSYS2 install steps with rsync version pin,
  release oc-rsync build with --features iocp, hyperfine driver for
  side-by-side wall-clock, PowerShell sidecar for CPU% and peak RSS.
- Metrics to report: wall-clock, throughput MiB/s, CPU% peak/mean,
  peak RSS, syscall count, completion-port wakes.
- Expected baselines: per-workload tables with "tbd by first run"
  cells the first Windows operator populates.
- Appendix A: full WPR profile XML (iocp-deep.wprp) for the deep
  trace combining CPU sampling, file/disk IO, scheduler events, and
  Kernel-IO/File providers.
- Appendix B: end-to-end runbook checklist.

Pure docs; no code changes.
oferchen added a commit that referenced this pull request May 18, 2026
…gy (WPG-1 #2300) (#4442)

Augment the existing methodology with operationally complete recipes
so a Windows operator can run the full comparison end-to-end without
external references:

- Workloads: five-row matrix (single_huge, large_1gib, small_10000,
  many_small_nested, mixed) with fixture generators.
- ETW: explicit WPR built-in profiles (GeneralProfile + CPU) and an
  xperf recipe targeting Microsoft-Windows-Kernel-IO with stack
  walks on IRP_MJ_WRITE / IRP_MJ_FLUSH_BUFFERS.
- Comparison harness: MSYS2 install steps with rsync version pin,
  release oc-rsync build with --features iocp, hyperfine driver for
  side-by-side wall-clock, PowerShell sidecar for CPU% and peak RSS.
- Metrics to report: wall-clock, throughput MiB/s, CPU% peak/mean,
  peak RSS, syscall count, completion-port wakes.
- Expected baselines: per-workload tables with "tbd by first run"
  cells the first Windows operator populates.
- Appendix A: full WPR profile XML (iocp-deep.wprp) for the deep
  trace combining CPU sampling, file/disk IO, scheduler events, and
  Kernel-IO/File providers.
- Appendix B: end-to-end runbook checklist.

Pure docs; no code changes.
@oferchen
oferchen deleted the docs/wpg-1-profiling-methodology branch May 19, 2026 15:12
oferchen added a commit that referenced this pull request Aug 24, 2026
…gy (WPG-1 #2300) (#4442)

Augment the existing methodology with operationally complete recipes
so a Windows operator can run the full comparison end-to-end without
external references:

- Workloads: five-row matrix (single_huge, large_1gib, small_10000,
  many_small_nested, mixed) with fixture generators.
- ETW: explicit WPR built-in profiles (GeneralProfile + CPU) and an
  xperf recipe targeting Microsoft-Windows-Kernel-IO with stack
  walks on IRP_MJ_WRITE / IRP_MJ_FLUSH_BUFFERS.
- Comparison harness: MSYS2 install steps with rsync version pin,
  release oc-rsync build with --features iocp, hyperfine driver for
  side-by-side wall-clock, PowerShell sidecar for CPU% and peak RSS.
- Metrics to report: wall-clock, throughput MiB/s, CPU% peak/mean,
  peak RSS, syscall count, completion-port wakes.
- Expected baselines: per-workload tables with "tbd by first run"
  cells the first Windows operator populates.
- Appendix A: full WPR profile XML (iocp-deep.wprp) for the deep
  trace combining CPU sampling, file/disk IO, scheduler events, and
  Kernel-IO/File providers.
- Appendix B: end-to-end runbook checklist.

Pure docs; no code changes.
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