-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core] Enable prefix caching with block manager v2 enabled
This PR is for enabel APC feature over block manager V2. APC core idea is like maintain a table mapping between content hash and physical block. If one block is full, then it would be prompted to be immutable. While if several immutable comes in sequence, we kept the first physical block, while free the other. Those freed physical block, aka no reference at scheduler, would be housekept inside evictor, when we try to alloc block again under pressue, and find no free one as in the initial state, we could resort to evictor to pop one unrefered computed block, which is used to store new data comes from upper layer. The evictor policy could be changed, but current only implement LRU one. Co-authored-by: Sage Moore <[email protected]>
- Loading branch information
1 parent
a395a63
commit ebc941e
Showing
11 changed files
with
515 additions
and
57 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.