Hi Daniel Thanks for the reply.
I just wanted to know what is the equivalent of ReplacementCandidate in the new gem5 in base.hh? I saw that it is defined as a struct in the base.hh of the previous version. Thanks John On Sun, Nov 22, 2020 at 5:41 AM Daniel Carvalho <oda...@yahoo.com.br> wrote: > Hello, John, > > I have sent you the link to the last patch in the series. On the right > there is a list (called Relation Chain) containing the links to the 4 > patches. I will copy and paste the links here, just in case: > > 1st: https://gem5-review.googlesource.com/c/public/gem5/+/37895/1 > 2nd: https://gem5-review.googlesource.com/c/public/gem5/+/37896/1 > 3rd: https://gem5-review.googlesource.com/c/public/gem5/+/37897/1 > 4th: https://gem5-review.googlesource.com/c/public/gem5/+/37898/1 > > To download them, you go to the top right corner, to the three vertical > dots. Click on "Download Patch" (NOT Cherry Pick) and then a new window > will pop up, which allows you to select how you will download. If > downloading individually, copy the cherry pick command and run locally. If > you want to download the whole patch chain at once go to the 4th patch in > the series and select "Checkout". > > Ideally you'd want to cherry-pick, because then you'd keep using the > stable gem5 version; however when cherry picking you will need to > cherry-pick other patches for this to work (I think picking > https://gem5-review.googlesource.com/c/public/gem5/+/37135 would be > enough). > > Regarding SRRIP, it is implemented as RRIPRP(). > > Regards, > Daniel > Em sábado, 21 de novembro de 2020 22:40:48 GMT+1, John H < > h92420...@gmail.com> escreveu: > > > Hi > > Thanks for the reply. I don't know how to access the entire code about > which you mentioned in the email. I can only see a 2 line change in > ReplacementPolicies.py in the patch. Can you please provide me with the > entire patch file(all the changes required for DRRIP for your > implementation) if that's ok with you.That will really help me to > understand it. > > Also is SRRIP implemented in the new gem5? > > Thanks > > John > > On Sat, Nov 21, 2020 at 10:27 AM Daniel Carvalho <oda...@yahoo.com.br> > wrote: > > Hello, John, > > I have uploaded for review some patches to make DRRIP work: > https://gem5-review.googlesource.com/c/public/gem5/+/37898 > I 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 < > gem5-users@gem5.org> 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 -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s > >
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s