Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Hack to avoid C-state reduction during graphics activity.
@ 2010-11-01 20:23 Eric Anholt
  2010-11-01 20:23 ` [PATCH 1/4] sched: Export io_schedule_timeout() Eric Anholt
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Eric Anholt @ 2010-11-01 20:23 UTC (permalink / raw)
  To: intel-gfx

This is a series I came up with as a result of KS discussions.  The
plan was to pin the CPU C state to keep the GPU going as fast as
possible while it was active, since there's some relation between the
two (we don't know for sure yet, per chipset, whether it's due to
latency of DMA writes having to bring CPU state up, or reduced memory
bandwidth due to bus frequency reduction, or other).  The actual patch
series doesn't achieve that -- a hint is provided to the scheduler and
cpufreq/cpuidle, which may choose not to sleep as deeply as it would
otherwise.

I found a 1% performance difference in nexuiz on my Ironlake system
from the last patch in this series (HEAD~1 didn't have a statistically
significant effect).  If that's all the difference, I'll drop this.
It may pay off higher for non-Ironlake, in which case I'll work on a
"proper" solution of actually clamping C-states while graphics is
active.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-11-02 20:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-01 20:23 [RFC] Hack to avoid C-state reduction during graphics activity Eric Anholt
2010-11-01 20:23 ` [PATCH 1/4] sched: Export io_schedule_timeout() Eric Anholt
2010-11-01 20:23 ` [PATCH 2/4] Add io_ variants of wait_event() and wait_event_interruptible() Eric Anholt
2010-11-01 20:23 ` [PATCH 3/4] drm/i915: Declare waits on GPU as io waits, to reduce C-state reduction Eric Anholt
2010-11-01 20:23 ` [PATCH 4/4] cpuidle: Hack iowait weighting to avoid C-state reduction for graphics Eric Anholt
2010-11-02 12:20   ` [Intel-gfx] " ykzhao
2010-11-02 15:42     ` Eric Anholt
2010-11-02 20:00       ` [Intel-gfx] " Alexey Fisher
2010-11-02 20:44         ` Chris Wilson
2010-11-01 21:00 ` [RFC] Hack to avoid C-state reduction during graphics activity Andrew Lutomirski
2010-11-01 21:43   ` Eric Anholt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox