From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH] intel: Stop using sized buckets for the BO cache. Date: Mon, 07 Jun 2010 14:15:53 +0100 Message-ID: <89khjo$fkarmn@orsmga002.jf.intel.com> References: <1275893579-20155-1-git-send-email-eric@anholt.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 83CA49E764 for ; Mon, 7 Jun 2010 06:15:56 -0700 (PDT) In-Reply-To: <1275893579-20155-1-git-send-email-eric@anholt.net> 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: Eric Anholt , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Sun, 6 Jun 2010 23:52:59 -0700, Eric Anholt wrote: > This is the patch I'm testing on my desktop currently to deal with the > couple of reports we've had recently of our overallocation for the BO > cache seriously hurting some interesting workloads (HD video playback > and UrbanTerror on gen3). I'd love to see some reports from more than > just me, and especially some performance numbers on CPU-bound apps if > anyone can come up with some, since I'm having a hard time getting > stable numbers out of my system right now. Some numbers from cairo-perf-trace on i945 and g45: old: pot-buckets new: nonpot-buckets Speedups ======== gl-g45 swfdec-giant-steps 2240.42 (2535.87 5.91%) -> 2049.88 (2541.73 10.49%): 1.09x speedup [This seems to be within the margin of error for the measurement, so is not significant.] Slowdowns ========= xlib-g45 swfdec-giant-steps 2194.40 (2202.42 2.05%) -> 2305.49 (2322.09 2.36%): 1.05x slowdown xlib-i945 firefox-planet-gnome 45345.45 (45439.72 0.38%) -> 47691.74 (47702.83 0.13%): 1.05x slowdown xlib-g45 firefox-talos-svg 40301.31 (40428.13 0.57%) -> 42592.23 (42619.36 0.31%): 1.06x slowdown gl-g45 poppler 10355.56 (10373.69 0.89%) -> 10989.65 (11188.48 1.27%): 1.06x slowdown xlib-i945 swfdec-giant-steps 8656.30 (8657.33 0.80%) -> 9443.07 (9471.56 0.41%): 1.09x slowdown gl-g45 xfce4-terminal-a1 4039.91 (4329.24 8.63%) -> 4417.84 (4599.02 5.40%): 1.09x slowdown xlib-g45 gnome-terminal-vim 28238.96 (28313.46 0.19%) -> 33882.79 (33913.10 0.23%): 1.20x slowdown gl-g45 firefox-planet-gnome 20323.68 (20538.31 2.18%) -> 24902.90 (25221.52 1.50%): 1.23x slowdown xlib-g45 poppler 8865.63 (8889.82 0.52%) -> 10942.57 (10972.90 0.47%): 1.23x slowdown Even with -fno-omit-frame-pointer, perf is not providing usuable insights into the difference on the 64bit g45 system. -ickle -- Chris Wilson, Intel Open Source Technology Centre