Repository navigation
perf(CuckooFilter): avoid rescanning dirty cuckoo filter pages during cache eviction - #3816
Open
nagisa-kunhah wants to merge 2 commits into
Open
nagisa-kunhah wants to merge 2 commits into
nagisa-kunhah wants to merge 2 commits into
Conversation
Member
|
Hi @nagisa-kunhah Is everything OK now? Do you need any help from me? |
Contributor
Author
|
Hi @jihuayu , I think this PR is ready for review now. Please take a look when you have time and feel free to leave comments. Thanks! |
nagisa-kunhah
marked this pull request as ready for review
November 28, 2026 14:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Track clean cuckoo filter pages in a separate list so
DiscardCleanPages()only visits clean pages instead of repeatedly scanning dirty pages accumulated during bulk insertion. Keep the list consistent across writes, rollback, and cache resets.Validation:
Median elapsed-time growth for a 16× increase in item count:
Median phase peak resident set size at the endpoints:
These are current-version scaling measurements, not before/after speedups. Deletion still scales poorly as subfilters accumulate.
AI assistance: OpenAI Codex, GPT6 Astra assisted with implementation, tests, and benchmarking.