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]>

> 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]>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]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to