Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make D$ replacement policy configurable #2656

Merged
merged 4 commits into from
Oct 9, 2020
Merged

Make D$ replacement policy configurable #2656

merged 4 commits into from
Oct 9, 2020

Conversation

aswaterman
Copy link
Member

Also extended the ReplacementPolicy API to indicate whether the policy is typically used on a per-set basis (as with pLRU etc.) or a global basis (as with random).

Type of change: other enhancement

Impact: API addition (no impact on existing code)

Development Phase: implementation

perSet returns true if the policy's state is typically replicated
for each cache set (as with LRU) or is typically global (as with
Random).  It's not binding, but it's useful for cache controllers.
Will help with timing for [pseudo-]LRU.
@aswaterman aswaterman merged commit c2c0a17 into master Oct 9, 2020
@aswaterman aswaterman deleted the dcache-plru branch October 9, 2020 11:33
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.

3 participants