From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105171] Performance regression running glamor with PutImage workload Date: Tue, 20 Feb 2018 08:40:08 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1351833454==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id B7E376E38D for ; Tue, 20 Feb 2018 08:40:10 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1351833454== Content-Type: multipart/alternative; boundary="15191160100.D88E0.4746" Content-Transfer-Encoding: 7bit --15191160100.D88E0.4746 Date: Tue, 20 Feb 2018 08:40:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105171 Bug ID: 105171 Summary: Performance regression running glamor with PutImage workload Product: Mesa Version: 17.3 Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: linuxhippy@gmail.com QA Contact: dri-devel@lists.freedesktop.org Created attachment 137456 --> https://bugs.freedesktop.org/attachment.cgi?id=3D137456&action=3Dedit test case After updating Fedora from mesa-17.2.4 to 17.3.5 I noticed throughput in XPutImage/XShmPutImage based workloads dropped significantly. I'd noticed this before with a self-compiled version of mesa-18.0-rc, but thought this had something to do with the chosen compile flags. One test went from 40fps to 15fps (very small XPutImage requests immideatly followed by XRenderComposite), while other degraded by about 30%. System details: * AMD Kaveri 7650k * 4k + FullHD displays * linux 4.15.3 * radeon kernel driver How to test: Run the attached java program and enable the "antialising" checkbox: java -jar JGears2.jar --=20 You are receiving this mail because: You are the assignee for the bug.= --15191160100.D88E0.4746 Date: Tue, 20 Feb 2018 08:40:10 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 105171
Summary Performance regression running glamor with PutImage workload
Product Mesa
Version 17.3
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter linuxhippy@gmail.com
QA Contact dri-devel@lists.freedesktop.org

Created attachment 137456 [deta=
ils]
test case

After updating Fedora from mesa-17.2.4 to 17.3.5 I noticed throughput in
XPutImage/XShmPutImage based workloads dropped significantly.

I'd noticed this before with a self-compiled version of mesa-18.0-rc, but
thought this had something to do with the chosen compile flags.

One test went from 40fps to 15fps (very small XPutImage requests immideatly
followed by XRenderComposite), while other degraded by about 30%.

System details:
* AMD Kaveri 7650k
* 4k + FullHD displays
* linux 4.15.3
* radeon kernel driver


How to test:
Run the attached java program and enable the "antialising" checkb=
ox:
java -jar JGears2.jar


You are receiving this mail because:
  • You are the assignee for the bug.
= --15191160100.D88E0.4746-- --===============1351833454== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1351833454==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105171] Performance regression running glamor with PutImage workload Date: Tue, 20 Feb 2018 09:28:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1676605500==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 201536E062 for ; Tue, 20 Feb 2018 09:28:14 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1676605500== Content-Type: multipart/alternative; boundary="15191188940.A7FBE33B.12869" Content-Transfer-Encoding: 7bit --15191188940.A7FBE33B.12869 Date: Tue, 20 Feb 2018 09:28:14 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105171 --- Comment #1 from Clemens Eisserer --- currently bisecting... --=20 You are receiving this mail because: You are the assignee for the bug.= --15191188940.A7FBE33B.12869 Date: Tue, 20 Feb 2018 09:28:14 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 1 on bug 10517= 1 from Clemens Eisserer
currently bisecting...


You are receiving this mail because:
  • You are the assignee for the bug.
