Hi,
I am using the MOESI_SMP_directory protocol of GEMS (without Opal -
only Simics) and
wanted to ask the following:
1) Can I set L1 hit latency by setting s_stallCycleMap[Hit] in
ruby/simics/SimicsDriver.h ?
A zero value means 1 cycle latency ? Is setting of this latency say to 1
or 2 going to affect L2
hit latency (which in my case should be defined by
SEQUENCER_TO_CONTROLLER_LATENCY) ?
2) Is it possible to set the latency of packets going through a switch
with the simple network ?
dump-stats shows me it is 1 cycle. There is no parameter for this, so
can I do it in the code ?
Can I set it in PerfectSwitch::wakeup() on output enqueue as follows ?
m_out[outgoing][vnet]->enqueue(msg_ptr, SWITCH_LATENCY);
(ruby/network/simple/PerfectSwitch.C line 319)
Of course this will not appear in dump-stats, but that's OK...
I'll appreciate your guidance. Thanks,
Stamatis
|