Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: Aggressively downclock Baytrail
Date: Thu, 3 Jul 2014 09:37:43 -0700	[thread overview]
Message-ID: <20140703093743.6dc87c7e@jbarnes-desktop> (raw)
In-Reply-To: <20140703155917.GB23812@nuc-i3427.alporthouse.com>

On Thu, 3 Jul 2014 16:59:17 +0100
Chris Wilson <chris@chris-wilson.co.uk> wrote:

> On Thu, Jul 03, 2014 at 08:49:22AM -0700, Jesse Barnes wrote:
> > On Thu,  3 Jul 2014 15:29:26 +0100
> > Chris Wilson <chris@chris-wilson.co.uk> wrote:
> > 
> > > Baytrail uses the RPS wait-boosting mechanism of Sandybridge+ but also has
> > > a very lax downclocking strategy (upclock if more than 90% busy over 76ms,
> > > downclock if less than 70% busy over 450ms). This causes Baytrail to use
> > > maximum clocks, and for them to stay high, when doing simple tasks such as
> > > scrolling through webpages. However, we can take a leaf out of the same
> > > wait-boost mechansim and apply the aggressive downclocking strategy from
> > > Sandybridge+ as well.
> > > 
> > > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > > ---
> > 
> > We really need a thorough test suite to cover stuff like this, mapping
> > frequency, power, and total energy over a big set of workloads to make
> > sure we're not adding big regressions.
> > 
> > I know you have the cairo traces, but did you also try this with a GL
> > benchmark suite?
> 
> glxgears went from max clocks to min clocks whilst hitting 60fps.
> 
> Note that you first have to disable the cmdparser to make the machine
> pleasant to use.
> 
> > I'm like the change (well you did mix in a cleanup to
> > set_rps_thresholds),
> 
> Actually, I left it replicated originally because they used different
> strategies at one point and keeping it separate eased experimentation.
> 
> The only thing that is missing is a comment to explain that I found I
> needed to rewrite the control register every time for the change in
> thresholds to take effect.
> 
> > I just want us to get better at collecting numbers
> > for this stuff...
> 
> It's not like we have pretty tools to overlay realtime GPU usage and
> bottlenecks...

Yeah I know we have nice tools, I'm just thinking of data over time so
we can see regressions easily etc.  The power stuff QA collects ought
to catch it, but I don't think we've done specific runs with turbo
changes recently; would be good to get Wendy to do that for this patch
and see what happens.

-- 
Jesse Barnes, Intel Open Source Technology Center

      reply	other threads:[~2014-07-03 16:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-03 14:29 [PATCH] drm/i915: Aggressively downclock Baytrail Chris Wilson
2014-07-03 15:49 ` Jesse Barnes
2014-07-03 15:59   ` Chris Wilson
2014-07-03 16:37     ` Jesse Barnes [this message]

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=20140703093743.6dc87c7e@jbarnes-desktop \
    --to=jbarnes@virtuousgeek.org \
    --cc=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox