You could always give the “caching” patch from the sniper team a spin:
http://snipersim.org/w/McPAT
Andreas
From: Fernando Endo <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list
<[email protected]<mailto:[email protected]>>
Date: Tuesday, 26 November 2013 10:47
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] Integrating gem5 with Mcpat
Hello,
It seems that one can divide mcpat execution in two or three parts:
1) chip modeling => estimates the energy cost per access
2) multiply accesses by energy costs
3) estimate the peak power of components
So if you want to run mcpat faster, the step 1 can be done only once per gem5
simulation, this step seems to be the slower one.
If you find a way to separate these, for example dumping the internal chip
model in a file and read every time, could you please send us a patch?
Regards,
--
Fernando A. Endo, PhD student and researcher
Université de Grenoble, UJF
France
2013/11/26 Sudarshan <[email protected]<mailto:[email protected]>>
Thanks Lluis..Only problem with this is that i need to dump stats at very low
instruction grnaulairty like every 5000 retired instruction and the above
approach makes the stats file huge(since i dump stats every 5000 committed). I
have already tried the above approach and its too slow.
Thanks
Sudarshan
Graduate student
Electrical Engineering
Univ of Massachusetts Amherst
On Tue, Nov 26, 2013 at 10:55 AM, Lluís Vilanova
<[email protected]<mailto:[email protected]>> wrote:
Sudarshan writes:
> Hi,
> I would like to integrate gem5 into McPAT since i would like to monitor the
> dynamic power dissipated at a particular instruction granularity(example: for
> every 5000 committed instructions). So i would need to call McPAT from gem5
> continuously throughout the program execution. Any pointers on this would be
> helpful.I would also like to know if there is patch already available for
> this.
The simplest way is to dump the gem5 statistics every N cycles (e.g., using
'dumpresetstats' [1]), and then process those to get numbers from mcpat.
[1] http://www.m5sim.org/M5ops
Lluis
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
-- 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