From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [PATCH] intel: Add support for (possibly) unsynchronized maps. Date: Mon, 27 Feb 2012 11:05:32 -0800 Message-ID: <87haycjdvn.fsf@eliezer.anholt.net> References: <1330142003-570-1-git-send-email-eric@anholt.net> <20120225110007.GA4222@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1902696087==" Return-path: In-Reply-To: <20120225110007.GA4222@phenom.ffwll.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Daniel Vetter Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1902696087== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Sat, 25 Feb 2012 12:00:07 +0100, Daniel Vetter 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=3D11). > > --- >=20 > 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. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk9L0/wACgkQHUdvYGzw6vdSCwCfU4hEliVlVmb9VrsR9Q9TDpNb C0AAoIEE767C7Bs8stwd6ar63L612lns =AZXK -----END PGP SIGNATURE----- --=-=-=-- --===============1902696087== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1902696087==--