-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The idea was that the hottest entries don't need to be reordered on reads, due to already being in a desirable state. Based on the power law, this would avoid unnecessary work for the majority of reads. When the hot entries are demoted, due to colder entries being promoted, the fast path wouldn't apply and it would regain its status. Thus little impact to the hit rate for faster throughput. Unfortunately benchmarks show otherwise. The throughput varies wildly and is always lower. This might be due to some type of thrashing in the CPU caches, but I'm really not sure. So its turned off but can be enabled in the future if a solution is found.
- Loading branch information
Showing
3 changed files
with
7 additions
and
4 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