Skip to content

docs(fast_io): test plan for io_uring + mmap memory pressure (#1664) - #3441

Merged
oferchen merged 1 commit into
masterfrom
docs/iouring-mmap-memory-pressure-test-plan
Apr 29, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/iouring-mmap-memory-pressure-test-plan

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Adds docs/test-plans/iouring-mmap-memory-pressure.md covering the
    contract between io_uring SQEs and mmap'd basis files under reclaim,
    truncation, madvise, and SQPOLL stall conditions (task Ensure cross jobs install Rust targets #1664).
  • Defines an 8-test matrix (MP-01 through MP-08) split into smoke tests
    that fit the GitHub runner and stress / fault-injection tests gated on
    a self-hosted bare-metal VM via OC_RSYNC_MEMORY_PRESSURE_TESTS=1.
  • Documents pass criteria, known limitations (no macOS / Windows
    applicability, cgroup v1 not covered), and the proposed
    memory-pressure.yml workflow plus the CODEOWNERS-based required
    check for fast_io PRs.

No code or test changes; this is a design document that scopes the work
needed before adding production guards (SIGBUS handler, mmap fallback
when io_uring is active on truncatable basis files).

Test plan

  • Reviewer confirms the matrix covers the scenarios called out in
    task Ensure cross jobs install Rust targets #1664 (eviction, truncation, madvise, SQPOLL stall, fallback
    regression).
  • Reviewer confirms the CI / VM split is implementable with the
    current self-hosted runner inventory.
  • Once approved, follow-up PRs implement MP-01 and MP-06 in the
    nextest matrix, then the VM workflow for MP-02 through MP-08.

Document scenarios where mmap'd basis files interact poorly with
in-flight io_uring SQEs - page eviction, truncation, madvise, and
SQPOLL stalls. Defines smoke tests for CI and stress/fault-injection
tests for the bare-metal VM.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Apr 29, 2026
@oferchen
oferchen merged commit 16d6fd9 into master Apr 29, 2026
12 checks passed
@oferchen
oferchen deleted the docs/iouring-mmap-memory-pressure-test-plan branch April 29, 2026 18:15
oferchen added a commit that referenced this pull request May 1, 2026
…3441)

Document scenarios where mmap'd basis files interact poorly with
in-flight io_uring SQEs - page eviction, truncation, madvise, and
SQPOLL stalls. Defines smoke tests for CI and stress/fault-injection
tests for the bare-metal VM.
oferchen added a commit that referenced this pull request May 5, 2026
…3441)

Document scenarios where mmap'd basis files interact poorly with
in-flight io_uring SQEs - page eviction, truncation, madvise, and
SQPOLL stalls. Defines smoke tests for CI and stress/fault-injection
tests for the bare-metal VM.
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