All of lore.kernel.org
 help / color / mirror / Atom feed
* [Powertop] How does powertop deal with multiple executions
@ 2013-10-28 23:37 
  0 siblings, 0 replies; 5+ messages in thread
From:  @ 2013-10-28 23:37 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 630 bytes --]

Hello,

I'm trying to estimate the power consumption (besides some other 
properties) of a custom program. During my tests, I execute my program 
several times (it is not a background process) with powertop running. My 
doubt is: how does powertop deal with these multiple executions?

I'd guess that it averages over the number of executions, because I'm 
obtaining very similar power consumption measurements for both 500 and 
5000 executions of my program (335 mW and 364 mW, respectively). Still, 
there is the possibility that powertop only keeps the estimation 
corresponding to the last execution...

Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [Powertop] How does powertop deal with multiple executions
@ 2013-10-29  2:20 Arjan van de Ven
  0 siblings, 0 replies; 5+ messages in thread
From: Arjan van de Ven @ 2013-10-29  2:20 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 787 bytes --]

On 10/28/2013 4:37 PM, Jesús Díaz Vico wrote:
> Hello,
>
> I'm trying to estimate the power consumption (besides some other properties) of a custom program. During my tests, I execute my program several times (it is not a
> background process) with powertop running. My doubt is: how does powertop deal with these multiple executions?
>
> I'd guess that it averages over the number of executions, because I'm obtaining very similar power consumption measurements for both 500 and 5000 executions of my program
> (335 mW and 364 mW, respectively). Still, there is the possibility that powertop only keeps the estimation corresponding to the last execution...
>
> Thanks.

by default, powertop will group programs with the same name into one bucket for display purposes.



^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [Powertop] How does powertop deal with multiple executions
@ 2013-10-29  7:23 
  0 siblings, 0 replies; 5+ messages in thread
From:  @ 2013-10-29  7:23 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 1474 bytes --]

Thank you, Arjan.

But my question is how does powertop group programs with the same name.

Unless I'm doing something wrong, I doubt that it is just adding the power
consumption of all the independent executions. I say this because powertop
estimates a consumption of 335 mW for 500 executions, and a consumption of
364 mW for 5000. I am configuring the monitorization time with the --time
parameter (with a value long enough to cover all the 500 or 5000
executions).

Is it calculating an average then?


On Tue, Oct 29, 2013 at 3:20 AM, Arjan van de Ven <arjan(a)linux.intel.com>wrote:

> On 10/28/2013 4:37 PM, Jesús Díaz Vico wrote:
>
>> Hello,
>>
>> I'm trying to estimate the power consumption (besides some other
>> properties) of a custom program. During my tests, I execute my program
>> several times (it is not a
>> background process) with powertop running. My doubt is: how does powertop
>> deal with these multiple executions?
>>
>> I'd guess that it averages over the number of executions, because I'm
>> obtaining very similar power consumption measurements for both 500 and 5000
>> executions of my program
>> (335 mW and 364 mW, respectively). Still, there is the possibility that
>> powertop only keeps the estimation corresponding to the last execution...
>>
>> Thanks.
>>
>
> by default, powertop will group programs with the same name into one
> bucket for display purposes.
>
>
>


-- 
Jesús Díaz Vico

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1970 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [Powertop] How does powertop deal with multiple executions
@ 2013-10-29 15:31 Arjan van de Ven
  0 siblings, 0 replies; 5+ messages in thread
From: Arjan van de Ven @ 2013-10-29 15:31 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 630 bytes --]

On 10/29/2013 12:23 AM, Jesús D wrote:
> Thank you, Arjan.
>
> But my question is how does powertop group programs with the same name.
>
> Unless I'm doing something wrong, I doubt that it is just adding the power consumption of all the independent executions. I say this because powertop estimates a
> consumption of 335 mW for 500 executions, and a consumption of 364 mW for 5000. I am configuring the monitorization time with the --time parameter (with a value long enough
> to cover all the 500 or 5000 executions).
>
> Is it calculating an average then?
>


remember Watts are a "Joules per second" measure!


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [Powertop] How does powertop deal with multiple executions
@ 2013-10-29 15:39 
  0 siblings, 0 replies; 5+ messages in thread
From:  @ 2013-10-29 15:39 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

Facepalm... Thanks!
El 29/10/2013 16:35, "Arjan van de Ven" <arjan(a)linux.intel.com> escribió:

> On 10/29/2013 12:23 AM, Jesús D wrote:
>
>> Thank you, Arjan.
>>
>> But my question is how does powertop group programs with the same name.
>>
>> Unless I'm doing something wrong, I doubt that it is just adding the
>> power consumption of all the independent executions. I say this because
>> powertop estimates a
>> consumption of 335 mW for 500 executions, and a consumption of 364 mW for
>> 5000. I am configuring the monitorization time with the --time parameter
>> (with a value long enough
>> to cover all the 500 or 5000 executions).
>>
>> Is it calculating an average then?
>>
>>
>
> remember Watts are a "Joules per second" measure!
>
>

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1119 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-29 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-28 23:37 [Powertop] How does powertop deal with multiple executions 
  -- strict thread matches above, loose matches on Subject: below --
2013-10-29  2:20 Arjan van de Ven
2013-10-29  7:23 
2013-10-29 15:31 Arjan van de Ven
2013-10-29 15:39 

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.