On Mon, 30 Jul 2012, Xi Chen wrote:

Hi all,

I have a question about SLICC question. I am using MESI-CMP-directory,
alpha. I want the l2_request_latency and l2_response_latency to be
dynamical during the runtime, that means l2_request_latency is not a
constant but changes like l2_request_latency=default value * (ruby freq/cpu
freq) in the simulation.

For example, in the mem/protocol/MESI_CMP_directory-L2cache.sm, the default
value for l2_request_latency is 2, suppose in the during the first 5
million cycles, ruby freq=1GHz and cpu freq=1GHz, then l2_request_latency
is 2*(1/1)=2 and in the next 5 million cycles, fuby freq=2GHz, then
l2_request_latency is 2*(2/1)=4.

Basically, I hope to make the number of l2_request_latency to be a variable
but not a constant, but I have no idea how to modify the
MESI_CMP_directory-L2cache.sm file. Could someone give me some suggestion?


I think it is not necessary to make changes to the .sm file. But before I
suggest what you should do, I would like to know what all did you try out.

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

Reply via email to