[PATCH] intel: Add support for (possibly) unsynchronized maps.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 25 Feb 2012 12:00:07 +0100, Daniel Vetter <daniel at ffwll.ch> wrote:
> On Fri, Feb 24, 2012 at 07:53:22PM -0800, Eric Anholt wrote:
> > This improves the performance of Mesa's GL_MAP_UNSYNCHRONIZED_BIT path
> > in GL_ARB_map_buffer_range.  Improves Unigine Tropics performance at
> > 1024x768 by 2.06236% +/- 0.50272% (n=11).
> > ---
> 
> A few questions:
> - iirc Ben's non-blocking stuff also worked for non-llc machines - I guess
>   you haven't looked into this because we don't have a non-llc platform
>   that runs ungine?

I gave up on Ben's non-blocking stuff for being way too many patches all
smashed into one.  I wanted a simple fix that could be extended later if
other apps have other problems, while completely fixing this app (a
~21ms wait shortly after starting a new frame).

> - in my pwrite experience, writing through cpu maps beats writing through
>   the gtt on llc machines. This has the added benefit that it reduces
>   pressure on the mappable gtt. Have you tried that, too?

I haven't played with that, but it would be fun to at some point once we
get there.  Right now, the CPU overhead of the app isn't in this path.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120227/96d53912/attachment.pgp>


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux