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
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.
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.
Best Regards
Roberto
On Tue, Nov 13, 2012 at 4:19 PM, Nilay Vaish <[email protected]> wrote:
> On Tue, 13 Nov 2012, Roberto Rodríguez-Rodríguez wrote:
>
> Nilay thanks for your answer.
>>
>> In the file src/mem/cache/BaseCache.py the replacement policy is set as
>> NULL (repl = Param.Repl(NULL, "replacement policy")), I have not found
>> where the policy is set to another policy for example LRU.
>>
>
> Why don't you grep for the word 'repl' and figure out how it is being
> used? That should help you in understanding how a new policy can be put in
> place.
>
> --
> Nilay
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users