Skip to contentSkip to conversation

Performance regression running glamor with PutImage workload

Bug 105171 [email protected] 1 participant 4 messages Feb 20, 2018 – Feb 22, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=105171

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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 137456
--> https://bugs.freedesktop.org/attachment.cgi?id=137456&action=edit
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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Reviewed-by Marek Olšák
#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105171

--- Comment #2 from Clemens Eisserer <[email protected]> --- The commit causing this regression is:

8b3a257851905ff444d981e52938cbf2b36ba830 is the first bad commit commit 8b3a257851905ff444d981e52938cbf2b36ba830

Author: Marek Olšák <[email protected]>
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

: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
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 105171] performance regression (3x slower) running glamor with PutImage workload (radeonsi)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105171

Clemens Eisserer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         QA Contact|[email protected] |[email protected].
                   |.org                        |org
           Assignee|[email protected] |[email protected].
                   |.org                        |org
            Summary|Performance regression      |performance regression (3x
                   |running glamor with         |slower) running glamor with
                   |PutImage workload           |PutImage workload
                   |                            |(radeonsi)
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel