Hi everyone,

I am trying to simulate selective way cache accesses using classic memory model 
in gem5. The aim of my work is to count the number of cache line accesses using 
a counter and if the value of counter is less than threshold, then disable some 
of the cache ways, otherwise keep it as it is.
The threshold will be predetermined and set by the user.

I am not able to figure out how to dynamically disable the ways in cache. I can 
do this by changing the associativity, and cache size. But I am not sure how to 
do it dynamically.

One of the suggestions in gem5 website is to use checkpoint-restore option. 
When the system starts to simulate after checkpoint, it will read in the new 
cache assoc and size values. Is this approach correct? Can you suggest some 
other way to solve this problem?

Thank you very much for the help.

P.S. I am new to gem5 and this is the first time I am coding in any processor 
simulator. 

Regards
Rohit
Graduate Student
University of Wisconsin-Madison
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to