Hello, John,

I have uploaded for review some patches to make DRRIP work: 
https://gem5-review.googlesource.com/c/public/gem5/+/37898I believe the code is 
well documented enough to help you understand how it works.

To use DRRIPRP you must set the constituency size and the number of entries per 
team per constituency (team size) on instantiation.
As an example, if:- table size=32KB- associativity=4
And we want:- 32 dedicated sets per team
Then we'd instantiate DRRIPRP(constituency_size=1024, team_size=4)
Since, IIRC, there is no analysis in the paper describing why specifically pick 
complements, instead of implementing DIP's complement-select policy, I 
implemented a "consecutive-select" policy (i.e., pick the first team_size 
entries of the set to be samples for team 0, and the next team_size entries of 
the set to be samples for team 1). If you really want that policy, you can 
implement it easily by modifying DuelingMonitor::initEntry.

Regards,Daniel
   Em sábado, 21 de novembro de 2020 03:46:27 GMT+1, John H via gem5-users 
<[email protected]> escreveu:  
 
 Hello,
I am new with gem5, just getting started. I wanted to implement DRRIP cache 
replacement policy. Have any one of you tried implementing this? Any pointers 
on this would be helpful.
Thanks,
John_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s  
_______________________________________________
gem5-users 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