From: Eric Anholt Subject: Re: [PATCH] Revert "drm/i915: Kill GTT mappings when moving from GTT domain" Date: Sun, 19 Jun 2011 10:01:23 -0700 Message-ID: <87y60xpxgc.fsf@eliezer.anholt.net> References: <1308094989-3153-1-git-send-email-eric@anholt.net> <87tybrcet0.fsf@eliezer.anholt.net> <87mxhg5lbl.fsf@eliezer.anholt.net> <87liwyao3u.fsf@eliezer.anholt.net> <013811$h7gjb@fmsmga002.fm.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1332553387==" Return-path: In-Reply-To: <013811$h7gjb@fmsmga002.fm.intel.com> 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: Chris Wilson , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1332553387== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Sun, 19 Jun 2011 17:28:11 +0100, Chris Wilson = wrote: > On Sat, 18 Jun 2011 13:20:05 -0700, Eric Anholt wrote: > > On Sat, 18 Jun 2011 12:43:58 +0100, Chris Wilson wrote: > > > On Fri, 17 Jun 2011 12:06:54 -0700, Eric Anholt wro= te: > > > > On Wed, 15 Jun 2011 17:03:58 +0100, Chris Wilson wrote: > > > > > Moving back to LLC+semaphores (2.6.39-rc2+), firefox-talos-gfx: > > > > > xlib: 4.473 > > > > > gl: 20.753 > > > > >=20 > > > > > applying the patch: > > > > > xlib: 4.472 > > > > > gl: 20.824 > > > > >=20 > > > > > I'm just not reproducing the same issue you are seeing. Are you u= sing a > > > > > standard distro Kconfig, or if not, can you send me yours? > > > > > -Chris > > > >=20 > > > > http://people.freedesktop.org/~anholt/dotconfig > > > >=20 > > > > Pushed my kernel tree to "gtt-revert" branch. > > >=20 > > > Thanks, I'm testing with those on my SNB desktop, still only see arou= nd > > > a 5% hit for firefox-talos-gfx. > >=20 > > GTT mappings are important. They're how textures are uploaded in GL in > > general. >=20 > For lack of a better mechanism. Even using anholt/gtt-revert, I question > the value of caching the GTT mapping in drm_intel_bo. For the cairo-gl and > pts benchmarks I've run, the efficacy of the cached vma is very small and > there is a very slight improvement by unmapping the vma after use. (The > difference is so small, that it will take a lot more runs to determine if > it is statistically significant.) I'm confused. You've measured a 5% impact from removing this part of the caching, and I've measured 12-19%, so what are you planning that doesn't involve caching the mapping that's faster than caching the mapping? > > One of the longstanding things I've wanted to do for GL > > applications that repeatedly allocate new texture images is to userland > > BO cache those objects, which we don't do because of tiling. >=20 > I'm failing to see the difference between this cache and a slightly > smarter (i.e. one that preferentially returns an object with appropriate > tiling and busy status) libdrm_intel cache. I was talking about it being in libdrm_intel, sorry if that was unclear. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk3+K2MACgkQHUdvYGzw6veEJACgkCbJRttN1jxLuh7K+gi0kntR j7YAniBGiiPgSHnhLhhGKThNIvVASXh8 =H9Dc -----END PGP SIGNATURE----- --=-=-=-- --===============1332553387== 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 --===============1332553387==--