RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 710385 - Performance regression from non-surface to surface support driver
Summary: Performance regression from non-surface to surface support driver
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xorg-x11-drv-qxl
Version: 6.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Søren Sandmann Pedersen
QA Contact: Desktop QE
URL:
Whiteboard: [cat:performance]
: 738416 (view as bug list)
Depends On:
Blocks: 612566
TreeView+ depends on / blocked
 
Reported: 2011-06-03 09:39 UTC by Marian Krcmarik
Modified: 2018-11-28 21:10 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-08 04:47:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Output of x11perfcomp (23.60 KB, text/plain)
2011-06-03 09:44 UTC, Marian Krcmarik
no flags Details

Description Marian Krcmarik 2011-06-03 09:39:02 UTC
Description of problem:
Since subjectively I have a feeling that surface support did not bring expected performance improvement, moreover It seems to be worse than It was without surface support (subjective observation, not based on real data) I run bunch of artificial performance tests provided by x11perf tool. Even though those tests are artificial and do not measure final user experience from spice client point of view It's important from host point of view when many VMs running on the host regards to source consumption.
I run x11perf test in two cases:

1. Run RHEL6.1 guest on RHEL6.1 host (localhost) with xorg-x11-drv-qxl-0.0.12-2.1.el6_0.1 driver.
2. Run very same guest as in case 1, only one difference is the driver: 	xorg-x11-drv-qxl-0.0.12-9

In both cases nothing else was running on host, the same instance of qemu-kvm was used with only difference in qxl driver version.

Results output by x11perfcomp:
x11perf contains 369 tests, performance when using 0.0.12-9 was in comparison with 0.0.12-2.1.el6_0.1 in:
97 tests <1% of performance of 0.0.12-2.1.el6_0.1
90 tests 1-10%
54 tests 10-50%
60 tests 50-100%
68 >100%

Please consider those results especially those tests when performance of the latest driver is under 1% of the older one without surface support.
I rerun those test 3 times with similar results. Error of measurement when tests run on the same setup including the same qxl driver version was under 15%.

Version-Release number of selected component (if applicable):
spice-server-0.8.0-1
qemu-kvm-0.12.1.2-2.160
Guest, client, host: RHEL6.1

How reproducible:
Always

Comment 2 Marian Krcmarik 2011-06-03 09:44:46 UTC
Created attachment 502766 [details]
Output of x11perfcomp

Comment 7 Andrew Cathrow 2012-02-28 14:21:51 UTC
*** Bug 738416 has been marked as a duplicate of this bug. ***

Comment 9 David Jaša 2012-02-28 15:43:32 UTC
Another consideration: there was a patch to upstream QXL recently that enables image caching by default, making Spice performance way better with Linux guest. That patch should be included in the update as well.

Comment 10 Søren Sandmann Pedersen 2012-03-06 16:25:51 UTC
<kem> ok, PM said to go ahead with that plan -- add a comment to 710385 that this is fixed by adding the option to turn off surfaces, which was included in 799524, and then close 710385 as a dup of 799524

*** This bug has been marked as a duplicate of bug 799524 ***

Comment 11 Marian Krcmarik 2012-03-06 16:36:12 UTC
One would expects that the right way is to fix the issue and even get performance benefits from off-screen surfaces and not to disable it...
Well one may be wrong, This could be done months ago anyway.

Comment 12 David Jaša 2012-03-06 16:46:04 UTC
The pre-surface driver didn't support image cache either and performance of surface-enabled cache-less driver regressed compared to it. Therefore the root cause is somewhere else and closing this bug is the best way to make the it backfire on us later.

Reopening and un-marking as dupe based on reasons stated above.


Note You need to log in before you can comment on or make changes to this bug.