Hi Shervin,

That is a bit strange. Off the top of my head I don't know what could be going wrong, but there are a few things you could check:

1. Do the gem5 statistics from each of the 1M-cycle runs actually add up to the stats from the 10M-cycle run? 2. Which power figures are higher than expected--peak dynamic, runtime dynamic, leakage, all of them? 3. Where is the large difference of power coming from? Run McPAT with -print_level 5 to check which structure(s) contribute proportionally more in the 1M case than in the 10M case. Have those structures been configured correctly in the McPAT XML?

-Erik


On 13/04/13 05:14, shervin hajiamini wrote:
Hi Erik,

Thank you very much for the clarification. Following your recommendation I measured (with McPAT) each of the 1M-cycle intervals in the 10M cycles but I see that all of these intervals have high power usage.

Regards,
Shervin


    Message: 1
    Date: Fri, 12 Apr 2013 18:52:13 +0100
    From: Erik Tomusk <[email protected]
    </mc/[email protected]>>
    To: gem5 users mailing list <[email protected]
    </mc/[email protected]>>
    Subject: Re: [gem5-users] Relationship between period size and power
    Message-ID: <[email protected]
    </mc/[email protected]>>
    Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

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

    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL:
    
<http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20130412/1681fc13/attachment-0001.html>
    -------------- next part --------------
    An embedded and charset-unspecified text was scrubbed...
    Name: not available
    URL:
    
<http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20130412/1681fc13/attachment-0001.ksh>

    ------------------------------



_______________________________________________
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

Reply via email to