From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Richter Subject: Re: Performance drop on XDrawRectangles() Date: Wed, 08 Jan 2014 18:49:40 +0100 Message-ID: <52CD8FB4.9030806@rus.uni-stuttgart.de> References: <52CD7580.8040106@rus.uni-stuttgart.de> <20140108171047.GB27406@nuc-i3427.alporthouse.com> Reply-To: richter@rus.uni-stuttgart.de Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from charybdis.rus.uni-stuttgart.de (charybdis.rus.uni-stuttgart.de [129.69.192.2]) by gabe.freedesktop.org (Postfix) with ESMTP id 7265CFAA27 for ; Wed, 8 Jan 2014 09:49:45 -0800 (PST) In-Reply-To: <20140108171047.GB27406@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Chris Wilson , Daniel Vetter , intel-gfx List-Id: intel-gfx@lists.freedesktop.org On 01/08/2014 06:10 PM, Chris Wilson wrote: > On Wed, Jan 08, 2014 at 04:57:52PM +0100, Thomas Richter wrote: >> Hi folks, >> >> during the changes from 3.12rc7 to 3.13rc4, the performance of >> XDrawRectangles() dropped considerably. Interestingly, it is not the >> raw rectangles drawing operations that are slow, but it seems that >> the "per-call" overhead has increased by one magnitude. In specific, >> if you use the unmodified "x11pref" program: >> > > Just to be clear: new = 3.13-rc4, old = 3.12-rc7 ? Yes, exactly. > I've taken a quick look at this on an ivb i7-3270qm, and see a 296kops/s > to 248kops/s decrease. Not massive, and considering the difference in > our hardware probably a distinct issue. Well, note that a 1Ghz P-III / i830M is not an i7-3270qm. (-; Did you made the changes in x11perf as I did? The bottleneck is not in the actual rectangle rendering, it is somewhere in the call-path from the application down to the hardware, i.e. the per-call overhead increased by a factor of eight. Kernel configuration is identical, as much as I could arrange it. X11 and higher level libraries are all identical, I only changed the kernel. Greetings, Thomas