Hi, I am newbie with GEM5. I need to add some new cache
replacementpolicies (NRU,
DRRIP, PeLIFO, SHiP) for my thesis, I have many questions about how to do it,
so could you make me an advise.

I don't know it is better to try a classic or a Ruby model.

For a classic model I think I have to add the files

newPolicy.cc
newPolicy.hh

add these new policy in builder.cc for build the new simulator, modify the
enum in BaseCache.py for making available the new policy, and write the memory
structure in CacheConfig.py.

For Ruby model I do not idea, I am reading the wiki and the files but I am
not sure how to modify the Ruby model, because I think it depends of the
policies defined in src/mem/cache/tags

Best Regards
                    Roberto
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to