From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Peter Clifton <pcjc2@cam.ac.uk>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: FPS performance increase when deliberately spinning the CPU with an unrelated task
Date: Mon, 25 Oct 2010 13:11:24 -0700 [thread overview]
Message-ID: <20101025131124.37d21684@jbarnes-desktop> (raw)
In-Reply-To: <1287835355.2578.26.camel@pcjc2lap>
On Sat, 23 Oct 2010 13:02:35 +0100
Peter Clifton <pcjc2@cam.ac.uk> wrote:
> I think Keith was thinking that there are some parts of the chipset
> which are shared between the GPU and CPU (memory controllers?), and the
> CPU entering a lower frequency state could have a detrimental effect on
> the graphics throughput.
>
> I know in heavy workloads the CPU is likely to be "a bit" busy, and
> rendering will not be totally GPU bound, but it would seem like it is
> eventually necessary to have some hook to bump the CPU frequency (or
> chipset frequency?) when the GPU would make beneficial use of the extra
> throughput.
>
> This doesn't make sense if it is banging out 100fps, but for my stuff,
> the GPU is struggling to make 5fps for some complex circuit boards. I'm
> trying to address that from a geometry / rendering complexity point of
> view, but also, I'd love to see my laptop being able to get the best out
> of its hardware.
>
> Perhaps we need to account for periods when the CPU has tasks idle
> waiting for GPU operations which would be sped up by increasing some
> chip power state.
>
> I'm probably not up to coding this all, but if the idea sounds feasible,
> I'd love to know, so I might be able to have a tinker with it.
There are some bits in the GMCH to control memory behavior during CPU
C-states. Can you dump the 16 bits at MCHBAR address 0xf08? You
should be able to do that by doing I915_READ16(MCHBAR_MIRROR_BASE +
0xf08). Assuming bits 3:2 and 1:0 are nonzero, it may help to set them
all to 0. That will disable several memory related power saving
features while the CPU is in a deep sleep state.
--
Jesse Barnes, Intel Open Source Technology Center
next prev parent reply other threads:[~2010-10-25 20:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-23 12:02 FPS performance increase when deliberately spinning the CPU with an unrelated task Peter Clifton
2010-10-25 20:11 ` Jesse Barnes [this message]
2010-10-25 20:20 ` Jesse Barnes
2010-10-26 0:14 ` Peter Clifton
2010-10-26 0:26 ` Jesse Barnes
2010-10-25 20:14 ` Eric Anholt
2010-10-26 19:34 ` Peter Clifton
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=20101025131124.37d21684@jbarnes-desktop \
--to=jbarnes@virtuousgeek.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=pcjc2@cam.ac.uk \
/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