public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Kamil Konieczny <kamil.konieczny@linux.intel.com>,
	igt-dev@lists.freedesktop.org,
	Ashutosh Dixit <ashutosh.dixit@intel.com>,
	Badal Nilawar <badal.nilawar@intel.com>,
	Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>,
	Riana Tauro <riana.tauro@intel.com>
Subject: Re: [igt-dev] [PATCH i-g-t] tools/intel_gpu_power: Intel GPU idle/busy power measurement
Date: Fri, 20 Jan 2023 18:05:46 -0800	[thread overview]
Message-ID: <87ilh0vdz9.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20230120180009.kh7damckyobbigap@kamilkon-desk1>

On Fri, 20 Jan 2023 10:00:09 -0800, Kamil Konieczny wrote:
>
> Hi,
>

Hi Kamil,

> On 2023-01-20 at 08:38:31 -0800, Ashutosh Dixit wrote:
> > In several instances (e.g. when investigating GPU power limits) it is very
> > useful to be able to measure GPU power easily. Since we already have all
> > ingredients for doing so, add a tool to measure Intel GPU power when idle
> > and power under load.
> >
> > v2: Use softpin/allocator (Riana)
> >
> > Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
>
> These looks like a test or benchmark, btw intel_gpu_top already
> has printing used power. What we can have is standalone app which
> shows only power consumption every few seconds or some other
> configurable interval, plus maybe for all GPUs if there are more.
>
> +cc Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>

You are absolutely right, I agree on all points. I completely missed that
intel_gpu_top already shows power. At this point it only shows power for
integrated, we need to switch it from the rapl interface to igt_power
interface, igt_power supports both integrated and discrete (integrated
using rapl and discrete using hwmon).

I might resumbit this patch as a test, but tools wise I think the direction
should be to extend intel_gpu_top to support discrete.

Thanks.
--
Ashutosh

  reply	other threads:[~2023-01-21  2:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-20 16:38 [igt-dev] [PATCH i-g-t] tools/intel_gpu_power: Intel GPU idle/busy power measurement Ashutosh Dixit
2023-01-20 17:59 ` [igt-dev] ✓ Fi.CI.BAT: success for tools/intel_gpu_power: Intel GPU idle/busy power measurement (rev3) Patchwork
2023-01-20 18:00 ` [igt-dev] [PATCH i-g-t] tools/intel_gpu_power: Intel GPU idle/busy power measurement Kamil Konieczny
2023-01-21  2:05   ` Dixit, Ashutosh [this message]
2023-01-21 20:01 ` [igt-dev] ✓ Fi.CI.IGT: success for tools/intel_gpu_power: Intel GPU idle/busy power measurement (rev3) Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2023-01-19  5:01 [igt-dev] [PATCH i-g-t] tools/intel_gpu_power: Intel GPU idle/busy power measurement Ashutosh Dixit
2023-01-19  3:43 Ashutosh Dixit

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=87ilh0vdz9.wl-ashutosh.dixit@intel.com \
    --to=ashutosh.dixit@intel.com \
    --cc=badal.nilawar@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=riana.tauro@intel.com \
    --cc=tvrtko.ursulin@linux.intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox