On Mon, 19 Nov 2012, Roberto Rodríguez-Rodríguez wrote:

Hi, I have problems changing the replacement policy to be used by the
simulator. I just want to change the LLC policy.

I saw the options for se.py: "./build/X86/gem5.opt configs/example/se.py
-h" but there is not an option for the replacement policy, there are

Providing option for every single attribute that can be configured does not appear to be a scalable approach.

options for the cache size and assoc. Also the files CacheConfig.py and
Caches.py used by se.py have not defined the replacement policy to be used.

I have tried looking for "repl" and "replacement" using grep through the
entire gem_stable tree, after analyzing the results I found many examples
where repl is set to NULL.

Did you try to figure what happens in case repl is set to NULL?


I just want to know how to change the replacement policy from LRU to
fa_lru, both of them defined in src/mem/cache/tags/. I really appreciate
your help.



If you read the documentation provided on the following webpage, I think you would be able to gather how parameters for different simulation objects (CPUs, caches, interconnect) can be set.

http://www.gem5.org/Simulation_Scripts_Explained

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

Reply via email to