Skip to content

Optimize UFFD pager cache concurrency#259

Closed
sjmiller609 wants to merge 1 commit into
codex/uffd-fork-parallel-latencyfrom
codex/uffd-pager-concurrency
Closed

Optimize UFFD pager cache concurrency#259
sjmiller609 wants to merge 1 commit into
codex/uffd-fork-parallel-latencyfrom
codex/uffd-pager-concurrency

Conversation

@sjmiller609
Copy link
Copy Markdown
Collaborator

Summary

  • shard the UFFD pager page cache to reduce burst contention
  • add an immutable borrowed cache-hit path for UFFDIO_COPY
  • expose pager timing counters for cache lookup, backing reads, page faults, and copy latency
  • add a regression test for aligned page offset distribution across shards

Test Plan

  • go test ./lib/uffdpager ./lib/hypervisor/firecracker
  • remote browser burst benchmarks on deft-kernel-dev with UFFD enabled

@sjmiller609
Copy link
Copy Markdown
Collaborator Author

Closing in favor of #262, which folds this UFFD pager cache concurrency work into the new UFFD pager PR. Keeping the old branch around for comparison.

@sjmiller609 sjmiller609 closed this Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant