Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Increased latency from removal of GEM_THROTTLE in 2D driver
@ 2010-11-06  1:44 Peter Clifton
  2010-11-06  9:14 ` Chris Wilson
  2010-11-08  7:37 ` Eric Anholt
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Clifton @ 2010-11-06  1:44 UTC (permalink / raw)
  To: intel-gfx@lists.freedesktop.org, Eric Anholt

I've been playing with my app again, and whilst it seems a tiny bit
faster in benchmarks, since the 2D driver change:

commit 8ff37667bf864b771d16a58fc5041cb48408b6a8
Author: Eric Anholt <eric@anholt.net>
Date:   Tue Nov 2 10:36:03 2010 -0700

    Remove the intermittent GEM_THROTTLE call.


I've noticed the latency / interactivity is WAY down, and I've also had
intermittent GPU hangs whilst benchmarking which I'd never seen before. 

It might be unrelated (as I'm running a back-ported drm-intel-next, and
just pulled it up to date), but for a quick check, I just reverted to a
previous 2D driver just prior to the above commit, and interactivity has
improved a lot (I don't have a number for it, just from testing).

Presumably this says something bad about my app, or its benchmarking
code. Any clues as to what that is?

Without the commit, I can use other X11 apps whilst my PCB program is
benchmarking. With it, the X11 server graphics almost completely freeze
up.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)

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

* Re: Increased latency from removal of GEM_THROTTLE in 2D driver
  2010-11-06  1:44 Increased latency from removal of GEM_THROTTLE in 2D driver Peter Clifton
@ 2010-11-06  9:14 ` Chris Wilson
  2010-11-08  7:37 ` Eric Anholt
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Wilson @ 2010-11-06  9:14 UTC (permalink / raw)
  To: Peter Clifton, intel-gfx, Eric Anholt

On Sat, 06 Nov 2010 01:44:59 +0000, Peter Clifton <pcjc2@cam.ac.uk> wrote:
> Presumably this says something bad about my app, or its benchmarking
> code. Any clues as to what that is?
> 
> Without the commit, I can use other X11 apps whilst my PCB program is
> benchmarking. With it, the X11 server graphics almost completely freeze
> up.

Do you get a similar effect with the THROTTLE in the ddx and a recent
kernel (2.6.37-rc1 or drm-intel-next)? Those kernels should only penalize
the caller of THROTTLE and so X should not end up blocking your app.

I can feel a new tracepoint coming: throttle-begin, throttle-end.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

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

* Re: Increased latency from removal of GEM_THROTTLE in 2D driver
  2010-11-06  1:44 Increased latency from removal of GEM_THROTTLE in 2D driver Peter Clifton
  2010-11-06  9:14 ` Chris Wilson
@ 2010-11-08  7:37 ` Eric Anholt
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Anholt @ 2010-11-08  7:37 UTC (permalink / raw)
  To: Peter Clifton, intel-gfx@lists.freedesktop.org


[-- Attachment #1.1: Type: text/plain, Size: 1272 bytes --]

On Sat, 06 Nov 2010 01:44:59 +0000, Peter Clifton <pcjc2@cam.ac.uk> wrote:
> I've been playing with my app again, and whilst it seems a tiny bit
> faster in benchmarks, since the 2D driver change:
> 
> commit 8ff37667bf864b771d16a58fc5041cb48408b6a8
> Author: Eric Anholt <eric@anholt.net>
> Date:   Tue Nov 2 10:36:03 2010 -0700
> 
>     Remove the intermittent GEM_THROTTLE call.
> 
> 
> I've noticed the latency / interactivity is WAY down, and I've also had
> intermittent GPU hangs whilst benchmarking which I'd never seen before. 
> 
> It might be unrelated (as I'm running a back-ported drm-intel-next, and
> just pulled it up to date), but for a quick check, I just reverted to a
> previous 2D driver just prior to the above commit, and interactivity has
> improved a lot (I don't have a number for it, just from testing).
> 
> Presumably this says something bad about my app, or its benchmarking
> code. Any clues as to what that is?
> 
> Without the commit, I can use other X11 apps whilst my PCB program is
> benchmarking. With it, the X11 server graphics almost completely freeze
> up.

I'm seeing this too, with vblank_mode=0 and various apps.  Something
appears to be broken with the swapbuffers waits in the GL driver,
perhaps.

[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2010-11-08  7:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-06  1:44 Increased latency from removal of GEM_THROTTLE in 2D driver Peter Clifton
2010-11-06  9:14 ` Chris Wilson
2010-11-08  7:37 ` Eric Anholt

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