Skip to content

perf(rdma): evict cold idle endpoints under pressure - #307

Merged
ketor merged 1 commit into
dingodb:mainfrom
ketor:feat/rdma-endpoint-cache
Aug 10, 2026
Merged

perf(rdma): evict cold idle endpoints under pressure#307
ketor merged 1 commit into
dingodb:mainfrom
ketor:feat/rdma-endpoint-cache

Conversation

@ketor

@ketor ketor commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Change

  • add a non-blocking process-budget reservation path
  • on resource pressure, scan idle data/SG/control pools with SIEVE second-chance semantics
  • destroy one cold idle endpoint before retrying reservation
  • mark cache hits with one guarded visited bit; keepalive does not make cold endpoints hot
  • export cache hit/miss/eviction counters

Budget is returned only after RcEndpoint destruction, preserving the merged resource invariant from PR #306.

Verification

  • rdma_resource_budget_test: 4/4 PASS
  • RdmaSafety filtered tests: 3 PASS, one hardware-dependent skip

No environment is deployed by this PR.

@ketor
ketor added this pull request to the merge queue Aug 10, 2026
Merged via the queue into dingodb:main with commit 74f97a9 Aug 10, 2026
8 checks passed
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