Xmir client performance is lower with swap interval 0 than with 1

Bug #1546401 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Invalid
Medium
Daniel van Vugt

Bug Description

Xmir client performance is lower with swap interval 0 than with 1. Kind of the opposite of what you might expect:

$ Xmir --desktop_file_hint=unity8 -sw &
$ glxgears
13339 frames in 5.0 seconds = 2667.750 FPS
13619 frames in 5.0 seconds = 2723.752 FPS
13653 frames in 5.0 seconds = 2730.425 FPS

$ env MIR_CLIENT_FORCE_SWAP_INTERVAL=0 Xmir --desktop_file_hint=unity8 -sw
$ glxgears
3092 frames in 5.0 seconds = 618.255 FPS
3185 frames in 5.0 seconds = 636.933 FPS
3014 frames in 5.0 seconds = 602.666 FPS

Changed in xorg-server (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in xorg-server (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

See also bug 1511278

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Silly me. That's probably correct. By making the Xmir process super-busy with interval 0, the X client will get less CPU and GPU time.

Changed in xorg-server (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.