From: Daniel Vetter Subject: Re: [PATCH 0/8] aliasing ppgtt support Date: Sat, 26 Nov 2011 17:20:40 +0100 Message-ID: <20111126162040.GB3996@phenom.ffwll.local> References: <1322314080-3151-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ww0-f43.google.com (mail-ww0-f43.google.com [74.125.82.43]) by gabe.freedesktop.org (Postfix) with ESMTP id B6F309E733 for ; Sat, 26 Nov 2011 08:19:21 -0800 (PST) Received: by wwo1 with SMTP id 1so6331954wwo.12 for ; Sat, 26 Nov 2011 08:19:20 -0800 (PST) Content-Disposition: inline In-Reply-To: <1322314080-3151-1-git-send-email-daniel.vetter@ffwll.ch> 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: intel-gfx@lists.freedesktop.org Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org On Sat, Nov 26, 2011 at 02:27:52PM +0100, Daniel Vetter wrote: > Hi all, > > This series implements ppgtt support that aliases the global gtt, i.e. ppgtt > address space is not managed independantly, yet, this only enables the hw > support. > > Do not ask why it took more than a month to beat this into shape. > > There are two reasons why 2-level ppgtt is actually faster than single level > global gtt: > a) The first ppgtt level is loaded into a special on-chip cache, eliminating the > load latency for it. > b) ppgtt ptes can be loaded with llc caching, see the ECOCHK register. Disabling > this removes any ppgtt related speedups. > > Speedups range up to 10-15%, especially on ivb the raw blitter throughput > increases quite a bit. Generally up to 5% for workloads resembling more random > access patterns. > > Patches apply on top of my my-next branch, but should apply anywhere safe for a > trivial conflict with the debugfs stuff. > > Reviews, test reports and flames highly welcome. Chris noted quite a few style issues on irc (that's what you get when a patch series gets mangled for more than a month ;-) Update patches pushed to my ppgtt branch. I'll resend the entire pile when I've written the lazy global gtt binding patches on top of this, doesn't look like much fuzz and should help quite a bit for bind/unbind heavy workloads. -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48