Hi,

The integration with DRAMPower is work in progress, and as such treat it
as a development effort. Comment and feedback is of course welcome.

At the moment, run gem5 with --debug-flags=DRAMPower and -r to redirect
stdout to a file. Do this around the region of interest, and with an
appropriate DRAM type (default is DDR3). Next, you will now have a debug
trace in m5out/simout, and you have to post-process this using the python
script util/drampower_trace.py.

Run the script for an example of the command line switches, e.g. for rank
0. Repeat for each rank 1, 2, 3 etc (if more than one).
> util/drampower_trace.py m5out 0 m5out/dram_rank0.cmd

Finally, you can run the DRAMPower executable to analyze the
m5out/dram_rank{0,1,2,3}.cmd command trace and get the power for each rank.

At the moment you have to manually ensure that the XML file passed to
DRAMPower matches the DRAM configuration used in gem5.

Our current set of patches makes this all automatic. gem5 will link with
DRAMPower and do all the work behind the scenes. Hopefully we will have
these patches up for review in the next month.

Andreas

On 8/12/14, 8:44 PM, "Hussain Asad via gem5-dev" <[email protected]> wrote:

>I have updated to the latest stable build. How would I get the trace for
>use with DRAMPower? or is DRAMPower integrated already and what flags
>should be used to invoke this I am currently running a full system
>simulation with a fixed memory size of 256MB as it was giving me error
>"the
>currently selected ARM platforms doesn't support the amount of DRAM you've
>selected. Please try another platform".
>
>can you give a brief explanation on how can I get the traces and if
>possible work with more DRAM.
>
>Thank you
>_______________________________________________
>gem5-dev mailing list
>[email protected]
>http://m5sim.org/mailman/listinfo/gem5-dev
>


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No:  2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No:  2548782

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

Reply via email to