Daniel Carvalho has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/37898 )

Change subject: mem-cache: Add the DRRIP replacement policy
......................................................................

mem-cache: Add the DRRIP replacement policy

Instantiate the Dynamic Re-Reference Interval Prediction, as defined
in "High Performance Cache Replacement Using Re-Reference Interval
Prediction (RRIP)", by Jaleel et al.

Change-Id: Id1d354c01e63ae49739263647ff25e5665f60d8c
Signed-off-by: Daniel R. Carvalho <[email protected]>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37898
Tested-by: kokoro <[email protected]>
Reviewed-by: Bobby R. Bruce <[email protected]>
Maintainer: Bobby R. Bruce <[email protected]>
---
M src/mem/cache/replacement_policies/ReplacementPolicies.py
1 file changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Bobby R. Bruce: Looks good to me, approved; Looks good to me, approved
  kokoro: Regressions pass



diff --git a/src/mem/cache/replacement_policies/ReplacementPolicies.py b/src/mem/cache/replacement_policies/ReplacementPolicies.py
index 74709f2..34c8a1e 100644
--- a/src/mem/cache/replacement_policies/ReplacementPolicies.py
+++ b/src/mem/cache/replacement_policies/ReplacementPolicies.py
@@ -100,6 +100,16 @@
 class RRIPRP(BRRIPRP):
     btp = 100

+class DRRIPRP(DuelingRP):
+ # The constituency_size and the team_size must be manually provided, where:
+    #     constituency_size = num_cache_entries /
+    #         (num_dueling_sets * num_entries_per_set)
+    # The paper assumes that:
+    #     num_dueling_sets = 32
+    #     team_size = num_entries_per_set
+    replacement_policy_a = BRRIPRP()
+    replacement_policy_b = RRIPRP()
+
 class NRURP(BRRIPRP):
     btp = 100
     num_bits = 1



6 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/37898
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Id1d354c01e63ae49739263647ff25e5665f60d8c
Gerrit-Change-Number: 37898
Gerrit-PatchSet: 8
Gerrit-Owner: Daniel Carvalho <[email protected]>
Gerrit-Reviewer: Bobby R. Bruce <[email protected]>
Gerrit-Reviewer: Daniel Carvalho <[email protected]>
Gerrit-Reviewer: Nikos Nikoleris <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to