= --15191188940.A7FBE33B.12869-- --===============1676605500== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1676605500==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105171] Performance regression running glamor with PutImage workload Date: Tue, 20 Feb 2018 10:12:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1378063057==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 97488896B5 for ; Tue, 20 Feb 2018 10:12:04 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1378063057== Content-Type: multipart/alternative; boundary="15191215240.F0B04B.22630" Content-Transfer-Encoding: 7bit --15191215240.F0B04B.22630 Date: Tue, 20 Feb 2018 10:12:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105171 --- Comment #2 from Clemens Eisserer --- The commit causing this regression is: 8b3a257851905ff444d981e52938cbf2b36ba830 is the first bad commit commit 8b3a257851905ff444d981e52938cbf2b36ba830 Author: Marek Ol=C5=A1=C3=A1k Date: Tue Jul 18 16:08:44 2017 -0400 radeonsi: set a per-buffer flag that disables inter-process sharing (v4) For lower overhead in the CS ioctl. Winsys allocators are not used with interprocess-sharable resources. v2: It shouldn't crash anymore, but the kernel will reject the new flag. v3 (christian): Rename the flag, avoid sending those buffers in the BO list. v4 (christian): Remove setting the kernel flag for now Reviewed-by: Marek Ol=C5=A1=C3=A1k :040000 040000 b775b6b0ea5b971d2165a644ea8912c120f54431 2e4b2737f37ede2bbdbbe6815fe0fa562177c2b7 M src x11per -putimage10 regressed from 75 kOps/s to 22 kOps/s after this patch running Xephyr with vblank disabled. before: 400000 reps @ 0.0130 msec ( 77000.0/sec): PutImage 10x10 square after: 120000 reps @ 0.0457 msec ( 21900.0/sec): PutImage 10x10 square --=20 You are receiving this mail because: You are the assignee for the bug.= --15191215240.F0B04B.22630 Date: Tue, 20 Feb 2018 10:12:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 2 on bug 10517= 1 from Clemens Eisserer
The commit causing this regression is:

8b3a257851905ff444d981e52938cbf2b36ba830 is the first bad commit
commit 8b3a257851905ff444d981e52938cbf2b36ba830
Author: Marek Ol=C5=A1=C3=A1k <marek.olsak@amd.com>
Date:   Tue Jul 18 16:08:44 2017 -0400

    radeonsi: set a per-buffer flag that disables inter-process sharing (v4)

    For lower overhead in the CS ioctl.
    Winsys allocators are not used with interprocess-sharable resources.

    v2: It shouldn't crash anymore, but the kernel will reject the new flag.
    v3 (christian): Rename the flag, avoid sending those buffers in the BO
list.
    v4 (christian): Remove setting the kernel flag for now

    Reviewed-by: Marek Ol=C5=A1=C3=A1k <marek.olsak@amd.com>

:040000 040000 b775b6b0ea5b971d2165a644ea8912c120f54431
2e4b2737f37ede2bbdbbe6815fe0fa562177c2b7 M      src



x11per -putimage10 regressed from 75 kOps/s to 22 kOps/s after this patch
running Xephyr with vblank disabled.

before:
     400000 reps @   0.0130 msec ( 77000.0/sec): PutImage 10x10 square

after:
     120000 reps @   0.0457 msec ( 21900.0/sec): PutImage 10x10 square<=
/pre>
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --15191215240.F0B04B.22630-- --===============1378063057== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1378063057==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105171] performance regression (3x slower) running glamor with PutImage workload (radeonsi) Date: Thu, 22 Feb 2018 11:15:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0386752823==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 50DDE6ED38 for ; Thu, 22 Feb 2018 11:15:16 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0386752823== Content-Type: multipart/alternative; boundary="15192981160.d22Fb68.25398" Content-Transfer-Encoding: 7bit --15192981160.d22Fb68.25398 Date: Thu, 22 Feb 2018 11:15:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105171 Clemens Eisserer changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Summary|Performance regression |performance regression (3x |running glamor with |slower) running glamor with |PutImage workload |PutImage workload | |(radeonsi) --=20 You are receiving this mail because: You are the assignee for the bug.= --15192981160.d22Fb68.25398 Date: Thu, 22 Feb 2018 11:15:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Clemens Eisserer changed bug 10517= 1
What Removed Added
QA Contact dri-devel@lists.freedesktop.org mesa-dev@lists.freedesktop.org
Assignee dri-devel@lists.freedesktop.org mesa-dev@lists.freedesktop.org
Summary Performance regression running glamor with PutImage workload performance regression (3x slower) running glamor with PutIm= age workload (radeonsi)


You are receiving this mail because:
  • You are the assignee for the bug.
= --15192981160.d22Fb68.25398-- --===============0386752823== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0386752823==--