umd-memsys / DRAMSim2

DRAMSim2: A cycle accurate DRAM simulator
http://www.ece.umd.edu/~blj/papers/cal10-1.pdf
258 stars 150 forks source link

Introducing the Delay Queue #74

Open rommelsv opened 6 years ago

rommelsv commented 6 years ago

Implementation of the Delay Queue, an extra delay for all memory transactions in the memory controller.

rommelsv commented 6 years ago

Hi Shawn. I've committed it. Sorry for the inconvenience.

rommelsv commented 6 years ago

HI Shavvn, Are you testing with traces? We implemented the Delay Queue (DQ) as part of this integration with a CPU simulator. So it is only visible right now from the DRAMSim2 perspective if the libdramsim is used. Moreover, if DQ_DEPTH is not present in the sys config file, a value of 0 is considered and the logic is the same as without the patch. But if is present, DQ comes to place when the actual_update() function is called. We designed it like this to avoid noise with the current DRAMSim2 users. This way, they can still use the simulator without the effects of the DQ.