Mir Gets Fixed From Serious Performance Issues

Written by Michael Larabel in Ubuntu on 25 October 2013 at 09:35 AM EDT. 1 Comment
UBUNTU
While Mir is big onto integrated testing and was designed from the ground-up this way, performance regressions slipping into the code-base doesn't appear to be incredibly uncommon. Just days after Mir receiving an important performance rendering fix, another commit to Canonical's display server sets out to "fix significant performance issues" with the code-base.

Revision 1156 of Mir sets to take care of mir_demo_client_scroll is no longer smooth; stutters and Modifying mc::BufferStreamFactory ::create_buffer_stream to use double instead of triple buffering results in clients being throttled to 30 FPS, among other likely open bugs.

The performance fix in this case was reverting a code commit from early September. A commit in September (Revision 1049) changed the compositor so that there's always one buffer to return without blocking or throwing an exception, but that one buffer is always kept in reserve for compositing. This "fix" commit of reverting the earlier code also expands upon their switching bundle unit test to ensure the regression doesn't happen again in the future.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week