From: Arjan van de Ven <arjan at linux.intel.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] Simple Question
Date: Mon, 07 Jul 2014 18:24:58 -0700 [thread overview]
Message-ID: <53BB486A.5060804@linux.intel.com> (raw)
In-Reply-To: COL129-W476C4ACB661CB7F869CA41C60D0@phx.gbl
[-- 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.
next reply other threads:[~2014-07-08 1:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-08 1:24 Arjan van de Ven [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-07-07 23:53 [Powertop] Simple Question Christopher Mansour
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53BB486A.5060804@linux.intel.com \
--to=powertop@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.