From: Ben Widawsky Subject: [PATCH 1/6] RFCish: write only mappings (aka non-blocking) Date: Mon, 19 Sep 2011 21:25:00 -0700 Message-ID: <1316492706-31081-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cloud01.chad-versace.us (184-106-247-128.static.cloud-ips.com [184.106.247.128]) by gabe.freedesktop.org (Postfix) with ESMTP id 74BA0A0223 for ; Mon, 19 Sep 2011 21:24:56 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by cloud01.chad-versace.us (Postfix) with ESMTP id 053591D42C8 for ; Tue, 20 Sep 2011 04:28:30 +0000 (UTC) Received: from cloud01.chad-versace.us ([127.0.0.1]) by localhost (cloud01.static.cloud-ips.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4K9ocJ8vTQKb for ; Tue, 20 Sep 2011 04:28:24 +0000 (UTC) Received: from localhost.localdomain (static-50-53-41-91.bvtn.or.frontiernet.net [50.53.41.91]) by cloud01.chad-versace.us (Postfix) with ESMTPSA id D45001D4088 for ; Tue, 20 Sep 2011 04:28:23 +0000 (UTC) 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 List-Id: intel-gfx@lists.freedesktop.org I'm going to keep this short... Patch 5 is my test case. On Gen6 I see slightly better performance. On Gen5 I see really really improvements (like 3x) for non GTT write only maps over regular mmaps. GTT mappings don't really show any improvements as a whole. Better tests would be nice, but without more significant Mesa changes, or better benchmarks, I'm not sure how to get those. While I think these patches are mostly complete, ideas for better testing are very welcome. Also of course, general optimizations or pointing out my errors would be nice.