Hi Shervin,
This probably isn't the best place to ask about McPAT, but then again
there aren't any good places to ask about McPAT.
In McPAT, power (P) is a function of energy (E) and time (T): P=E/T .
Energy is a function of processor activity (A): E=f(A). Therefore: P=f(A)/T.
Processor activity can be bursty--there can be lots of activity followed
by little activity. During intervals of execution where there is lots of
activity, power will increase, and when there is little activity, power
will decrease. McPAT gives you average power over your measurement
interval. If you make the interval small and measure a period of intense
activity, then you will see high power usage.
In your case, it's possible that the processor did lots of stuff for 1M
cycles, then very little for 9M cycles. If you look at only the 1M,
you'll see high power usage, but if you look at the total 10M, the power
will be much lower on average. You can check this by measuring each of
the 1M cycle intervals in the 10M cycles. You should see power go up and
down, but the average should be 0.6W. You can also compare McPAT's
output to see where the differences are.
Hope that helps.
-Erik
On 11/04/13 16:39, shervin hajiamini wrote:
Hi,
I dump the stats of a benchmark every period and I measure the power
consumption in each period using McPAT. I observe that when the period
size decreases, the power consumption increases and when the period
size increases, the power consumption decreases. For example for
period size of one million cycles, 3 Watts is consumed while for
period size of 10 million cycles, 0.6 Watts is consumed in that period.
Does anybody know why this is happening and how to justify the above
relationship between the period size and the power consumption in the
period?
Thanks,
Shervin
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users