Skip to content

Skip unrelated pools when selecting DRAM eviction candidates - #63

Draft
mkhazraee wants to merge 1 commit into
mainfrom
moein/eviction_opt
Draft

mkhazraee wants to merge 1 commit into
mainfrom
moein/eviction_opt

Conversation

@mkhazraee

@mkhazraee mkhazraee commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

When a DRAM pool runs short of capacity, eviction currently scans and restores candidates from unrelated pools before finding useful victims. Maintain candidate heaps per pool and search only pools that still need space.

Preserve policy score ordering, tie-breaking, and whole-key eviction, including keys spanning multiple pools. Layer labels sharing a pool continue using the same candidate heap.

Extend existing tests to verify that unrelated candidates are skipped and that ordering and heap compaction remain correct.

@mkhazraee
mkhazraee force-pushed the moein/eviction_opt branch 4 times, most recently from 41484e0 to 75fd30f Compare October 3, 2026 07:27
@mkhazraee mkhazraee changed the title Moein/eviction opt Skip unrelated pools when selecting DRAM eviction candidates Oct 3, 2026
@mkhazraee
mkhazraee requested a review from karya0 October 3, 2026 07:39
Signed-off-by: Moein Khazraee <moein@nvidia.com>
@mkhazraee
mkhazraee marked this pull request as draft October 3, 2026 08:05
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