LocalHotCache Scan-Resistant Evaluation #15

Open
HernyShi wants to merge 2 commits from HernyShi/Mooncake:local-hot-cache-scan-resistant into main
First-time contributor

Summary

  • This PR optimizes LocalHotCache eviction under scan-polluted KVCache workloads.
  • It adds a lightweight scan-resistant LRU-2 victim filter, lazy-epoch aging, a deduplicated deferred-touch drain path, local cache stats, focused tests, and a CPU-local benchmark.

The change is client-local. It does not change Store master metadata, transfer protocols, placement, consistency, or Transfer Engine behavior.

## Summary - This PR optimizes `LocalHotCache` eviction under scan-polluted KVCache workloads. - It adds a lightweight scan-resistant LRU-2 victim filter, lazy-epoch aging, a deduplicated deferred-touch drain path, local cache stats, focused tests, and a CPU-local benchmark. The change is client-local. It does not change Store master metadata, transfer protocols, placement, consistency, or Transfer Engine behavior.
HernyShi added 2 commits 2026-07-09 17:21:06 +08:00
Auto Label PRs / triage (pull_request) Failing after 5m11s Details
Build & Test (Linux) / build (3.10) (pull_request) Has been cancelled Details
Build & Test (Linux) / build (3.12) (pull_request) Has been cancelled Details
Build & Test (Linux) / build-musa (pull_request) Has been cancelled Details
Build & Test (Linux) / test-wheel-ubuntu (3.10, ubuntu-22.04) (pull_request) Has been cancelled Details
Build & Test (Linux) / test-wheel-ubuntu (3.10, ubuntu-24.04) (pull_request) Has been cancelled Details
Build & Test (Linux) / test-wheel-ubuntu (3.12, ubuntu-22.04) (pull_request) Has been cancelled Details
Build & Test (Linux) / test-wheel-ubuntu (3.12, ubuntu-24.04) (pull_request) Has been cancelled Details
Build & Test (Linux) / build-flags (3.10) (pull_request) Has been cancelled Details
Build & Test (Linux) / build-flags (3.12) (pull_request) Has been cancelled Details
Build & Test (Linux) / Build Docker Image (pull_request) Has been cancelled Details
Build & Test (Linux) / Spell Check with Typos (pull_request) Has been cancelled Details
Build & Test (Linux) / Check code format (pull_request) Has been cancelled Details
Build & Test (Linux) / check-paths (pull_request) Has been cancelled Details
Build & Test (Linux) / build-wheel-cu13 (pull_request) Has been cancelled Details
Build & Test (Linux) / ascend-test (pull_request) Has been cancelled Details
Build & Test (Linux) / integration-test (pull_request) Has been cancelled Details
Build & Test (Linux) / CI Gate (pull_request) Has been cancelled Details
c419e0d639
[Store] Optimize LocalHotCache scan-resistant eviction and benchmark coverage
Some checks failed
Auto Label PRs / triage (pull_request) Failing after 5m11s
Build & Test (Linux) / build (3.10) (pull_request) Has been cancelled
Build & Test (Linux) / build (3.12) (pull_request) Has been cancelled
Build & Test (Linux) / build-musa (pull_request) Has been cancelled
Build & Test (Linux) / test-wheel-ubuntu (3.10, ubuntu-22.04) (pull_request) Has been cancelled
Build & Test (Linux) / test-wheel-ubuntu (3.10, ubuntu-24.04) (pull_request) Has been cancelled
Build & Test (Linux) / test-wheel-ubuntu (3.12, ubuntu-22.04) (pull_request) Has been cancelled
Build & Test (Linux) / test-wheel-ubuntu (3.12, ubuntu-24.04) (pull_request) Has been cancelled
Build & Test (Linux) / build-flags (3.10) (pull_request) Has been cancelled
Build & Test (Linux) / build-flags (3.12) (pull_request) Has been cancelled
Build & Test (Linux) / Build Docker Image (pull_request) Has been cancelled
Build & Test (Linux) / Spell Check with Typos (pull_request) Has been cancelled
Build & Test (Linux) / Check code format (pull_request) Has been cancelled
Build & Test (Linux) / check-paths (pull_request) Has been cancelled
Build & Test (Linux) / build-wheel-cu13 (pull_request) Has been cancelled
Build & Test (Linux) / ascend-test (pull_request) Has been cancelled
Build & Test (Linux) / integration-test (pull_request) Has been cancelled
Build & Test (Linux) / CI Gate (pull_request) Has been cancelled
This pull request can be merged automatically.
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b HernyShi-local-hot-cache-scan-resistant main
git pull local-hot-cache-scan-resistant

Step 2:

Merge the changes and update on Gitea.
git checkout main
git merge --no-ff HernyShi-local-hot-cache-scan-resistant
git push origin main
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mooncake-track/Mooncake#15
No description provided.