* [Powertop] Simple Question
@ 2014-07-07 23:53 Christopher Mansour
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Mansour @ 2014-07-07 23:53 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 362 bytes --]
Hello all,
I was wondering if I can use the PowerTop tool in order to observe the power consumption of a thread. I am doing some experiments which would run on 7 threads at the same time, I need to know the power consumption of each thread. Is this feasible using the power top tool and how. I would appreciate your help and feedback.
Chris.
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 926 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Powertop] Simple Question
@ 2014-07-08 1:24 Arjan van de Ven
0 siblings, 0 replies; 2+ messages in thread
From: Arjan van de Ven @ 2014-07-08 1:24 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 992 bytes --]
On 7/7/2014 4:53 PM, Christopher Mansour wrote:
>
> Hello all,
>
> I was wondering if I can use the PowerTop tool in order to observe the power consumption of a thread. I am doing some experiments which would run on 7 threads at the same
> time, I need to know the power consumption of each thread. Is this feasible using the power top tool and how. I would appreciate your help and feedback.
Powertop, with its internal power model properly trained on the hardware in question, will attribute power consumption to individual processes.
This is not an exact science; the machine learning model needs a whole bunch of samples to learn, and the power attribution logic is slightly rudimentary,
but it's also not unreasonable at the same time.
For example a thread gets accounted for the (modelled) CPU power proportional to the time it consumes, but also for the power of the audio chip if its playing audio
and if you have the right kernel patches, even for the IO it does.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-08 1:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-08 1:24 [Powertop] Simple Question Arjan van de Ven
-- strict thread matches above, loose matches on Subject: below --
2014-07-07 23:53 Christopher Mansour
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.